Skip to content

Commit

Permalink
Merge pull request #475 from wireapp/release_2021-06-16
Browse files Browse the repository at this point in the history
Release: 2021-06-16
  • Loading branch information
lucendio authored Jun 16, 2021
2 parents 8554eda + 659fd61 commit a658f28
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 9 deletions.
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,22 @@
## Features
## versions
## Fixes
## Versions
## Breaking changes
-->


# 2021-06-16

## Fixes

* [Ansible] Prevent Minio installation from breaking when access or secret key contains `$`
* [CI] Ensure that the right version of wire-server is built into the air-gap bundle


# 2021-06-10

Expand Down
2 changes: 1 addition & 1 deletion ansible/kube-minio-static-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
tasks_from: install-client

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

- name: "create 'public' bucket"
shell: "mc mb --ignore-existing local/public"
Expand Down
2 changes: 1 addition & 1 deletion ansible/minio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
tags: bucket-create

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

- name: "make the 'public' bucket world-accessible"
Expand Down
3 changes: 3 additions & 0 deletions bin/offline-deploy.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/usr/bin/env bash

set -euo pipefail


SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

# HACK: hack to stop ssh from idling the connection. Which it will do if there is no output. And ansible is not verbose enough
Expand Down
11 changes: 5 additions & 6 deletions offline/ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -101,19 +101,18 @@ wire_version="2.106.0"
# Download zauth; as it's needed to generate certificates
echo "quay.io/wire/zauth:$wire_version" | create-container-dump containers-adminhost

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

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

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

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


Expand Down

0 comments on commit a658f28

Please sign in to comment.