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

Add test operator into the openstack-operator-index #752

Merged

Conversation

lpiwowar
Copy link
Contributor

@lpiwowar lpiwowar commented Apr 12, 2024

This patch adds the test-operator into the openstack-operator-index.
Up until now the test-operator had its own index called
test-operator-index [1].

[1] https://quay.io/repository/openstack-k8s-operators/test-operator-index

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://review.rdoproject.org/zuul/buildset/491617132baf4a99a93badec27c0cc68

✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 54m 00s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 11m 17s
cifmw-crc-podified-edpm-baremetal RETRY_LIMIT in 11m 16s
✔️ openstack-operator-tempest-multinode SUCCESS in 1h 30m 28s

@viroel
Copy link
Contributor

viroel commented Apr 12, 2024

/test openstack-operator-build-deploy-kuttl

@lpiwowar lpiwowar force-pushed the add-test-operator branch 2 times, most recently from 83f70f2 to c209f7f Compare April 15, 2024 14:31
@lpiwowar lpiwowar requested a review from viroel April 15, 2024 14:32
lpiwowar added a commit to openstack-k8s-operators/test-operator that referenced this pull request Apr 15, 2024
With this change [1] we moved the test-operator to
openstack-operator-index. Let's update the documentation to reflect
this.

[1] openstack-k8s-operators/openstack-operator#752

Depends-On: openstack-k8s-operators/openstack-operator#752
@lpiwowar lpiwowar requested a review from kopecmartin April 15, 2024 14:57
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://review.rdoproject.org/zuul/buildset/f42725c46b7e474d90c430340c545e71

✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 40m 58s
podified-multinode-edpm-deployment-crc FAILURE in 28m 25s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 21m 18s
openstack-operator-tempest-multinode FAILURE in 31m 55s

@lpiwowar
Copy link
Contributor Author

recheck

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://review.rdoproject.org/zuul/buildset/401b07b847ed4512b6eee963ae9f5b6b

✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 54m 51s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 09m 10s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 16m 26s
openstack-operator-tempest-multinode FAILURE in 1h 36m 06s

@lpiwowar
Copy link
Contributor Author

recheck

@lpiwowar lpiwowar force-pushed the add-test-operator branch from c209f7f to 4bbf8b8 Compare April 19, 2024 09:04
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://review.rdoproject.org/zuul/buildset/deccf7558a454ba5ae64862a03c1862c

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 00m 31s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 11m 44s
cifmw-crc-podified-edpm-baremetal RETRY_LIMIT in 11m 32s
✔️ openstack-operator-tempest-multinode SUCCESS in 1h 41m 12s

@lpiwowar
Copy link
Contributor Author

recheck

@lpiwowar
Copy link
Contributor Author

@abays, @frenzyfriday, @viroel or @kopecmartin -> I'm sorry for the ping. Can I ask for a review please?

@dprince
Copy link
Contributor

dprince commented Apr 23, 2024

The logic here would always pull the latest test-operator? But every other operator we have integrated with openstack-operator is either promoted (by editing the go.mod file ... typically via Renovate) or pinned explicitly like rabbitmq to a version that we manually bump.

I'm not sure I agree we should go this route. Would a promotion process serve us better?


REPO_CURL_URL="https://quay.io/api/v1/repository/openstack-k8s-operators"
SHA=$(curl -s ${REPO_CURL_URL}/test-operator-bundle/tag/?onlyActiveTags=true?limit=100 | jq -r .tags[].name | sort -u | head -n 1)
echo -n ",quay.io/openstack-k8s-operators/test-operator-bundle:${SHA}"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rather than this we could add a mute go.mod entry by importing the scheme for test-operator into main.go. And thereby have a promotion for this operator.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this sounds like a better solution. I wanted to modify the go.mod entry but I wasn't sure whether it is correct thing to do when test-operator is not direct a requirement for the openstack-operator.

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/openstack-k8s-operators/openstack-operator for 752,c5bf29b49e4848ea0f88b950d8758afcab55f148

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://review.rdoproject.org/zuul/buildset/9301798b97574712a24777cbe9e40af9

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 36m 22s
podified-multinode-edpm-deployment-crc FAILURE in 20m 48s
cifmw-crc-podified-edpm-baremetal FAILURE in 20m 40s
✔️ cifmw-data-plane-adoption-osp-17-to-extracted-crc SUCCESS in 2h 16m 12s
openstack-operator-tempest-multinode FAILURE in 24m 24s

