From 78bfc5f3ecf2216fb63096a7fee8086ad96483e4 Mon Sep 17 00:00:00 2001 From: Sven Tennie Date: Tue, 8 Nov 2022 15:17:05 +0100 Subject: [PATCH] fix: Omit integration test containers in offline bundle (SQPIT-1357) There's no need to deliver our tests to customers. It only increases the artifact size. --- offline/ci.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/offline/ci.sh b/offline/ci.sh index 39bb6a88f..fa5add086 100755 --- a/offline/ci.sh +++ b/offline/ci.sh @@ -111,9 +111,11 @@ done # This is needed to bundle it's image. sed -i -Ee 's/federator: false/federator: true/' "$(pwd)"/values/wire-server/prod-values.example.yaml +# Get and dump required containers from Helm charts. Omit integration test +# containers (e.g. `quay.io_wire_galley-integration_4.22.0`.) for chartPath in "$(pwd)"/charts/*; do echo "$chartPath" -done | list-helm-containers | create-container-dump containers-helm +done | list-helm-containers | grep -v "\-integration:" | create-container-dump containers-helm # Undo changes on wire-server values.yaml sed -i -Ee 's/federator: true/federator: false/' "$(pwd)"/values/wire-server/prod-values.example.yaml