Skip to content

Commit

Permalink
ci: update github PAT token secret path
Browse files Browse the repository at this point in the history
  • Loading branch information
tkajtoch committed Oct 15, 2024
1 parent 870194c commit 643a076
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .buildkite/scripts/lifecycle/pre_command.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ echo '[SOURCE]: Buildkite dependencies'
source .buildkite/scripts/common/utils.sh

echo '[INSTALL]: Non-exported variables'
GITHUB_ACCOUNT=secret/ci/elastic-eui/kibanamachine
GITHUB_ACCOUNT=secret/ci/elastic-eui/github_machine_user
VAULT_ACCOUNT=secret/ci/elastic-eui/bekitzur-kibana-service-account

echo '[INSTALL]: Exported variables'
GCE_ACCOUNT=$(retry 5 vault read -field=value $VAULT_ACCOUNT)
export GCE_ACCOUNT

GITHUB_TOKEN=$(retry 5 vault read -field=github_token $GITHUB_ACCOUNT)
GITHUB_TOKEN=$(retry 5 vault read -field=kibanamachine_token $GITHUB_ACCOUNT)
export GITHUB_TOKEN

DOCKER_BASE_IMAGE=docker.elastic.co/eui/ci:6.6
Expand Down

0 comments on commit 643a076

Please sign in to comment.