Skip to content

chore: upgrade base image of core to v2.11.2#3218

Merged
j-zimnowoda merged 13 commits into
mainfrom
ci-upgrade-core-image
May 8, 2026
Merged

chore: upgrade base image of core to v2.11.2#3218
j-zimnowoda merged 13 commits into
mainfrom
ci-upgrade-core-image

Conversation

@merll
Copy link
Copy Markdown
Collaborator

@merll merll commented May 7, 2026

📌 Summary

This PR upgrades the base image that is used to build Core, and some binary references used for Gitea application backup. The base image is created using Ubuntu 26 (upgrade from 24), and utility binaries (e.g. Git, Kubectl, Helm, Helmfile etc) were upgraded to more recent versions, either matching the versions used in other places of the charts (e.g. Tekton, ArgoCD) or to the latest minor version.

🔍 Reviewer Notes

🧹 Checklist

  • Code is readable, maintainable, and robust.
  • Unit tests added/updated

@merll merll requested review from Ani1357 and j-zimnowoda as code owners May 7, 2026 13:46
@svcAPLBot
Copy link
Copy Markdown
Contributor

Comparison of Helm chart templating output:

# raw/templates/resources.yaml

@@ spec.jobTemplate.spec.template.spec.containers.kubectl.command @@
# batch/v1/CronJob/gitea-backup-job
! - one list entry removed:
- - |
-   echo 'Verifying Rclone...' && ( test ! -f '/backup/.bin/rclone' || echo 'b98a32f87cc1d0ac292829d12de45d1e827fd0a3f480d4b5a5242f1af0ecbc48e6ef6901c98f22289c77571adb4ee79e09af28750f031e8b038f55eeea40f910  /backup/.bin/rclone' | sha512sum -c - || rm '/backup/.bin/rclone' ) && if [ ! -f '/backup/.bin/rclone' ]; then
-     echo 'Installing RClone...' &&
-     mkdir -p /backup/.bin &&
-     cd /backup/.bin &&
-     curl -fsSL -o rclone.zip https://github.com/rclone/rclone/releases/download/v1.70.3/rclone-v1.70.3-linux-amd64.zip &&
-     echo '472165c3989671f4163242c67cdb9da4c3d3e4548cd1222015f552d6d2fda1cbd616b133ec45e78d8efb088368e18cc314bfeea764e253b6a5d6a693d67a11ef  rclone.zip' | sha512sum -c - &&
-     unzip -oj rclone.zip &&
-     echo 'b98a32f87cc1d0ac292829d12de45d1e827fd0a3f480d4b5a5242f1af0ecbc48e6ef6901c98f22289c77571adb4ee79e09af28750f031e8b038f55eeea40f910  rclone' | sha512sum -c -
-   fi && cd /backup && echo 'Creating backup...' && gitea dump --type tar.bz2 && echo 'Uploading to object storage...' && .bin/rclone copy --exclude '\.*/**' /backup gitea:/$BUCKET_NAME && echo 'Removing old backups from object storage...' && .bin/rclone delete --min-age '7d' --exclude '\.*/**' gitea:/$BUCKET_NAME && echo 'Cleaning up local backups...' && find . -type f -iname '*.tar.bz2' -ctime +1 -delete
! + one list entry added:
+ - |
+   echo 'Verifying Rclone...' && ( test ! -f '/backup/.bin/rclone' || echo '58e35e0324769c1cb3df37f22086eefe8fb025990232f00e4b8548f15b749096e8c241fb572a7d89861b4ce7534b63a0f58b71b3663a5ee3bda6db5fb9bf440d  /backup/.bin/rclone' | sha512sum -c - || rm '/backup/.bin/rclone' ) && if [ ! -f '/backup/.bin/rclone' ]; then
+     echo 'Installing RClone...' &&
+     mkdir -p /backup/.bin &&
+     cd /backup/.bin &&
+     curl -fsSL -o rclone.zip https://github.com/rclone/rclone/releases/download/v1.74.0/rclone-v1.74.0-linux-amd64.zip &&
+     echo '4f73acc20e38773cc9c56639f405c775b4e6fca87127dae498a3f1cb032a896c106512f5ca1f5c48e6a9ac6f3e94ebeb0f130fff69e9260050da5beabe1ab1f6  rclone.zip' | sha512sum -c - &&
+     unzip -oj rclone.zip &&
+     echo '58e35e0324769c1cb3df37f22086eefe8fb025990232f00e4b8548f15b749096e8c241fb572a7d89861b4ce7534b63a0f58b71b3663a5ee3bda6db5fb9bf440d  rclone' | sha512sum -c -
+   fi && cd /backup && echo 'Creating backup...' && gitea dump --type tar.bz2 && echo 'Uploading to object storage...' && .bin/rclone copy --exclude '\.*/**' /backup gitea:/$BUCKET_NAME && echo 'Removing old backups from object storage...' && .bin/rclone delete --min-age '7d' --exclude '\.*/**' gitea:/$BUCKET_NAME && echo 'Cleaning up local backups...' && find . -type f -iname '*.tar.bz2' -ctime +1 -delete

@@ spec.jobTemplate.spec.template.spec.containers.kubectl.image @@
# batch/v1/CronJob/gitea-backup-job
! ± value change
- registry.k8s.io/kubectl:v1.33.3
+ registry.k8s.io/kubectl:v1.35.4

# rabbitmq-cluster-operator/templates/messaging-topology-operator/validating-webhook-configuration.yaml

# values-repo.yaml

Copy link
Copy Markdown
Contributor

@j-zimnowoda j-zimnowoda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed that the artifacts exists.

@j-zimnowoda j-zimnowoda merged commit 91e7cb2 into main May 8, 2026
14 checks passed
@j-zimnowoda j-zimnowoda deleted the ci-upgrade-core-image branch May 8, 2026 11:27
@merll merll mentioned this pull request May 11, 2026
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants