Use ejson to manage build secrets

This commit is contained in:
Michael Vines
2018-12-15 13:49:22 -08:00
parent b8ab3078fb
commit 1298ab1647
3 changed files with 45 additions and 2 deletions

View File

@@ -1,4 +1,7 @@
#!/bin/bash -e
#!/usr/bin/env bash
set -e
eval "$(ejson2env .buildkite/env/secrets.ejson)"
# Ensure the pattern "+++ ..." never occurs when |set -x| is set, as buildkite
# interprets this as the start of a log group.
@@ -24,4 +27,3 @@ export PS4="++"
set -x
rsync -a --delete --link-dest="$d" "$d"/target .
)