Skip to content

hypershift: fix upgrade-hypershift-operator jobs on release branches <= 4.22 - #81259

Merged
openshift-merge-bot[bot] merged 3 commits into
openshift:mainfrom
devguyio:fix-hypershift-install-scale-from-zero
Jul 1, 2026
Merged

hypershift: fix upgrade-hypershift-operator jobs on release branches <= 4.22#81259
openshift-merge-bot[bot] merged 3 commits into
openshift:mainfrom
devguyio:fix-hypershift-install-scale-from-zero

Conversation

@devguyio

@devguyio devguyio commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Summary

  • PR adding support to pass cred that enables scale-from-zero test in hype… #72805 added --scale-from-zero-* and --additional-operator-env-vars flags unconditionally. These don't exist in older HyperShift CLI versions, breaking e2e-aws-upgrade-hypershift-operator on release branches that install from version-tagged operator images.
  • Caches hypershift install --help output once after CLI resolution, then greps before passing flags that aren't universally available. No env var toggles or config overrides needed.
  • Overrides CI_HYPERSHIFT_OPERATOR on 4.19–4.22 so the upgrade test upgrades to the PR-built image instead of hypershift-operator:latest (main).
  • Renames image aliases for clarity: hypershift-operator-inithypershift-operator-4XX-latest, hypershift-operator-4XXhypershift-operator-pr.

Flag compatibility (from audit of cmd/install/install.go per branch)

Flag 4.19 4.20 4.21 4.22+
--additional-operator-env-vars No No Yes Yes
--scale-from-zero-* No No No Yes

Test plan

  • Rehearse e2e-aws-upgrade-hypershift-operator on 4.19/4.20 — both flags should be auto-skipped
  • Rehearse on 4.21 — --additional-operator-env-vars passes, --scale-from-zero-* skipped
  • Regular AWS tests (main CLI) — all flags pass through

🤖 Generated with Claude Code

…toggle

PR openshift#72805 added --scale-from-zero-provider and --scale-from-zero-creds
unconditionally to the hypershift install step. This broke upgrade-hypershift-operator
jobs on pre-4.22 branches because those release-tagged operator images lack the flags.

Move the flags behind an ENABLE_SCALE_FROM_ZERO env var (default true) and set it
to false for the upgrade-hypershift-operator test in 4.19, 4.20, and 4.21 configs.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Ahmed Abdalla <aabdelre@redhat.com>
@coderabbitai

coderabbitai Bot commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository YAML (base), Central YAML (inherited)

Review profile: CHILL

Plan: Enterprise

Run ID: 9abf6d3d-4e20-48a5-9bed-5ac62c6a4f25

📥 Commits

Reviewing files that changed from the base of the PR and between c19dd8e and 9f46e21.

