Skip to content

Commit

Permalink
Look, another merry-go-round!
Browse files Browse the repository at this point in the history
This adjusts the versions of the calling components in the Helm charts using
sed from the build script this time, instead of temporarily committing version
changes into wire-server.
  • Loading branch information
sysvinit committed May 6, 2022
1 parent 1c3045f commit cd4805e
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions offline/ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ tar cf containers-system.tar containers-system
[[ "$INCREMENTAL" -eq 0 ]] && rm -r containers-system

# Used for ansible-restund role
echo "quay.io/wire/restund:v0.6.0-rc.1" | create-container-dump containers-other
echo "quay.io/wire/restund:v0.6.0-rc.2" | create-container-dump containers-other
tar cf containers-other.tar containers-other
[[ "$INCREMENTAL" -eq 0 ]] && rm -r containers-other

Expand Down Expand Up @@ -99,9 +99,9 @@ helm repo add wire-develop https://s3-eu-west-1.amazonaws.com/public.wire.com/ch
helm repo update

# wire_version=$(helm show chart wire/wire-server | yq -r .version)
wire_version="4.0.53"
wire_version="4.9.37"

wire_calling_version="4.7.7"
wire_calling_version="4.9.37"

# Download zauth; as it's needed to generate certificates
echo "quay.io/wire/zauth:$wire_version" | create-container-dump containers-adminhost
Expand All @@ -114,8 +114,10 @@ for chartName in "${calling_charts[@]}"; do
(cd ./charts; helm pull --version "$wire_calling_version" --untar "$chartName")
done

# HACK!
sed -i -Ee 's/2022-02-08-production\.0-v0\.29\.2-0-4d437bb/2022-02-22-federation-cbbb781/' "$(pwd)"/charts/wire-server/charts/webapp/values.yaml
# HACKS!
sed -i -Ee 's/2022-03-30-production\.0-v0\.29\.2-0-d144552/2022-04-19-federation-5b44b66db/' "$(pwd)"/charts/wire-server/charts/webapp/values.yaml
sed -i -Ee 's/v0\.6\.0-rc\.1/v0.6.0-rc.2/' "$(pwd)"/charts/restund/Chart.yaml
sed -i -Ee 's/2\.1\.19/3.1.3/' "$(pwd)"/charts/sftd/Chart.yaml

for chartPath in "$(pwd)"/charts/*; do
echo "$chartPath"
Expand Down

0 comments on commit cd4805e

Please sign in to comment.