Skip to content

Commit

Permalink
Dummy push
Browse files Browse the repository at this point in the history
  • Loading branch information
nkammah committed Nov 20, 2023
1 parent 159cac3 commit 4211c0e
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .buildkite/acceptance.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
#!/bin/bash
set -euo pipefail

set -x
echo $MY_IMPORTANT_SECRET
MY_VAR=$MY_IMPORTANT_SECRET
echo $MY_VAR
printenv
exit 0

echo "--- Download dependencies"
make vendor

2 changes: 1 addition & 1 deletion .buildkite/hooks/pre-command
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@ VAULT_PATH=secret/ci/elastic-terraform-provider-ec/terraform-provider-secrets

# Secrets must be redacted
# https://buildkite.com/docs/pipelines/managing-log-output#redacted-environment-variables

export MY_IMPORTANT_SECRET="Foo12345"
if [[ "$BUILDKITE_PIPELINE_SLUG" == "terraform-provider-ec" ]]; then
export TERRAFORM_PROVIDER_API_KEY_SECRET=$(scripts/retry.sh 5 vault kv get -field apikey ${VAULT_PATH})
fi

0 comments on commit 4211c0e

Please sign in to comment.