Acm sf multicloud operators foundation e2e fix#79263
Conversation
- e2e is using latest/main versions of images rather than ones that go with the specific release branch Signed-off-by: Tesshu Flower <tflower@redhat.com>
- run e2e using appropriate images for branch Signed-off-by: Tesshu Flower <tflower@redhat.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Central YAML (inherited) Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
WalkthroughThe PR updates CI config for multicloud-operators-foundation across nine branch variants (backplane-2.6–2.17, 5.0, and main) to replace ChangesE2E Image Tag Configuration Across Branch Variants
Estimated Code Review Effort🎯 2 (Simple) | ⏱️ ~10 minutes Suggested Labels
🚥 Pre-merge checks | ✅ 12✅ Passed checks (12 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Tip 💬 Introducing Slack Agent: The best way for teams to turn conversations into code.Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.
Built for teams:
One agent for your entire SDLC. Right inside Slack. 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. Comment |
|
/pj-rehearse pull-ci-stolostron-multicloud-operators-foundation-backplane-2.17-e2e |
|
@tesshuflower: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
/pj-rehearse pull-ci-stolostron-multicloud-operators-foundation-main-e2e |
|
@tesshuflower: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
#79265 seems a duplicate of this @tesshuflower @dhaiducek |
| PLACEMENT_IMAGE=quay.io/stolostron/placement:$OCM_VERSION | ||
| export KUBECTL IMAGE_NAME REGISTRATION_IMAGE WORK_IMAGE PLACEMENT_IMAGE REGISTRATION_OPERATOR_BRANCH | ||
| export KUBECTL | ||
| OCM_BRANCH=main |
There was a problem hiding this comment.
I'd still use backplane-5.0 here. It'll be more maintainable.
There was a problem hiding this comment.
Right, makes sense - was thinking 5.0 would have to be in sync with main for now, but no reason to
|
/pj-rehearse pull-ci-stolostron-multicloud-operators-foundation-backplane-2.10-e2e |
|
@dhaiducek: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
Signed-off-by: Tesshu Flower <tflower@redhat.com>
|
[REHEARSALNOTIFIER]
Interacting with pj-rehearseComment: Once you are satisfied with the results of the rehearsals, comment: |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dhaiducek, tesshuflower The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/pj-rehearse ack |
1 similar comment
|
/pj-rehearse ack |
|
@dhaiducek: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
@tesshuflower: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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. |
|
/pj-rehearse ack |
|
@rokej: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
* MCE multicloud-operators-foundation e2e fix for 2.17 - e2e is using latest/main versions of images rather than ones that go with the specific release branch Signed-off-by: Tesshu Flower <tflower@redhat.com> * MCE multicloud-operators-foundation e2e fix all branches - run e2e using appropriate images for branch Signed-off-by: Tesshu Flower <tflower@redhat.com> * update backplane-5.0 to use proper br Signed-off-by: Tesshu Flower <tflower@redhat.com> --------- Signed-off-by: Tesshu Flower <tflower@redhat.com>
Multicloud-operators-foundation previously used main in many places for image tags when deploying other components for e2e testing.
In some older release branches, some addon images would use the appropriate "branch-x.y" tag, but recent ones all default to
main.Additionally,
ADDON_MANAGER_IMAGEwas never specified, so it was actually falling back to the open-cluster-management-io image:quay.io/open-cluster-management/addon-manager:latestwhere other images would be set to the stolstron equivalent.So fixes:
main. Note that main/backplane-5.0 still usemainNot fixed:
maintag - this fix will need to be done in https://github.com/stolostron/multicloud-operators-foundation/blob/89634a74478f2f2f1931730eb28ee9713651d7ce/deploy/managedcluster/addons/install.sh#L68 (across all branches)Summary
This PR updates OpenShift CI configuration for the Stolostron multicloud-operators-foundation component so e2e jobs use branch-aligned Stolostron-built images instead of defaulting to :main (and fixes a missing addon-manager image).
Practical impact / scope
Problem addressed
Changes made
Updated the e2e step in the CI configs for the following jobs to derive image tags from a branch variable and explicitly export the addon-manager image:
Concretely:
Files updated: ci-operator/config/stolostron/multicloud-operators-foundation/stolostron-multicloud-operators-foundation-{main,backplane-5.0,backplane-2.6,2.7,2.8,2.9,2.10,2.11,2.17}.yaml
Known limitations / notes