Skip to content

Commit dc52533

Browse files
authored
Ensure qaf knows it's running in CI (#16)
1 parent db50e3e commit dc52533

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.buildkite/rest-tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ steps:
1818
EC_REGISTER_BACKEND: "appex-qa-team-cluster"
1919
EC_ENV: "qa"
2020
EC_REGION: "aws-eu-west-1"
21-
EC_PROJECT_NAME: "esv-client-python-test-{{ matrix.python }}-{{ matrix.suite }}-{{ matrix.connection_class }}-{{ key }}"
21+
EC_PROJECT_PREFIX: "esv-client-python-test-{{ matrix.python }}-{{ matrix.suite }}-{{ matrix.connection_class }}"
2222
matrix:
2323
setup:
2424
suite:

.buildkite/run-tests

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
export TEST_SUITE="${TEST_SUITE:=platinum}"
55
export PYTHON_VERSION="${PYTHON_VERSION:=3.9}"
66
export PYTHON_CONNECTION_CLASS="${PYTHON_CONNECTION_CLASS:=urllib3}"
7+
export EC_PROJECT_NAME="$EC_PROJECT_PREFIX-$BUILDKITE_JOB_ID"
78

89
set -euo pipefail
910

@@ -19,6 +20,7 @@ run_qaf() {
1920
-e EC_REGION \
2021
-e EC_PROJECT_NAME \
2122
-e VAULT_TOKEN \
23+
-e BUILDKITE \
2224
-v "$(pwd)/cloud.json:/root/.elastic/cloud.json" \
2325
docker.elastic.co/employees/dolaru/qaf:latest \
2426
bash -c "$cmd"

0 commit comments

Comments
 (0)