Skip to content

ARO-HCP: use aro-hcp-e2e-tools image for write-config step#80312

Draft
gmfrasca wants to merge 1 commit into
openshift:mainfrom
gmfrasca:arohcp-writeconfig-tools-image
Draft

ARO-HCP: use aro-hcp-e2e-tools image for write-config step#80312
gmfrasca wants to merge 1 commit into
openshift:mainfrom
gmfrasca:arohcp-writeconfig-tools-image

Conversation

@gmfrasca

@gmfrasca gmfrasca commented Jun 9, 2026

Copy link
Copy Markdown
Member

Summary

The write-config step only runs templatize to render a partial config.yaml. It was recently moved to the aro-hcp-e2e-tests image, which is significantly larger.

Originally this was thought to improve pull-times, but after experimentation, the runtime difference has been deemed to be negligible (on the scale of seconds). With that said, the change itself is still sound - tooling-specific steps should use the -tools image, not -tests.

Test plan

  • pj-rehearsal on e2e-parallel job

Summary by CodeRabbit

This PR optimizes the ARO-HCP CI infrastructure by reducing image pull time for a specific build step. The change updates the write-config step in the ARO-HCP e2e CI pipeline to use the smaller aro-hcp-e2e-tools container image instead of the larger aro-hcp-e2e-tests image.

What changed:

  • Modified ci-operator/step-registry/aro-hcp/write-config/aro-hcp-write-config-ref.yaml to reference aro-hcp-e2e-tools as the base image

Why this matters:
The write-config step only executes the templatize binary to render a partial config.yaml file. Previously, this step was using the larger aro-hcp-e2e-tests image which cold-pulls in approximately 15 minutes. By switching to the smaller aro-hcp-e2e-tools image (which contains the needed templatize binary and pulls in ~5 minutes), this eliminates a ~10-minute overhead from the critical path of every ARO-HCP e2e CI job. Since ci-operator step pods don't share node-level image caches, this change directly improves job execution time.

Testing:
The author plans to validate with pj-rehearsal on the e2e-parallel job (pending completion).

write-config only needs templatize, which is in aro-hcp-e2e-tools.
Using the heavier aro-hcp-e2e-tests image adds ~10 min of unnecessary
cold-pull time to the critical path of every e2e job.

Signed-off-by: Giulio Frasca <gfrasca@redhat.com>
@openshift-ci

openshift-ci Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@openshift-ci openshift-ci Bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jun 9, 2026
@openshift-ci

openshift-ci Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: gmfrasca
Once this PR has been reviewed and has the lgtm label, please assign deads2k for approval. For more information see the Code Review Process.

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

@coderabbitai

coderabbitai Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Walkthrough

This PR updates the CI step registry configuration for the ARO HCP write-config step. The ref.from field is changed from aro-hcp-e2e-tests to aro-hcp-e2e-tools, redirecting where the step sources its configuration reference.

Changes

CI Step Registry Configuration Update

Layer / File(s) Summary
Write-config ref source update
ci-operator/step-registry/aro-hcp/write-config/aro-hcp-write-config-ref.yaml
The ref source for the aro-hcp-write-config step is updated from aro-hcp-e2e-tests to aro-hcp-e2e-tools.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Suggested labels

lgtm, approved, rehearsals-ack

Suggested reviewers

  • janboll
  • deads2k
  • hbhushan3
🚥 Pre-merge checks | ✅ 15
✅ Passed checks (15 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and specifically describes the main change: switching the write-config CI step from aro-hcp-e2e-tests to the smaller aro-hcp-e2e-tools image.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Stable And Deterministic Test Names ✅ Passed PR only modifies a CI configuration YAML file (no test code). No Ginkgo test definitions or test titles present; check for stable test names not applicable.
Test Structure And Quality ✅ Passed PR only changes CI step registry configuration YAML; no Ginkgo test code is present, making the test structure check not applicable.
Microshift Test Compatibility ✅ Passed PR only modifies CI configuration YAML (image source change), not test code. No new Ginkgo e2e tests are added, so MicroShift compatibility check is not applicable.
Single Node Openshift (Sno) Test Compatibility ✅ Passed PR only modifies CI config YAML (aro-hcp-write-config-ref.yaml image optimization), not test code; no new Ginkgo e2e tests added, making SNO compatibility check inapplicable.
Topology-Aware Scheduling Compatibility ✅ Passed PR changes only CI step registry configuration (base image selection), not deployment manifests, operator code, or controllers. No scheduling constraints introduced.
Ote Binary Stdout Contract ✅ Passed PR only changes CI step registry YAML configuration (image selection), not OTE binary code or stdout behavior. Custom check applies only to Go code that may write to stdout in OTE processes.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed No new Ginkgo e2e tests are added in this PR. The change only updates CI step registry configuration (container image selection), not test code.
No-Weak-Crypto ✅ Passed The PR only modifies CI configuration YAML with no cryptographic code, weak crypto usage (MD5, SHA1, DES, RC4, 3DES, Blowfish, ECB), or secret comparisons present.
Container-Privileges ✅ Passed PR only changes container image source in CI step registry YAML. No privileged, hostPID, hostNetwork, hostIPC, SYS_ADMIN, or allowPrivilegeEscalation configurations present.
No-Sensitive-Data-In-Logs ✅ Passed PR changes only CI step configuration (container image switch) and command script with no logging of passwords, tokens, API keys, PII, or sensitive data.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ 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.

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

[REHEARSALNOTIFIER]
@gmfrasca: the pj-rehearse plugin accommodates running rehearsal tests for the changes in this PR. Expand 'Interacting with pj-rehearse' for usage details. The following rehearsable tests have been affected by this change:

Test name Repo Type Reason
pull-ci-Azure-ARO-HCP-main-integration-e2e-parallel Azure/ARO-HCP presubmit Registry content changed
pull-ci-Azure-ARO-HCP-main-integration-e2e-parallel-ocp-stable Azure/ARO-HCP presubmit Registry content changed
pull-ci-Azure-ARO-HCP-main-integration-e2e-parallel-ocp-fast Azure/ARO-HCP presubmit Registry content changed
pull-ci-Azure-ARO-HCP-main-integration-e2e-parallel-ocp-nightly Azure/ARO-HCP presubmit Registry content changed
pull-ci-Azure-ARO-HCP-main-stage-e2e-parallel Azure/ARO-HCP presubmit Registry content changed
pull-ci-Azure-ARO-HCP-main-stage-e2e-parallel-ocp-stable Azure/ARO-HCP presubmit Registry content changed
pull-ci-Azure-ARO-HCP-main-stage-e2e-parallel-ocp-fast Azure/ARO-HCP presubmit Registry content changed
pull-ci-Azure-ARO-HCP-main-stage-e2e-parallel-ocp-nightly Azure/ARO-HCP presubmit Registry content changed
pull-ci-Azure-ARO-HCP-main-prod-e2e-parallel Azure/ARO-HCP presubmit Registry content changed
pull-ci-Azure-ARO-HCP-main-prod-e2e-parallel-ocp-stable Azure/ARO-HCP presubmit Registry content changed
pull-ci-Azure-ARO-HCP-main-prod-e2e-parallel-ocp-fast Azure/ARO-HCP presubmit Registry content changed
pull-ci-Azure-ARO-HCP-main-prod-e2e-parallel-ocp-nightly Azure/ARO-HCP presubmit Registry content changed
pull-ci-Azure-ARO-HCP-main-e2e-parallel Azure/ARO-HCP presubmit Registry content changed
periodic-ci-Azure-ARO-HCP-main-periodic-prod-e2e-parallel N/A periodic Registry content changed
periodic-ci-Azure-ARO-HCP-main-periodic-prod-e2e-parallel-ocp-nightly N/A periodic Registry content changed
periodic-ci-Azure-ARO-HCP-main-periodic-healthcheck-provision-westus3 N/A periodic Registry content changed
periodic-ci-Azure-ARO-HCP-main-periodic-healthcheck-provision-centralus N/A periodic Registry content changed
periodic-ci-Azure-ARO-HCP-main-periodic-healthcheck-provision-canadacentral N/A periodic Registry content changed
periodic-ci-Azure-ARO-HCP-main-periodic-integration-e2e-parallel N/A periodic Registry content changed
periodic-ci-Azure-ARO-HCP-main-periodic-stage-e2e-parallel N/A periodic Registry content changed
periodic-ci-Azure-ARO-HCP-main-periodic-stage-e2e-parallel-ocp-nightly N/A periodic Registry content changed

Prior to this PR being merged, you will need to either run and acknowledge or opt to skip these rehearsals.

Interacting with pj-rehearse

Comment: /pj-rehearse to run up to 5 rehearsals
Comment: /pj-rehearse skip to opt-out of rehearsals
Comment: /pj-rehearse {test-name}, with each test separated by a space, to run one or more specific rehearsals
Comment: /pj-rehearse more to run up to 10 rehearsals
Comment: /pj-rehearse max to run up to 25 rehearsals
Comment: /pj-rehearse auto-ack to run up to 5 rehearsals, and add the rehearsals-ack label on success
Comment: /pj-rehearse list to get an up-to-date list of affected jobs
Comment: /pj-rehearse abort to abort all active rehearsals
Comment: /pj-rehearse network-access-allowed to allow rehearsals of tests that have the restrict_network_access field set to false. This must be executed by an openshift org member who is not the PR author

Once you are satisfied with the results of the rehearsals, comment: /pj-rehearse ack to unblock merge. When the rehearsals-ack label is present on your PR, merge will no longer be blocked by rehearsals.
If you would like the rehearsals-ack label removed, comment: /pj-rehearse reject to re-block merging.

@gmfrasca

gmfrasca commented Jun 9, 2026

Copy link
Copy Markdown
Member Author

/pj-rehearse pull-ci-Azure-ARO-HCP-main-e2e-parallel

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

@gmfrasca: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@openshift-ci

openshift-ci Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

@gmfrasca: The following test 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/rehearse/Azure/ARO-HCP/main/e2e-parallel d672126 link unknown /pj-rehearse pull-ci-Azure-ARO-HCP-main-e2e-parallel

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.

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

Labels

do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant