From d6c063a2f7d9c9d3449d284013e66c14fec76521 Mon Sep 17 00:00:00 2001 From: Travis Nielsen Date: Thu, 6 Jan 2022 10:37:39 -0700 Subject: [PATCH] build: replace local build tag with regex The local build tag replacement in the CI should work the same whether in master or release branches, so we use a regex to match any rook/ceph tag to be renamed to the local-build tag. Signed-off-by: Travis Nielsen (cherry picked from commit 7167de0601afb9aa28d8737df75e6558421530e6) --- .github/workflows/canary-integration-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/canary-integration-test.yml b/.github/workflows/canary-integration-test.yml index 7174a9daa..7422c3114 100644 --- a/.github/workflows/canary-integration-test.yml +++ b/.github/workflows/canary-integration-test.yml @@ -86,7 +86,7 @@ jobs: sed -i 's//1/' deploy/examples/osd-purge.yaml # the CI must force the deletion since we use replica 1 on 2 OSDs sed -i 's/false/true/' deploy/examples/osd-purge.yaml - sed -i 's|rook/ceph:v1.8.2|rook/ceph:local-build|' deploy/examples/osd-purge.yaml + sed -i 's|rook/ceph:.*|rook/ceph:local-build|' deploy/examples/osd-purge.yaml kubectl -n rook-ceph create -f deploy/examples/osd-purge.yaml toolbox=$(kubectl get pod -l app=rook-ceph-tools -n rook-ceph -o jsonpath='{.items[*].metadata.name}') kubectl -n rook-ceph exec $toolbox -- ceph status