File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 2
2
- key : " build-pr-setup"
3
3
label : " setup"
4
4
command : " .buildkite/scripts/build_pr_commit_status.sh pending"
5
+ plugins :
6
+ - elastic/vault-secrets#v0.0.2:
7
+ path : " secret/ci/elastic-docs/docker.elastic.co" # "secret/ci/elastic-docs/docs_preview_cleaner"
8
+ field : " username" # "value"
9
+ env_var : " DOCKER_USERNAME"
10
+
5
11
- key : " build-pr"
6
12
label : " :hammer: Build docs PR"
7
13
command : echo "hello" # ".buildkite/scripts/build_pr.sh"
Original file line number Diff line number Diff line change 2
2
3
3
set -euo pipefail
4
4
5
+ echo $DOCKER_USERNAME
6
+
5
7
# This hook should only be invoked for builds triggered by the Buildkite PR bot
6
8
if [ -z ${GITHUB_PR_OWNER+set} ] || [ -z ${GITHUB_PR_REPO+set} ] || [ -z ${GITHUB_PR_TRIGGERED_SHA+set} ]; then
7
9
exit 0
You can’t perform that action at this time.
0 commit comments