Skip to content

Commit ddb3947

Browse files
authored
[CI] Avoid reading secret from vault in steps testing packages - local stacks (#16622)
1 parent b21e10e commit ddb3947

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

.buildkite/hooks/pre-command

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -110,11 +110,6 @@ if [[ "${BUILDKITE_PIPELINE_SLUG}" =~ ^(integrations|integrations-test-stack)$ ]
110110
BUILDKITE_API_TOKEN=$(retry 5 vault kv get -field buildkite_token "${BUILDKITE_API_TOKEN_PATH}")
111111
export BUILDKITE_API_TOKEN
112112
fi
113-
114-
if [[ "${BUILDKITE_STEP_KEY}" =~ ^test-integrations- ]]; then
115-
BUILDKITE_API_TOKEN=$(retry 5 vault kv get -field buildkite_token "${BUILDKITE_API_TOKEN_PATH}")
116-
export BUILDKITE_API_TOKEN
117-
fi
118113
fi
119114

120115
if [[ "${BUILDKITE_PIPELINE_SLUG}" == "integrations-serverless" ]]; then

0 commit comments

Comments
 (0)