CM-1223: [cert-manager-operator] run TLS profile e2e tests in tls-scanner job - #83634
CM-1223: [cert-manager-operator] run TLS profile e2e tests in tls-scanner job#83634chiragkyal wants to merge 1 commit into
Conversation
|
@chiragkyal: This pull request references CM-1223 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "5.1.0" version, but no target version was set. DetailsIn response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: chiragkyal 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 |
|
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)
Included review availability: Your plan provides up to 12 included reviews per hour; 10 remain after this review. WalkthroughThe CI configuration excludes ChangesTLSProfile testing
Estimated code review effort: 1 (Trivial) | ~5 minutes Merge Risk: ⚪ Minimal · up to This localized CI configuration change is merge-ready after normal checks and review; no actionable merge-blocking risk remains. Suggested reviewers: 🚥 Pre-merge checks | ✅ 15✅ Passed checks (15 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Add a test-tls-profile step to the tls-scanner job that runs the Feature:TLSProfile e2e suite on the standalone AWS cluster. The tls-13 step already enables the TLSAdherence feature gate and stabilizes the cluster before this step runs, and AfterAll restores the original apiserver state so tls-scanner-run is unaffected. Exclude Feature:TLSProfile from the e2e-operator-tech-preview job to prevent the suite from being scheduled on HyperShift, where apiserver/cluster is immutable and the tests would always skip. Signed-off-by: chiragkyal <ckyal@redhat.com>
6aea352 to
ed6aa4c
Compare
|
[REHEARSALNOTIFIER]
Interacting with pj-rehearseComment: Once you are satisfied with the results of the rehearsals, comment: |
|
/pj-rehearse |
|
@chiragkyal: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
@chiragkyal: 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 result: The new step fired correctly — 1 of 175 specs matched the label filter. The test skipped due to a discriminated union bug in the current main branch test code (patching So I think as far as these PR changes are concerned, we are good. |
Summary
Add a test-tls-profile step to the tls-scanner job that runs the
Feature:TLSProfilee2e suite on the standalone AWS cluster. The tls-13 step already enables theTLSAdherencefeature gate and stabilizes the cluster before this step runs, andAfterAllrestores the originalapiserverstate sotls-scanner-runis unaffected.Exclude
Feature:TLSProfilefrom thee2e-operator-tech-previewjob to prevent the suite from being scheduled on HyperShift, whereapiserver/clusteris immutable and the tests would always skip.Context
The techpreview jobs are running in a HyperShift Cluster, where the
apiserver.config.openshift.io/clusterobject is immutable from inside the guest cluster.So to run these tests need would need a standalone OCP cluster with TechPreviewNoUpgrade FeatureSet enabled.
See: openshift/cert-manager-operator#449 (comment)
Summary by CodeRabbit
cert-manager-operator.test-tls-profilestep to thetls-scannerjob forFeature:TLSProfiletests on standalone AWS clusters.Feature:TLSProfilefrome2e-operator-tech-previewbecause HyperShift clusters cannot modifyapiserver/cluster.TechPreviewNoUpgradeenabled.