Copy link
Contributor

@jpodivin jpodivin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+2

@stuggi
Copy link
Contributor

stuggi commented Apr 30, 2024

/hold lets hold for now, there is still ongoing discussion how the test-operator gets included

@@ -53,6 +53,7 @@ import (
placementv1 "github.com/openstack-k8s-operators/placement-operator/api/v1beta1"
swiftv1 "github.com/openstack-k8s-operators/swift-operator/api/v1beta1"
telemetryv1 "github.com/openstack-k8s-operators/telemetry-operator/api/v1beta1"
_ "github.com/openstack-k8s-operators/test-operator/api/v1beta1"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

while the dash here implies meaning, it might be worth adding an explicit comment on this one so that someone doesn't come along and remove it afterwards

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got it, thank you, done!

@lpiwowar lpiwowar force-pushed the add-test-operator branch from f3f06e6 to 4c457b6 Compare May 23, 2024 13:41
@lpiwowar lpiwowar requested a review from dprince May 23, 2024 13:42
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://review.rdoproject.org/zuul/buildset/cf4a8877cb014356a91997111b606c74

✔️ openstack-k8s-operators-content-provider SUCCESS in 4h 05m 21s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 21m 40s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 25m 59s
cifmw-data-plane-adoption-osp-17-to-extracted-crc FAILURE in 2h 20m 00s
✔️ openstack-operator-tempest-multinode SUCCESS in 1h 46m 24s

@lpiwowar lpiwowar force-pushed the add-test-operator branch from 4c457b6 to b7c34a8 Compare May 27, 2024 08:43
@openshift-ci openshift-ci bot removed the lgtm label May 27, 2024
@lpiwowar lpiwowar force-pushed the add-test-operator branch from b7c34a8 to 7e5448b Compare May 30, 2024 08:52
@openshift-ci openshift-ci bot added the lgtm label May 30, 2024
This patch adds the test-operator into the openstack-operator-index.
Up until now the test-operator had its own index called
test-operator-index [1].

[1] https://quay.io/repository/openstack-k8s-operators/test-operator-index
@lpiwowar lpiwowar force-pushed the add-test-operator branch from 7e5448b to a61502c Compare May 31, 2024 10:08
@openshift-ci openshift-ci bot removed the lgtm label May 31, 2024
@openshift-ci openshift-ci bot added the lgtm label May 31, 2024
Copy link
Contributor

openshift-ci bot commented May 31, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dprince, lpiwowar

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot openshift-merge-bot bot merged commit ab27ace into openstack-k8s-operators:main Jun 3, 2024
7 checks passed
@lpiwowar lpiwowar deleted the add-test-operator branch June 3, 2024 08:23
lpiwowar added a commit to openstack-k8s-operators/test-operator that referenced this pull request Jun 6, 2024
With this change [1] we moved the test-operator to
openstack-operator-index. Let's update the documentation to reflect
this.

[1] openstack-k8s-operators/openstack-operator#752

Depends-On: openstack-k8s-operators/openstack-operator#752
lpiwowar added a commit to openstack-k8s-operators/test-operator that referenced this pull request Jun 6, 2024
With this change [1] we moved the test-operator to
openstack-operator-index. Let's update the documentation to reflect
this.

[1] openstack-k8s-operators/openstack-operator#752

Depends-On: openstack-k8s-operators/openstack-operator#752
kopecmartin pushed a commit to openstack-k8s-operators/test-operator that referenced this pull request Jun 7, 2024
With this change [1] we moved the test-operator to
openstack-operator-index. Let's update the documentation to reflect
this.

[1] openstack-k8s-operators/openstack-operator#752

Depends-On: openstack-k8s-operators/openstack-operator#752
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants