Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: wireapp/wire-server-deploy
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 9446e4b6dd076fc7d49e701a2cc5a253996c3e3b
Choose a base ref
..
head repository: wireapp/wire-server-deploy
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 96a8d5dcd8321eb25097033b206e392b262d34cb
Choose a head ref
Showing with 4 additions and 6 deletions.
  1. +4 −6 nix/scripts/list-helm-containers.sh
10 changes: 4 additions & 6 deletions nix/scripts/list-helm-containers.sh
Original file line number Diff line number Diff line change
@@ -6,7 +6,6 @@
# In cases where no container image tag has been specified, it'll use `latest`.
# The list is sorted and deduplicated, then printed to stdout.
set -eou pipefail
set -x

# Some of these images don't contain a "latest" tag. We don't to download /ALL/
# of them, but only :latest in that case - it's bad enough there's no proper
@@ -32,12 +31,11 @@ while IFS= read -r chart; do
echo "Running helm template on chart ${chart}" >&2
# The image values are left as-is
helm template --debug "$chart" \
--set secrets.zrestSecret=emptyString \
--set secrets.zrestSecrets={} \
--set federate.dtls.tls.key=emptyString \
--set federate.dtls.tls.crt=emptyString \
#--set secrets.zrestSecret=emptyString \
#--set secrets.zrestSecrets={} \
#--set federate.dtls.tls.key=emptyString \
#--set federate.dtls.tls.crt=emptyString \
$( [[ -f ./values/$(basename $chart)/prod-values.example.yaml ]] && echo "-f ./values/$(basename $chart)/prod-values.example.yaml" ) \
$( [[ -f ./values/$(basename $chart)/prod-secrets.example.yaml ]] && echo "-f ./values/$(basename $chart)/prod-secrets.example.yaml" ) \
| yq -r '..|.image? | select(.)' | optionally_complain | sort -u
done | sort -u
set +x