feat(hypershift/gcp): add e2e-v2 GKE workflow and presubmit job#77007
feat(hypershift/gcp): add e2e-v2 GKE workflow and presubmit job#77007cristianoveiga wants to merge 3 commits intoopenshift:mainfrom
Conversation
|
/pj-rehearse pull-ci-openshift-hypershift-main-e2e-v2-gke |
46fc27f to
3456bb6
Compare
|
/pj-rehearse pull-ci-openshift-hypershift-main-e2e-v2-gke |
|
/pj-rehearse pull-ci-openshift-hypershift-main-e2e-v2-gke |
|
/retest-required |
|
/pj-rehearse pull-ci-openshift-hypershift-main-e2e-v2-gke |
|
@cristianoveiga: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
3456bb6 to
b8004ec
Compare
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: cristianoveiga The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
The e2e-gke workflow had HYPERSHIFT_GCP_CI_DNS_ZONE set to "hypershift-ci-zone" but the actual zone is "hypershift-ci-gcp-hcp-openshiftapps-com". This caused the deprovision step's DNS cleanup to silently fail. Additionally, the gcloud dns list command had 2>/dev/null || true which swallowed permission errors (403 Forbidden), making it appear that no DNS records existed. Replace with explicit error handling that logs failures instead of hiding them. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
b8004ec to
0387ab2
Compare
|
/pj-rehearse pull-ci-openshift-hypershift-main-e2e-v2-gke |
|
@cristianoveiga: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
DNS cleanup failures were logged as warnings but the step still exited 0, making orphaned DNS records invisible. Since the step has best_effort: true, failing it won't block the job but will surface the issue in the Prow UI. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
CNTRLPLANE-2904: Add a v2 e2e CI workflow for HyperShift GCP on GKE. - hypershift-gcp-create chain: creates a GCP HostedCluster using the hypershift CLI and waits for version rollout - hypershift-gcp-destroy chain: destroys the HostedCluster CR with grace period for ExternalDNS cleanup - hypershift-gcp-gke-e2e-v2 workflow: reuses v1 pre steps with new create/destroy chains and shared hypershift-e2e-v2 test chain - e2e-v2-gke presubmit: optional job triggered on GCP file changes Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0387ab2 to
639f29b
Compare
|
PR needs rebase. 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. |
|
[REHEARSALNOTIFIER] Note: If this PR includes changes to step registry files ( Interacting with pj-rehearseComment: Once you are satisfied with the results of the rehearsals, comment: |
|
@cristianoveiga: The following tests 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. |
Summary
CNTRLPLANE-2904: Add a v2 e2e CI workflow for HyperShift GCP on GKE.
hypershift-gcp-createchain — creates a GCP HostedCluster using thehypershift create cluster gcpCLI and waits for version rollouthypershift-gcp-destroychain — destroys the HostedCluster CR with a grace period for ExternalDNS cleanuphypershift-gcp-gke-e2e-v2workflow — reuses all v1 pre steps (GKE provisioning, prerequisites, operator install, WIF/network setup) and adds the new create/destroy chains with the sharedhypershift-e2e-v2test chaine2e-v2-gkepresubmit — optional job triggered on GCP-related file changesAlso includes the DNS zone name fix and error surfacing from #76993.
v1 vs v2 differences
e2e-gke)e2e-v2-gke)hack/ci-test-e2e.sh(v1)bin/test-e2e-v2(Ginkgo v2)Dependencies
Test plan
make updatesucceeds/pj-rehearse pull-ci-openshift-hypershift-main-e2e-v2-gke🤖 Generated with Claude Code