HIVE-3096: CI: Skip image signature verification#2869
Conversation
|
@2uasimojo: An error was encountered searching for bug HIVE-3096 on the Jira server at https://issues.redhat.com. No known errors were detected, please see the full error message for details. Full error message.
No response returned: Get "https://issues.redhat.com/rest/api/2/issue/HIVE-3096": GET https://issues.redhat.com/rest/api/2/issue/HIVE-3096 giving up after 5 attempt(s)
Please contact an administrator to resolve this issue, then request a bug refresh with 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. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughScripts that create test clusters now inject an Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
Comment |
|
@2uasimojo: An error was encountered searching for bug HIVE-3096 on the Jira server at https://issues.redhat.com. No known errors were detected, please see the full error message for details. Full error message.
No response returned: Get "https://issues.redhat.com/rest/api/2/issue/HIVE-3096": GET https://issues.redhat.com/rest/api/2/issue/HIVE-3096 giving up after 5 attempt(s)
Please contact an administrator to resolve this issue, then request a bug refresh with 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. |
|
/hold This shouldn't affect presubmits at all. So once e2e[-pool] passes, we want to look at the artifacts and make sure the CD got the following in .spec.provisioning: "installerEnv": [{
"name": "OPENSHIFT_INSTALL_EXPERIMENTAL_DISABLE_IMAGE_POLICY",
"value": "true"
}]The final verification will be whether our e2e-weekly periodic starts to succeed (been experimenting via openshift/release#75057). |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@hack/e2e-test.sh`:
- Line 118: The jq command is assigning an object to
.items[0].spec.provisioning.installerEnv but the Hive API/CRD expects
installerEnv to be an array ([]EnvVar); change the assignment to provide an
array of env var objects instead of a single object. Update the jq expression
that sets .items[0].spec.provisioning.installerEnv (the line with jq
'.items[0].spec.controlPlaneConfig.apiURLOverride = "bogus-url.example.com" |
.items[0].spec.provisioning.installerEnv = ...') so it assigns a JSON array like
[{"name":"OPENSHIFT_INSTALL_EXPERIMENTAL_DISABLE_IMAGE_POLICY","value":"true"}]
rather than a bare object.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: 70481965-6176-4186-81e2-86aa78f23523
📒 Files selected for processing (1)
hack/e2e-test.sh
706b247 to
5bc9621
Compare
Prerequisite to being able to run our CI against 4.22 nightlies, we have to instruct installer to skip image signature verification, as nightly payloads are not being signed. Ref: https://groups.google.com/u/1/a/redhat.com/g/openshift-eng/c/CLErmvJ2lY0 As written, this will also be set for presubmits against GAed releases. That's okay -- signature verification testing is well covered elsewhere.
5bc9621 to
bbf4326
Compare
|
@2uasimojo: An error was encountered searching for bug HIVE-3096 on the Jira server at https://issues.redhat.com. No known errors were detected, please see the full error message for details. Full error message.
No response returned: Get "https://issues.redhat.com/rest/api/2/issue/HIVE-3096": GET https://issues.redhat.com/rest/api/2/issue/HIVE-3096 giving up after 5 attempt(s)
Please contact an administrator to resolve this issue, then request a bug refresh with 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. |
|
@2uasimojo: all tests passed! 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. |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: 2uasimojo, suhanime 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 |
|
/hold cancel installerEnv confirmed in the real CD for e2e; and the clusterpool and all CDs for e2e-pool ✓ |
Prerequisite to being able to run our CI against 4.22 nightlies, we have to instruct installer to skip image signature verification, as nightly payloads are not being signed.
Ref: https://groups.google.com/u/1/a/redhat.com/g/openshift-eng/c/CLErmvJ2lY0
As written, this will also be set for presubmits against GAed releases. That's okay -- signature verification testing is well covered elsewhere.
Summary by CodeRabbit