Skip to content

Change project-backup image from ubi10 to ubi9#1610

Open
dkwon17 wants to merge 1 commit intodevfile:mainfrom
dkwon17:crw-10033-rhel9-project-backup
Open

Change project-backup image from ubi10 to ubi9#1610
dkwon17 wants to merge 1 commit intodevfile:mainfrom
dkwon17:crw-10033-rhel9-project-backup

Conversation

@dkwon17
Copy link
Copy Markdown
Collaborator

@dkwon17 dkwon17 commented Apr 7, 2026

What does this PR do?

Changes the base image for the project-backup image from ubi10 to ubi9 in order to align with the downstream project-backup image: https://catalog.redhat.com/en/software/containers/devworkspace/devworkspace-project-backup-rhel9/696e8281133dac5cafd0e594

What issues does this PR fix or reference?

https://redhat.atlassian.net/jira/software/c/projects/CRW/issues/?selectedIssue=CRW-10033&jql=project%20%3D%20CRW%20ORDER%20BY%20created%20DESC

Is it tested? How?

Build the image, and deploy:

export PROJECT_BACKUP_IMG=quay.io/yourrepo/project-backup:prerelease
podman build -t "$PROJECT_BACKUP_IMG" -f ./project-backup/Containerfile ./project-backup/
make docker
make install

Verify that build is successful.

Next, enable the backup cron job, and verify that non-ephemeral workspaces are successfully being backed up. See https://eclipse.dev/che/docs/stable/administration-guide/devworkspace-backup-integrated-openshift-registry/ for docs on how to enable backups.

PR Checklist

  • E2E tests pass (when PR is ready, comment /test v8-devworkspace-operator-e2e, v8-che-happy-path to trigger)
    • v8-devworkspace-operator-e2e: DevWorkspace e2e test
    • v8-che-happy-path: Happy path for verification integration with Che

Summary by CodeRabbit

Release Notes

  • Chores
    • Updated the container base image to a newer version, affecting the runtime environment and available system packages.

Signed-off-by: David Kwon <dakwon@redhat.com>
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Apr 7, 2026

📝 Walkthrough

Walkthrough

The base image for the containerized application was downgraded from UBI 10 to UBI 9 in the Containerfile, affecting the runtime environment and system package availability while maintaining all other configuration layers and setup procedures.

Changes

Cohort / File(s) Summary
Container Base Image Update
project-backup/Containerfile
Downgraded base image from registry.access.redhat.com/ubi10:latest to registry.access.redhat.com/ubi9:latest.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 A hop back in time, from ten down to nine,
The UBI shifts, the containers align,
One simple line change, so smooth and so clean,
The smallest of tweaks to the build routine! ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: updating the project-backup container base image from UBI10 to UBI9, which is the only modification in the changeset.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

🧹 Nitpick comments (1)
project-backup/Containerfile (1)

17-17: Consider pinning to a specific UBI9 version for reproducibility.

Using :latest means builds may vary over time as UBI9 receives updates. For reproducible builds and easier rollback in case of issues, consider pinning to a specific UBI9 minor version or digest.

📌 Example: Pin to a specific version
-FROM registry.access.redhat.com/ubi9:latest
+FROM registry.access.redhat.com/ubi9:9.5-1234567890

Or use a digest for immutability:

-FROM registry.access.redhat.com/ubi9:latest
+FROM registry.access.redhat.com/ubi9@sha256:<digest>
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@project-backup/Containerfile` at line 17, The Docker base image uses an
unpinned tag in the Containerfile (FROM registry.access.redhat.com/ubi9:latest),
which makes builds non-reproducible; replace the :latest tag with a specific
UBI9 minor version or an image digest (immutable SHA) in the FROM instruction,
and update any build docs or CI configs that reference this Containerfile to use
the same pinned value so builds are reproducible and rollbackable.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Nitpick comments:
In `@project-backup/Containerfile`:
- Line 17: The Docker base image uses an unpinned tag in the Containerfile (FROM
registry.access.redhat.com/ubi9:latest), which makes builds non-reproducible;
replace the :latest tag with a specific UBI9 minor version or an image digest
(immutable SHA) in the FROM instruction, and update any build docs or CI configs
that reference this Containerfile to use the same pinned value so builds are
reproducible and rollbackable.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 71f59af7-1722-4972-b7bf-8b5cddcc0bd7

📥 Commits

Reviewing files that changed from the base of the PR and between 66b4c5a and c35c5a9.

📒 Files selected for processing (1)
  • project-backup/Containerfile

@rohanKanojia
Copy link
Copy Markdown
Member

/retest

@openshift-ci
Copy link
Copy Markdown

openshift-ci bot commented Apr 8, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: akurinnoy, dkwon17, ibuziuk, rohanKanojia

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants