Skip to content

Commit

Permalink
fix: Omit integration test containers in offline bundle (SQPIT-1357)
Browse files Browse the repository at this point in the history
There's no need to deliver our tests to customers. It only increases the
artifact size.
  • Loading branch information
supersven committed Nov 24, 2022
1 parent 927806b commit 78bfc5f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion offline/ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 78bfc5f

Please sign in to comment.