Skip to content
This repository was archived by the owner on Feb 21, 2024. It is now read-only.

Commit 63368d5

Browse files
committed
export git SHA commit for IDK tests
This is a sanity-check after a weird CI failure; we want to ensure that we're actually getting the expected version of featurebase. The environment variable here is magic to the IDK tests.
1 parent ef078ac commit 63368d5

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

.gitlab/.gitlab-ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ run go tests idk race:
353353
- cd ./idk/
354354
- echo $PROJECT
355355
- echo $CI_COMMIT_REF_SLUG
356-
- BRANCH_NAME=${CI_COMMIT_REF_SLUG} make test-all-race
356+
- BRANCH_NAME=${CI_COMMIT_REF_SLUG} IDK_FEATUREBASE_HASH=${CI_COMMIT_SHA} make test-all-race
357357
after_script:
358358
- cd ./idk/
359359
- make save-pilosa-logs
@@ -378,7 +378,7 @@ run go tests idk shard transactional:
378378
- cd ./idk/
379379
- echo $PROJECT
380380
- echo $CI_COMMIT_REF_SLUG
381-
- BRANCH_NAME=${CI_COMMIT_REF_SLUG} make test-all
381+
- BRANCH_NAME=${CI_COMMIT_REF_SLUG} IDK_FEATUREBASE_HASH=${CI_COMMIT_SHA} make test-all
382382
after_script:
383383
- cd ./idk/
384384
- make save-pilosa-logs
@@ -404,7 +404,7 @@ run go tests idk 533:
404404
- cd ./idk/
405405
- echo $PROJECT
406406
- echo $CI_COMMIT_REF_SLUG
407-
- CONFLUENT_VERSION=5.3.3 BRANCH_NAME=${CI_COMMIT_REF_SLUG} make test-all
407+
- CONFLUENT_VERSION=5.3.3 BRANCH_NAME=${CI_COMMIT_REF_SLUG} IDK_FEATUREBASE_HASH=${CI_COMMIT_SHA} make test-all
408408
after_script:
409409
- cd ./idk/
410410
- make save-pilosa-logs
@@ -428,7 +428,7 @@ run go tests idk sasl:
428428
- cd ./idk/
429429
- echo $PROJECT
430430
- echo $CI_COMMIT_REF_SLUG
431-
- BRANCH_NAME=${CI_COMMIT_REF_SLUG} make test-all-kafka-sasl
431+
- BRANCH_NAME=${CI_COMMIT_REF_SLUG} IDK_FEATUREBASE_HASH=${CI_COMMIT_SHA} make test-all-kafka-sasl
432432
after_script:
433433
- cd ./idk/
434434
- make save-pilosa-logs

idk/docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ services:
120120
dockerfile: ./idk/Dockerfile-test
121121
environment:
122122
IDK_DEFAULT_SHARD_TRANSACTIONAL: ${IDK_DEFAULT_SHARD_TRANSACTIONAL}
123+
IDK_FEATUREBASE_HASH: ${IDK_FEATUREBASE_HASH}
123124
volumes:
124125
- ./testenv/certs:/certs
125126
- ./docker-sasl/ssl_keys:/ssl_keys

0 commit comments

Comments
 (0)