Skip to content
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

Backport "stf-run-ci: get operator info from CSV instead of image metadata (#643)" #644

Merged
merged 1 commit into from
Nov 8, 2024

Conversation

compi-migui
Copy link
Contributor

  • stf-run-ci: get operator info from CSV instead of image metadata

OLM cares about CSV contents, not image metadata. Getting operator package information directly from the CSV guarantees that the index image we generate will actually work with the operator-bundles we're trying to test.

  • [stf-run-ci][create_catalog] Fetch files to ansible controller before trying to load vars

  • [stf-run-ci][create_catalog] Default package name in local build only

Local builds get the default package name, non-local ones will get it from the actual bundle's CSV.

  • [stf-run-ci][create_catalog] Fixup Zuul workdir reference

  • [stf-run-ci][create_catalog] Fixup SGO bundle local build package name


Co-authored-by: Emma Foley [email protected]
(cherry picked from commit e67d43b)

Backport of #643

* stf-run-ci: get operator info from CSV instead of image metadata

OLM cares about CSV contents, not image metadata. Getting operator
package information directly from the CSV guarantees that the index
image we generate will actually work with the operator-bundles we're
trying to test.

* [stf-run-ci][create_catalog] Fetch files to ansible controller before trying to load vars

* [stf-run-ci][create_catalog] Default package name in local build only

Local builds get the default package name, non-local ones will get it
from the actual bundle's CSV.

* [stf-run-ci][create_catalog] Fixup Zuul workdir reference

* [stf-run-ci][create_catalog] Fixup SGO bundle local build package name

---------

Co-authored-by: Emma Foley <[email protected]>
(cherry picked from commit e67d43b)
Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/d07b1bf15b204232ac72b948d1efc8ce

stf-crc-ocp_414-local_build FAILURE in 51m 49s
✔️ stf-crc-ocp_416-local_build SUCCESS in 36m 10s
stf-crc-ocp_414-local_build-index_deploy RETRY_LIMIT in 25m 33s
✔️ stf-crc-ocp_416-local_build-index_deploy SUCCESS in 39m 12s
stf-crc-ocp_414-nightly_bundles-index_deploy FAILURE in 35m 36s
✔️ stf-crc-ocp_416-nightly_bundles-index_deploy SUCCESS in 32m 05s

@vkmc vkmc merged commit c095c67 into stable-1.5 Nov 8, 2024
9 of 10 checks passed
@vkmc vkmc deleted the migarcia-backport-ci-bundle-info-from-csv-files branch November 8, 2024 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants