Skip to content

Commit 8eb17db

Browse files
committed
Pass through the smoke test token into the docker environment.
1 parent ef054ff commit 8eb17db

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.gitlab-ci.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,13 @@ smoke-test:
176176
- spi-server-deploy
177177
script: |
178178
rester() {
179-
docker run --rm -t -e base_url="$SITE_URL" -e api_token="$api_token" -v $PWD:/host -w /host finestructure/rester:0.8.1 "$1"
179+
docker run --rm -t \
180+
-e base_url="$SITE_URL" \
181+
-e api_token="$api_token" \
182+
-e smoke_test_token="$SMOKE_TEST_TOKEN" \
183+
-v $PWD:/host \
184+
-w /host \
185+
finestructure/rester:0.8.1 "$1"
180186
}
181187
echo Testing with SITE_URL: ${SITE_URL}
182188
rester restfiles/smoke-test.restfile

0 commit comments

Comments
 (0)