-
Notifications
You must be signed in to change notification settings - Fork 78
UPSTREAM: <carry>: automate OCP-40945 #1209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: bandrade 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 |
| o.Expect(output).To(o.ContainSubstring("quay.io/windupeng/windup-operator-native:0.0.5")) | ||
| }) | ||
|
|
||
| g.It("PolarionID:40945-[OTP][Skipped:Disconnected] opm render community operator index to local yaml", g.Label("original-name:[sig-operator][Jira:OLM] OLMv0 opm should PolarionID:40945-[Skipped:Disconnected] opm render community operator index to local yaml"), func() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bandrade it is first time to be added into OTE, so should no g.Label("original-name:
| err = os.MkdirAll(outputDir, 0755) | ||
| o.Expect(err).NotTo(o.HaveOccurred()) | ||
|
|
||
| output, err := renderCLI.Run("render").Args("registry.redhat.io/redhat/community-operator-index:v4.6", "-o", "yaml").Output() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bandrade is it still use 4.6? or change it to 4.21?
|
|
||
| content, err := os.ReadFile(indexFilePath) | ||
| o.Expect(err).NotTo(o.HaveOccurred()) | ||
| o.Expect(string(content)).To(o.ContainSubstring("schema: olm.bundle")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bandrade the content could be possible so big, and it will be error message once fails for your code. it is so big error message.
so
o.Expect(string(content)).To(o.ContainSubstring("schema: olm.bundle"))
o.Expect(string(content)).To(o.ContainSubstring("schema: olm.package"))to
o.Expect(strings.Contains(content,"schema: olm.bundle")).To(o.BeTrue(), )
o.Expect(strings.Contains(content,"schema: olm.package")).To(o.BeTrue())|
/payload-aggregate periodic-ci-openshift-operator-framework-olm-release-4.22-periodics-e2e-azure-ovn-slow-extended-f2 3 |
|
@kuiwang02: trigger 1 job(s) for the /payload-(with-prs|job|aggregate|job-with-prs|aggregate-with-prs) command
See details on https://pr-payload-tests.ci.openshift.org/runs/ci/c5f763e0-fbf1-11f0-8b8e-ac926ffcc96b-0 |
|
/payload-aggregate periodic-ci-openshift-operator-framework-olm-release-4.22-periodics-e2e-gcp-ovn-csi-extended-f3 3 |
|
@kuiwang02: trigger 1 job(s) for the /payload-(with-prs|job|aggregate|job-with-prs|aggregate-with-prs) command
See details on https://pr-payload-tests.ci.openshift.org/runs/ci/0c9f0190-fbf2-11f0-8218-d36fe4a69ffd-0 |
|
@bandrade did you run the case successfully in your local env? |
|
/payload-job periodic-ci-openshift-operator-framework-olm-release-4.22-periodics-e2e-gcp-ovn-csi-extended-f3 |
|
@kuiwang02: trigger 1 job(s) for the /payload-(with-prs|job|aggregate|job-with-prs|aggregate-with-prs) command
See details on https://pr-payload-tests.ci.openshift.org/runs/ci/aa75ef10-fc0f-11f0-82aa-2806433f18b4-0 |
No description provided.