Skip to content

Commit a658f28

Browse files
authored
Merge pull request #475 from wireapp/release_2021-06-16
Release: 2021-06-16
2 parents 8554eda + 659fd61 commit a658f28

5 files changed

Lines changed: 20 additions & 9 deletions

File tree

CHANGELOG.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,22 @@
44
55
## Features
66
7-
## versions
7+
## Fixes
8+
9+
## Versions
810
911
## Breaking changes
1012
1113
-->
1214

1315

16+
# 2021-06-16
17+
18+
## Fixes
19+
20+
* [Ansible] Prevent Minio installation from breaking when access or secret key contains `$`
21+
* [CI] Ensure that the right version of wire-server is built into the air-gap bundle
22+
1423

1524
# 2021-06-10
1625

ansible/kube-minio-static-files.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
tasks_from: install-client
1616

1717
- name: "add 'local' mc config alias with correct credentials"
18-
shell: "mc config host add local http://{{ service_cluster_ip }}:9000 {{ minio_access_key }} {{ minio_secret_key }}"
18+
shell: "mc config host add local http://{{ service_cluster_ip }}:9000 '{{ minio_access_key }}' '{{ minio_secret_key }}'"
1919

2020
- name: "create 'public' bucket"
2121
shell: "mc mb --ignore-existing local/public"

ansible/minio.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
tags: bucket-create
5252

5353
- name: "add 'local' mc config alias with correct credentials"
54-
shell: "mc config host add local http://localhost{{ minio_layouts.server1.server_addr }} {{ minio_access_key }} {{ minio_secret_key }}"
54+
shell: "mc config host add local http://localhost{{ minio_layouts.server1.server_addr }} '{{ minio_access_key }}' '{{ minio_secret_key }}'"
5555
tags: mc-config
5656

5757
- name: "make the 'public' bucket world-accessible"

bin/offline-deploy.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#!/usr/bin/env bash
22

3+
set -euo pipefail
4+
5+
36
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
47

58
# HACK: hack to stop ssh from idling the connection. Which it will do if there is no output. And ansible is not verbose enough

offline/ci.sh

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -101,19 +101,18 @@ wire_version="2.106.0"
101101
# Download zauth; as it's needed to generate certificates
102102
echo "quay.io/wire/zauth:$wire_version" | create-container-dump containers-adminhost
103103

104-
mkdir -p charts
105-
for chart in "${charts[@]}"; do
106-
(cd charts; helm pull --version "$wire_version" --untar "$chart")
104+
mkdir -p ./charts
105+
for chartName in "${charts[@]}"; do
106+
(cd ./charts; helm pull --version "$wire_version" --untar "$chartName")
107107
done
108108

109-
for chart in "${charts[@]}"; do
110-
echo "$chart"
109+
for chartPath in "$(pwd)"/charts/*; do
110+
echo "$chartPath"
111111
done | list-helm-containers | create-container-dump containers-helm
112112

113113
tar cf containers-helm.tar containers-helm
114114
[[ "$INCREMENTAL" -eq 0 ]] && rm -r containers-helm
115115

116-
#
117116
echo "docker_ubuntu_repo_repokey: '${fingerprint}'" > ansible/inventory/offline/group_vars/all/key.yml
118117

119118

0 commit comments

Comments
 (0)