From 4bbf8b815165d463a4be4d3920887ef69e9a8ecf Mon Sep 17 00:00:00 2001 From: Lukas Piwowarski Date: Fri, 12 Apr 2024 17:13:32 +0200 Subject: [PATCH] Add test operator into the openstack-operator-index 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 --- hack/pin-bundle-images.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hack/pin-bundle-images.sh b/hack/pin-bundle-images.sh index 173df3b90..fce0b0aee 100755 --- a/hack/pin-bundle-images.sh +++ b/hack/pin-bundle-images.sh @@ -88,4 +88,8 @@ done if [ -z "$DOCKERFILE" ]; then # pin rabbit to sha256 for the e2d413c102bc73d4b5e186d1d1b1f9bf728701e1 tag (v2.6.0) echo -n ",quay.io/openstack-k8s-operators/rabbitmq-cluster-operator-bundle@sha256:261306a5a39a379079a7f30491491ce1bd3ae3e21d9610af9734e4e56d32358d" + + 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}" fi