⛔ Files ignored due to path filters (16)
  • ci-operator/jobs/openshift-priv/hypershift/openshift-priv-hypershift-release-4.19-postsubmits.yaml is excluded by !ci-operator/jobs/**
  • ci-operator/jobs/openshift-priv/hypershift/openshift-priv-hypershift-release-4.19-presubmits.yaml is excluded by !ci-operator/jobs/**
  • ci-operator/jobs/openshift-priv/hypershift/openshift-priv-hypershift-release-4.20-postsubmits.yaml is excluded by !ci-operator/jobs/**
  • ci-operator/jobs/openshift-priv/hypershift/openshift-priv-hypershift-release-4.20-presubmits.yaml is excluded by !ci-operator/jobs/**
  • ci-operator/jobs/openshift-priv/hypershift/openshift-priv-hypershift-release-4.21-postsubmits.yaml is excluded by !ci-operator/jobs/**
  • ci-operator/jobs/openshift-priv/hypershift/openshift-priv-hypershift-release-4.21-presubmits.yaml is excluded by !ci-operator/jobs/**
  • ci-operator/jobs/openshift-priv/hypershift/openshift-priv-hypershift-release-4.22-postsubmits.yaml is excluded by !ci-operator/jobs/**
  • ci-operator/jobs/openshift-priv/hypershift/openshift-priv-hypershift-release-4.22-presubmits.yaml is excluded by !ci-operator/jobs/**
  • ci-operator/jobs/openshift/hypershift/openshift-hypershift-release-4.19-postsubmits.yaml is excluded by !ci-operator/jobs/**
  • ci-operator/jobs/openshift/hypershift/openshift-hypershift-release-4.19-presubmits.yaml is excluded by !ci-operator/jobs/**
  • ci-operator/jobs/openshift/hypershift/openshift-hypershift-release-4.20-postsubmits.yaml is excluded by !ci-operator/jobs/**
  • ci-operator/jobs/openshift/hypershift/openshift-hypershift-release-4.20-presubmits.yaml is excluded by !ci-operator/jobs/**
  • ci-operator/jobs/openshift/hypershift/openshift-hypershift-release-4.21-postsubmits.yaml is excluded by !ci-operator/jobs/**
  • ci-operator/jobs/openshift/hypershift/openshift-hypershift-release-4.21-presubmits.yaml is excluded by !ci-operator/jobs/**
  • ci-operator/jobs/openshift/hypershift/openshift-hypershift-release-4.22-postsubmits.yaml is excluded by !ci-operator/jobs/**
  • ci-operator/jobs/openshift/hypershift/openshift-hypershift-release-4.22-presubmits.yaml is excluded by !ci-operator/jobs/**
📒 Files selected for processing (8)
  • ci-operator/config/openshift-priv/hypershift/openshift-priv-hypershift-release-4.19.yaml
  • ci-operator/config/openshift-priv/hypershift/openshift-priv-hypershift-release-4.20.yaml
  • ci-operator/config/openshift-priv/hypershift/openshift-priv-hypershift-release-4.21.yaml
  • ci-operator/config/openshift-priv/hypershift/openshift-priv-hypershift-release-4.22.yaml
  • ci-operator/config/openshift/hypershift/openshift-hypershift-release-4.19.yaml
  • ci-operator/config/openshift/hypershift/openshift-hypershift-release-4.20.yaml
  • ci-operator/config/openshift/hypershift/openshift-hypershift-release-4.21.yaml
  • ci-operator/config/openshift/hypershift/openshift-hypershift-release-4.22.yaml
🚧 Files skipped from review as they are similar to previous changes (8)
  • ci-operator/config/openshift-priv/hypershift/openshift-priv-hypershift-release-4.22.yaml
  • ci-operator/config/openshift/hypershift/openshift-hypershift-release-4.20.yaml
  • ci-operator/config/openshift-priv/hypershift/openshift-priv-hypershift-release-4.20.yaml
  • ci-operator/config/openshift/hypershift/openshift-hypershift-release-4.19.yaml
  • ci-operator/config/openshift/hypershift/openshift-hypershift-release-4.22.yaml
  • ci-operator/config/openshift/hypershift/openshift-hypershift-release-4.21.yaml
  • ci-operator/config/openshift-priv/hypershift/openshift-priv-hypershift-release-4.21.yaml
  • ci-operator/config/openshift-priv/hypershift/openshift-priv-hypershift-release-4.19.yaml

Walkthrough

Adds a HyperShift install toggle for AWS scale-from-zero flags, and updates 4.19–4.22 release configs and upgrade jobs to use PR operator images with new latest aliases.

Changes

HyperShift install and release wiring

Layer / File(s) Summary
Install toggle and AWS flag gating
ci-operator/step-registry/hypershift/install/hypershift-install-ref.yaml, ci-operator/step-registry/hypershift/install/hypershift-install-commands.sh
Defines ENABLE_SCALE_FROM_ZERO and moves AWS scale-from-zero flags behind conditional EXTRA_ARGS handling.
Release image promotion wiring
ci-operator/config/openshift-priv/hypershift/openshift-priv-hypershift-release-4.19.yaml, ci-operator/config/openshift-priv/hypershift/openshift-priv-hypershift-release-4.20.yaml, ci-operator/config/openshift-priv/hypershift/openshift-priv-hypershift-release-4.21.yaml, ci-operator/config/openshift-priv/hypershift/openshift-priv-hypershift-release-4.22.yaml, ci-operator/config/openshift/hypershift/openshift-hypershift-release-4.19.yaml, ci-operator/config/openshift/hypershift/openshift-hypershift-release-4.20.yaml, ci-operator/config/openshift/hypershift/openshift-hypershift-release-4.21.yaml, ci-operator/config/openshift/hypershift/openshift-hypershift-release-4.22.yaml
Adds *-latest base image aliases and rewires promotion mappings to hypershift-operator-pr across the 4.19–4.22 release configs.
Upgrade job dependency and env updates
ci-operator/config/openshift-priv/hypershift/openshift-priv-hypershift-release-4.19.yaml, ci-operator/config/openshift-priv/hypershift/openshift-priv-hypershift-release-4.20.yaml, ci-operator/config/openshift/hypershift/openshift-hypershift-release-4.19.yaml, ci-operator/config/openshift/hypershift/openshift-hypershift-release-4.20.yaml, ci-operator/config/openshift/hypershift/openshift-hypershift-release-4.21.yaml, ci-operator/config/openshift-priv/hypershift/openshift-priv-hypershift-release-4.21.yaml, ci-operator/config/openshift-priv/hypershift/openshift-priv-hypershift-release-4.22.yaml, ci-operator/config/openshift/hypershift/openshift-hypershift-release-4.22.yaml
Updates e2e-aws-upgrade-hypershift-operator to use CI_HYPERSHIFT_OPERATOR: hypershift-operator-pr, new HYPERSHIFT_RELEASE_LATEST aliases, and ENABLE_SCALE_FROM_ZERO: "false".

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Suggested labels

lgtm, rehearsals-ack

Suggested reviewers

  • enxebre
  • muraee
🚥 Pre-merge checks | ✅ 15
✅ Passed checks (15 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly matches the main change: fixing upgrade-hypershift-operator jobs on release branches up to 4.22.
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 No Ginkgo titles were added or changed; the PR only updates CI YAML and shell gating env vars, with static CI_TESTS_RUN regexes.
Test Structure And Quality ✅ Passed No Ginkgo test code changed; this PR only updates CI YAML and the install shell script, so the test-structure quality check is not applicable.
Microshift Test Compatibility ✅ Passed No new Ginkgo test files or test bodies were added; the PR only changes CI YAML and install scripts, so MicroShift-specific test review is not applicable.
Single Node Openshift (Sno) Test Compatibility ✅ Passed PASS: PR only changes CI YAML and a shell install script; no new/modified Ginkgo e2e tests or SNO-sensitive test logic were added.
Topology-Aware Scheduling Compatibility ✅ Passed Touched files only update CI configs and gate hypershift install flags; no pod anti-affinity, topology spread, node selectors, PDBs, or replica logic were added.
Ote Binary Stdout Contract ✅ Passed PASS: PR only changes CI YAML and a shell install script; no Go/TestMain/main/init or stdout writes in OTE process-level code were added.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed The PR only changes CI YAML and an install shell helper; no new Ginkgo test bodies were added, and no IPv4-only or public-internet calls appear in touched files.
No-Weak-Crypto ✅ Passed Touched files only add env-gating and image/promotion config; no weak crypto, custom crypto, or secret comparisons appear in the changed code.
Container-Privileges ✅ Passed No touched manifest adds privileged/hostPID/hostNetwork/hostIPC/SYS_ADMIN/allowPrivilegeEscalation; changes are CI refs and a shell gate only.
No-Sensitive-Data-In-Logs ✅ Passed The patch only gates install flags and rewires CI images; it adds no new logging or secret/PII output paths in the touched files.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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

@openshift-ci
openshift-ci Bot requested review from droslean and jparrill June 30, 2026 11:16

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@ci-operator/step-registry/hypershift/install/hypershift-install-commands.sh`:
- Around line 59-64: The scale-from-zero flags are being added to EXTRA_ARGS
before the CLOUD_PROVIDER-specific handling, which causes non-AWS installs to
inherit AWS-only options. Move the ENABLE_SCALE_FROM_ZERO append logic into the
AWS branch of the hypershift install flow so only the AWS path in
hypershift-install-commands.sh adds --scale-from-zero-provider aws and the AWS
credentials flag, while keeping other providers unaffected.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository YAML (base), Central YAML (inherited)

Review profile: CHILL

Plan: Enterprise

Run ID: a99a1cf3-158d-440d-b0e8-8eece6b25d71

📥 Commits

Reviewing files that changed from the base of the PR and between 43a36d9 and f7aea5d.

📒 Files selected for processing (8)
  • ci-operator/config/openshift-priv/hypershift/openshift-priv-hypershift-release-4.19.yaml
  • ci-operator/config/openshift-priv/hypershift/openshift-priv-hypershift-release-4.20.yaml
  • ci-operator/config/openshift-priv/hypershift/openshift-priv-hypershift-release-4.21.yaml
  • ci-operator/config/openshift/hypershift/openshift-hypershift-release-4.19.yaml
  • ci-operator/config/openshift/hypershift/openshift-hypershift-release-4.20.yaml
  • ci-operator/config/openshift/hypershift/openshift-hypershift-release-4.21.yaml
  • ci-operator/step-registry/hypershift/install/hypershift-install-commands.sh
  • ci-operator/step-registry/hypershift/install/hypershift-install-ref.yaml

Comment thread ci-operator/step-registry/hypershift/install/hypershift-install-commands.sh Outdated
@devguyio

Copy link
Copy Markdown
Contributor Author

/pj-rehearse pull-ci-openshift-hypershift-e2e-aws

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

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

Address review feedback: keep AWS-specific --scale-from-zero-provider
and --scale-from-zero-creds inside the AWS case block rather than
in EXTRA_ARGS, which leaks into Azure/GCP/other install paths.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Ahmed Abdalla <aabdelre@redhat.com>
@devguyio
devguyio force-pushed the fix-hypershift-install-scale-from-zero branch from e21339b to 7780114 Compare June 30, 2026 11:24
@openshift-merge-bot

Copy link
Copy Markdown
Contributor

@devguyio: job(s): pull-ci-openshift-hypershift-e2e-aws either don't exist or were not found to be affected, and cannot be rehearsed

@devguyio

Copy link
Copy Markdown
Contributor Author

/pj-rehearse pull-ci-openshift-hypershift-main-e2e-aws

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

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

@devguyio

Copy link
Copy Markdown
Contributor Author

/pj-rehearse pull-ci-openshift-hypershift-release-4.21-e2e-aws-upgrade-hypershift-operator

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

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

@muraee

muraee commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

/approve

@devguyio

Copy link
Copy Markdown
Contributor Author

/rehearse-ack

This PR made the upgrade job pass the failure point as intended. However, a machine deployment rollout did happen but it's not clear what's the reason, however this is irrelevant of this PR and should be further debugged on a real release-4.21 PR if it fails there.

@enxebre

enxebre commented Jun 30, 2026

Copy link
Copy Markdown
Member

/approve

@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 30, 2026
@devguyio

Copy link
Copy Markdown
Contributor Author

/pj-rehearse ack

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

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

@openshift-merge-bot openshift-merge-bot Bot added the rehearsals-ack Signifies that rehearsal jobs have been acknowledged label Jun 30, 2026
@devguyio devguyio changed the title hypershift: gate scale-from-zero install flags for pre-4.22 upgrade jobs hypershift: fix upgrade-hypershift-operator jobs on release branches <= 4.22 Jun 30, 2026
@openshift-merge-bot openshift-merge-bot Bot removed the rehearsals-ack Signifies that rehearsal jobs have been acknowledged label Jun 30, 2026
@devguyio
devguyio force-pushed the fix-hypershift-install-scale-from-zero branch from 53bde44 to c19dd8e Compare June 30, 2026 21:54
@devguyio

Copy link
Copy Markdown
Contributor Author

I added the last piece to make the upgrade-hypershift-operator jobs work as intended:

  • Overrides CI_HYPERSHIFT_OPERATOR dependency on 4.19–4.22 configs so the upgrade test upgrades to the PR-built hypershift-operator-pr image instead of hypershift-operator:latest (main).
  • Renames image aliases for clarity across 4.19–4.22 configs:
    • hypershift-operator-inithypershift-operator-4XX-latest (version-tagged image from hypershift namespace)
    • hypershift-operator-4XXhypershift-operator-pr (image built from the PR)

The upgrade-hypershift-operator test on release branches <= 4.22 was
upgrading to hypershift-operator:latest (main) instead of the
version-tagged image built from the PR. Override CI_HYPERSHIFT_OPERATOR
to point to the PR-built hypershift-operator-4XX image.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Ahmed Abdalla <aabdelre@redhat.com>
@devguyio
devguyio force-pushed the fix-hypershift-install-scale-from-zero branch from c19dd8e to 9f46e21 Compare June 30, 2026 22:06
@openshift-merge-bot

Copy link
Copy Markdown
Contributor

[REHEARSALNOTIFIER]
@devguyio: 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-openshift-cluster-machine-approver-main-e2e-hypershift-aks openshift/cluster-machine-approver presubmit Registry content changed
pull-ci-openshift-cluster-machine-approver-release-5.1-e2e-hypershift-aks openshift/cluster-machine-approver presubmit Registry content changed
pull-ci-openshift-cluster-machine-approver-release-5.0-e2e-hypershift-aks openshift/cluster-machine-approver presubmit Registry content changed
pull-ci-openshift-cluster-machine-approver-release-4.23-e2e-hypershift-aks openshift/cluster-machine-approver presubmit Registry content changed
pull-ci-openshift-cluster-machine-approver-release-4.22-e2e-hypershift-aks openshift/cluster-machine-approver presubmit Registry content changed
pull-ci-openshift-cluster-api-provider-azure-main-hypershift-e2e-aks openshift/cluster-api-provider-azure presubmit Registry content changed
pull-ci-openshift-cluster-api-provider-azure-release-5.1-hypershift-e2e-aks openshift/cluster-api-provider-azure presubmit Registry content changed
pull-ci-openshift-cluster-api-provider-azure-release-5.0-hypershift-e2e-aks openshift/cluster-api-provider-azure presubmit Registry content changed
pull-ci-openshift-cluster-api-provider-azure-release-4.23-hypershift-e2e-aks openshift/cluster-api-provider-azure presubmit Registry content changed
pull-ci-openshift-cluster-api-provider-azure-release-4.22-hypershift-e2e-aks openshift/cluster-api-provider-azure presubmit Registry content changed
pull-ci-openshift-cluster-api-provider-azure-release-4.21-hypershift-e2e-aks openshift/cluster-api-provider-azure presubmit Registry content changed
pull-ci-openshift-cluster-api-provider-azure-release-4.20-hypershift-e2e-aks openshift/cluster-api-provider-azure presubmit Registry content changed
pull-ci-openshift-cluster-api-provider-azure-release-4.19-hypershift-e2e-aks openshift/cluster-api-provider-azure presubmit Registry content changed
pull-ci-openshift-cluster-ingress-operator-master-hypershift-e2e-aks openshift/cluster-ingress-operator presubmit Registry content changed
pull-ci-openshift-cluster-ingress-operator-release-5.1-hypershift-e2e-aks openshift/cluster-ingress-operator presubmit Registry content changed
pull-ci-openshift-cluster-ingress-operator-release-5.0-hypershift-e2e-aks openshift/cluster-ingress-operator presubmit Registry content changed
pull-ci-openshift-cluster-ingress-operator-release-4.23-hypershift-e2e-aks openshift/cluster-ingress-operator presubmit Registry content changed
pull-ci-openshift-cluster-ingress-operator-release-4.22-hypershift-e2e-aks openshift/cluster-ingress-operator presubmit Registry content changed
pull-ci-openshift-cluster-ingress-operator-release-4.21-hypershift-e2e-aks openshift/cluster-ingress-operator presubmit Registry content changed
pull-ci-openshift-cluster-ingress-operator-release-4.20-hypershift-e2e-aks openshift/cluster-ingress-operator presubmit Registry content changed
pull-ci-openshift-cluster-ingress-operator-release-4.19-hypershift-e2e-aks openshift/cluster-ingress-operator presubmit Registry content changed
pull-ci-openshift-cluster-storage-operator-main-hypershift-e2e-aks openshift/cluster-storage-operator presubmit Registry content changed
pull-ci-openshift-cluster-storage-operator-release-5.1-hypershift-e2e-aks openshift/cluster-storage-operator presubmit Registry content changed
pull-ci-openshift-cluster-storage-operator-release-5.0-hypershift-e2e-aks openshift/cluster-storage-operator presubmit Registry content changed
pull-ci-openshift-cluster-storage-operator-release-4.23-hypershift-e2e-aks openshift/cluster-storage-operator presubmit Registry content changed

A total of 773 jobs have been affected by this change. The above listing is non-exhaustive and limited to 25 jobs.

A full list of affected jobs can be found here

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.

@devguyio

Copy link
Copy Markdown
Contributor Author

/pj-rehearse pull-ci-openshift-hypershift-release-4.21-e2e-aws-upgrade-hypershift-operator

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

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

@csrwng

csrwng commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

/lgtm

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Jun 30, 2026
@openshift-ci

openshift-ci Bot commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: csrwng, devguyio, enxebre, muraee

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

@devguyio

devguyio commented Jul 1, 2026

Copy link
Copy Markdown
Contributor Author

/pj-rehearse ack

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

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

@openshift-merge-bot openshift-merge-bot Bot added the rehearsals-ack Signifies that rehearsal jobs have been acknowledged label Jul 1, 2026
@openshift-merge-bot
openshift-merge-bot Bot merged commit d613449 into openshift:main Jul 1, 2026
8 of 19 checks passed
krisnababu pushed a commit to oharan2/release that referenced this pull request Jul 3, 2026
…<= 4.22 (openshift#81259)

* hypershift: gate scale-from-zero flags behind ENABLE_SCALE_FROM_ZERO toggle

PR openshift#72805 added --scale-from-zero-provider and --scale-from-zero-creds
unconditionally to the hypershift install step. This broke upgrade-hypershift-operator
jobs on pre-4.22 branches because those release-tagged operator images lack the flags.

Move the flags behind an ENABLE_SCALE_FROM_ZERO env var (default true) and set it
to false for the upgrade-hypershift-operator test in 4.19, 4.20, and 4.21 configs.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Ahmed Abdalla <aabdelre@redhat.com>

* hypershift: move scale-from-zero flags inside AWS case block

Address review feedback: keep AWS-specific --scale-from-zero-provider
and --scale-from-zero-creds inside the AWS case block rather than
in EXTRA_ARGS, which leaks into Azure/GCP/other install paths.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Ahmed Abdalla <aabdelre@redhat.com>

* hypershift: upgrade test should upgrade to the PR-built operator image

The upgrade-hypershift-operator test on release branches <= 4.22 was
upgrading to hypershift-operator:latest (main) instead of the
version-tagged image built from the PR. Override CI_HYPERSHIFT_OPERATOR
to point to the PR-built hypershift-operator-4XX image.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Ahmed Abdalla <aabdelre@redhat.com>

---------

Signed-off-by: Ahmed Abdalla <aabdelre@redhat.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
andrej1991 pushed a commit to andrej1991/release that referenced this pull request Jul 6, 2026
…<= 4.22 (openshift#81259)

* hypershift: gate scale-from-zero flags behind ENABLE_SCALE_FROM_ZERO toggle

PR openshift#72805 added --scale-from-zero-provider and --scale-from-zero-creds
unconditionally to the hypershift install step. This broke upgrade-hypershift-operator
jobs on pre-4.22 branches because those release-tagged operator images lack the flags.

Move the flags behind an ENABLE_SCALE_FROM_ZERO env var (default true) and set it
to false for the upgrade-hypershift-operator test in 4.19, 4.20, and 4.21 configs.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Ahmed Abdalla <aabdelre@redhat.com>

* hypershift: move scale-from-zero flags inside AWS case block

Address review feedback: keep AWS-specific --scale-from-zero-provider
and --scale-from-zero-creds inside the AWS case block rather than
in EXTRA_ARGS, which leaks into Azure/GCP/other install paths.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Ahmed Abdalla <aabdelre@redhat.com>

* hypershift: upgrade test should upgrade to the PR-built operator image

The upgrade-hypershift-operator test on release branches <= 4.22 was
upgrading to hypershift-operator:latest (main) instead of the
version-tagged image built from the PR. Override CI_HYPERSHIFT_OPERATOR
to point to the PR-built hypershift-operator-4XX image.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Ahmed Abdalla <aabdelre@redhat.com>

---------

Signed-off-by: Ahmed Abdalla <aabdelre@redhat.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
smulje pushed a commit to smulje/release that referenced this pull request Jul 9, 2026
…<= 4.22 (openshift#81259)

* hypershift: gate scale-from-zero flags behind ENABLE_SCALE_FROM_ZERO toggle

PR openshift#72805 added --scale-from-zero-provider and --scale-from-zero-creds
unconditionally to the hypershift install step. This broke upgrade-hypershift-operator
jobs on pre-4.22 branches because those release-tagged operator images lack the flags.

Move the flags behind an ENABLE_SCALE_FROM_ZERO env var (default true) and set it
to false for the upgrade-hypershift-operator test in 4.19, 4.20, and 4.21 configs.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Ahmed Abdalla <aabdelre@redhat.com>

* hypershift: move scale-from-zero flags inside AWS case block

Address review feedback: keep AWS-specific --scale-from-zero-provider
and --scale-from-zero-creds inside the AWS case block rather than
in EXTRA_ARGS, which leaks into Azure/GCP/other install paths.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Ahmed Abdalla <aabdelre@redhat.com>

* hypershift: upgrade test should upgrade to the PR-built operator image

The upgrade-hypershift-operator test on release branches <= 4.22 was
upgrading to hypershift-operator:latest (main) instead of the
version-tagged image built from the PR. Override CI_HYPERSHIFT_OPERATOR
to point to the PR-built hypershift-operator-4XX image.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Ahmed Abdalla <aabdelre@redhat.com>

---------

Signed-off-by: Ahmed Abdalla <aabdelre@redhat.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
SachinNinganure pushed a commit to SachinNinganure/release that referenced this pull request Jul 20, 2026
…<= 4.22 (openshift#81259)

* hypershift: gate scale-from-zero flags behind ENABLE_SCALE_FROM_ZERO toggle

PR openshift#72805 added --scale-from-zero-provider and --scale-from-zero-creds
unconditionally to the hypershift install step. This broke upgrade-hypershift-operator
jobs on pre-4.22 branches because those release-tagged operator images lack the flags.

Move the flags behind an ENABLE_SCALE_FROM_ZERO env var (default true) and set it
to false for the upgrade-hypershift-operator test in 4.19, 4.20, and 4.21 configs.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Ahmed Abdalla <aabdelre@redhat.com>

* hypershift: move scale-from-zero flags inside AWS case block

Address review feedback: keep AWS-specific --scale-from-zero-provider
and --scale-from-zero-creds inside the AWS case block rather than
in EXTRA_ARGS, which leaks into Azure/GCP/other install paths.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Ahmed Abdalla <aabdelre@redhat.com>

* hypershift: upgrade test should upgrade to the PR-built operator image

The upgrade-hypershift-operator test on release branches <= 4.22 was
upgrading to hypershift-operator:latest (main) instead of the
version-tagged image built from the PR. Override CI_HYPERSHIFT_OPERATOR
to point to the PR-built hypershift-operator-4XX image.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Ahmed Abdalla <aabdelre@redhat.com>

---------

Signed-off-by: Ahmed Abdalla <aabdelre@redhat.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
amogh-redhat pushed a commit to amogh-redhat/release that referenced this pull request Aug 5, 2026
…<= 4.22 (openshift#81259)

* hypershift: gate scale-from-zero flags behind ENABLE_SCALE_FROM_ZERO toggle

PR openshift#72805 added --scale-from-zero-provider and --scale-from-zero-creds
unconditionally to the hypershift install step. This broke upgrade-hypershift-operator
jobs on pre-4.22 branches because those release-tagged operator images lack the flags.

Move the flags behind an ENABLE_SCALE_FROM_ZERO env var (default true) and set it
to false for the upgrade-hypershift-operator test in 4.19, 4.20, and 4.21 configs.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Ahmed Abdalla <aabdelre@redhat.com>

* hypershift: move scale-from-zero flags inside AWS case block

Address review feedback: keep AWS-specific --scale-from-zero-provider
and --scale-from-zero-creds inside the AWS case block rather than
in EXTRA_ARGS, which leaks into Azure/GCP/other install paths.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Ahmed Abdalla <aabdelre@redhat.com>

* hypershift: upgrade test should upgrade to the PR-built operator image

The upgrade-hypershift-operator test on release branches <= 4.22 was
upgrading to hypershift-operator:latest (main) instead of the
version-tagged image built from the PR. Override CI_HYPERSHIFT_OPERATOR
to point to the PR-built hypershift-operator-4XX image.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Ahmed Abdalla <aabdelre@redhat.com>

---------

Signed-off-by: Ahmed Abdalla <aabdelre@redhat.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
TimurMP pushed a commit to TimurMP/release that referenced this pull request Sep 5, 2026
…<= 4.22 (openshift#81259)

* hypershift: gate scale-from-zero flags behind ENABLE_SCALE_FROM_ZERO toggle

PR openshift#72805 added --scale-from-zero-provider and --scale-from-zero-creds
unconditionally to the hypershift install step. This broke upgrade-hypershift-operator
jobs on pre-4.22 branches because those release-tagged operator images lack the flags.

Move the flags behind an ENABLE_SCALE_FROM_ZERO env var (default true) and set it
to false for the upgrade-hypershift-operator test in 4.19, 4.20, and 4.21 configs.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Ahmed Abdalla <aabdelre@redhat.com>

* hypershift: move scale-from-zero flags inside AWS case block

Address review feedback: keep AWS-specific --scale-from-zero-provider
and --scale-from-zero-creds inside the AWS case block rather than
in EXTRA_ARGS, which leaks into Azure/GCP/other install paths.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Ahmed Abdalla <aabdelre@redhat.com>

* hypershift: upgrade test should upgrade to the PR-built operator image

The upgrade-hypershift-operator test on release branches <= 4.22 was
upgrading to hypershift-operator:latest (main) instead of the
version-tagged image built from the PR. Override CI_HYPERSHIFT_OPERATOR
to point to the PR-built hypershift-operator-4XX image.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Ahmed Abdalla <aabdelre@redhat.com>

---------

Signed-off-by: Ahmed Abdalla <aabdelre@redhat.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. rehearsals-ack Signifies that rehearsal jobs have been acknowledged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants