Skip to content

ci: build and push operator image on PRs targeting main - #2185

Merged
tolusha merged 7 commits into
mainfrom
pr-image-build-on-pr
Aug 25, 2026
Merged

ci: build and push operator image on PRs targeting main#2185
tolusha merged 7 commits into
mainfrom
pr-image-build-on-pr

Conversation

@tolusha

@tolusha tolusha commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

What does this PR do?

Adds a `docker-build` job to the PR check workflow that:

  • Builds a multi-arch operator image (`linux/amd64`, `linux/arm64`, `linux/s390x`) for every PR targeting `main`
  • Pushes it to `quay.io/eclipse/che-operator:pr-`
  • Comments on the PR with the image tag and a `kubectl set image` command to deploy it against an existing Che installation

Screenshot/screencast of this PR

N/A — CI/CD workflow change only.

What issues does this PR fix or reference?

N/A

How to test this PR?

  1. Open a PR targeting `main` in this repository.
  2. Verify the `docker-build` job runs in GitHub Actions.
  3. Verify a comment is posted on the PR with the image name `quay.io/eclipse/che-operator:pr-` and a `kubectl set image` command.

Common Test Scenarios

  • Deploy Eclipse Che

PR Checklist

As the author of this Pull Request I made sure that:

Reviewers

Reviewers, please comment how you tested the PR when approving it.

Add a docker-build job to the PR check workflow that builds a
multi-arch operator image (linux/amd64, linux/arm64, linux/s390x),
pushes it to quay.io/eclipse/che-operator:pr-<number>, and comments
on the PR with the image tag and a kubectl patch command.

Assisted-by: Claude Sonnet 4.6
@openshift-ci

openshift-ci Bot commented Aug 24, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: tolusha

The full list of commands accepted by this bot can be found 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

Comment thread .github/workflows/pr-check.yml Fixed
@tolusha

tolusha commented Aug 24, 2026

Copy link
Copy Markdown
Contributor Author

Hi! I'm che-ai-assistant — I help with your pull requests.

I check for new comments every 10m0s, so there may be a short delay before I respond.

Available commands:

  • /che-ai-assistant generate-che-doc — Generate a documentation PR based on this PR's changes
  • /che-ai-assistant ok-pr-review — Run a comprehensive PR review (summary, code review, deep review, impact analysis)
  • /che-ai-assistant ok-pr-readiness — Ensure PR has validation steps
  • /che-ai-assistant check-pr-test-failures — Analyze failing CI checks, identify root causes, and suggest fixes
  • /che-ai-assistant update-che-e2e-tests — Update Eclipse Che e2e tests
  • /che-ai-assistant claude — Run a free-form instruction on this PR
  • /che-ai-assistant help — Show this help message

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
@tolusha
tolusha marked this pull request as draft August 24, 2026 12:45
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
@tolusha tolusha closed this Aug 24, 2026
@github-actions

Copy link
Copy Markdown

Docker image quay.io/eclipse/che-operator:pr-2185 is available (linux/amd64, linux/arm64, linux/s390x)

kubectl patch command
kubectl set image deployment/che-operator che-operator="quay.io/eclipse/che-operator:pr-2185" -n eclipse-che

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
@tolusha tolusha reopened this Aug 24, 2026
@github-actions

Copy link
Copy Markdown

New operator image available: quay.io/eclipse/che-operator:pr-2185-arm64

1 similar comment
@github-actions

Copy link
Copy Markdown

New operator image available: quay.io/eclipse/che-operator:pr-2185-arm64

@github-actions

Copy link
Copy Markdown

New operator image available: quay.io/eclipse/che-operator:pr-2185-amd64

1 similar comment
@github-actions

Copy link
Copy Markdown

New operator image available: quay.io/eclipse/che-operator:pr-2185-amd64

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
@github-actions

Copy link
Copy Markdown

New operator image available: quay.io/eclipse/che-operator:pr-2185-arm64

@github-actions

Copy link
Copy Markdown

New operator image available: quay.io/eclipse/che-operator:pr-2185-amd64

@tolusha
tolusha marked this pull request as ready for review August 24, 2026 15:08
@tolusha

tolusha commented Aug 25, 2026

Copy link
Copy Markdown
Contributor Author

/retest

@openshift-ci

openshift-ci Bot commented Aug 25, 2026

Copy link
Copy Markdown

@tolusha: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/v19-devworkspace-happy-path 0aa9307 link true /test v19-devworkspace-happy-path
ci/prow/v19-upgrade-stable-to-next 0aa9307 link true /test v19-upgrade-stable-to-next

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@tolusha

tolusha commented Aug 25, 2026

Copy link
Copy Markdown
Contributor Author

/retest

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
@tolusha
tolusha merged commit 8e198d0 into main Aug 25, 2026
19 of 21 checks passed
@tolusha
tolusha deleted the pr-image-build-on-pr branch August 25, 2026 07:12
@github-actions

Copy link
Copy Markdown

New operator image available: quay.io/eclipse/che-operator:pr-2185-arm64

@github-actions

Copy link
Copy Markdown

New operator image available: quay.io/eclipse/che-operator:pr-2185-amd64

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.

2 participants