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" #645

Closed
wants to merge 6 commits into from

Conversation

vkmc
Copy link
Collaborator

@vkmc vkmc commented Nov 8, 2024

Backport of #643

Downstream CVP uses the stable-1.5 branch and breaks without this.

(cherry picked from commit e67d43b)

vkmc and others added 6 commits August 29, 2024 18:25
…ld (#634)

Set the BUNDLE_CHANNELS and BUNDLE_DEFAULT_CHANNEL when
doing a local build. This is required when doing a deployment
from index with local builds.

Co-authored-by: [email protected] <[email protected]>
* Get tag from the name instead of the metadata

Retrieve image tag from name instead of the
image metadata when deploying from index with pre-built
bundles.

* Add operator_bundle_tag to s*o_bundle_info

Keep track of the tag being used for a bundle
in the operator_bundle_tag var

This is required when deploying from index +
prebuilt bundles, since the tag of the bundle
and the version in the metadata might differ

* Set a default for STO/SGO path when local build

The STO/SGO image path needs a default when doing
a local build. When deploying from index + prebuilt
bundles we set this path when the bundles get
imported.

Add a conditional to avoid overwriting facts.
* Use openshift-ansible-operator 4.17 in STO

* Use operator-framework/ansible-operator v1.35.0

Images for origin-ansible-operator are no longer
being published. We can use ansible-operator
directly.

ansible-operator v1.35.0 should replace
origin-ansible-operator v4.17

* Add ansible-galaxy requirements to STO

This change [0] in the ansible-operator introduced the
removal of both k8s and operator_sdk.util from the base image.
This means we now need to add the dependendencies ourselves
when building STO.

[0] operator-framework/operator-sdk#6483
…adata"

Backport of #643

Downstream CVP uses the stable-1.5 branch and breaks without this.

(cherry picked from commit e67d43b)
Copy link

Merge Failed.

This change or one of its cross-repo dependencies was unable to be automatically merged with the current state of its repository. Please rebase the change and upload a new patchset.
Warning:
Error merging github.com/infrawatch/service-telemetry-operator for 645,73861752bdc9692688f147cb0b548309342bfbba

@vkmc vkmc closed this Nov 8, 2024
@vkmc vkmc deleted the ci-bundle-info-from-csv-files-backport branch November 8, 2024 12:06
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