improve attempt to save pilosa logs after IDK/batch test failures

The save-%-logs and shutdown targets live in the IDK directory,
so we need to change directory to run those targets. (Same for
the batch directory.)
This commit is contained in:
Seebs 2022-10-31 15:28:09 -05:00 • committed by seebs
parent 164dec1703
commit e4177d24d6
2 changed files with 5 additions and 0 deletions

View file

@ -289,6 +289,7 @@ run go tests idk race:
- echo $DOCKER_PASSWORD | docker login registry.gitlab.com --username "$USERNAME" --password-stdin
- BRANCH_NAME=${CI_COMMIT_REF_SLUG} make test-all-race
after_script:
- cd ./idk/
- make save-pilosa-logs
- make shutdown
artifacts:
@ -323,6 +324,7 @@ run go tests idk shard transactional:
- echo $DOCKER_PASSWORD | docker login registry.gitlab.com --username "$USERNAME" --password-stdin
- BRANCH_NAME=${CI_COMMIT_REF_SLUG} make test-all
after_script:
- cd ./idk/
- make save-pilosa-logs
- make shutdown
artifacts:
@ -351,6 +353,7 @@ run go tests idk 533:
- echo $DOCKER_PASSWORD | docker login registry.gitlab.com --username "$USERNAME" --password-stdin
- CONFLUENT_VERSION=5.3.3 BRANCH_NAME=${CI_COMMIT_REF_SLUG} make test-all
after_script:
- cd ./idk/
- make save-pilosa-logs
- make shutdown
rules:
@ -383,6 +386,7 @@ run go tests idk sasl:
- echo $DOCKER_PASSWORD | docker login registry.gitlab.com --username "$USERNAME" --password-stdin
- BRANCH_NAME=${CI_COMMIT_REF_SLUG} make test-all-kafka-sasl
after_script:
- cd ./idk/
- make save-pilosa-logs
- make shutdown
rules:

View file

@ -14,6 +14,7 @@ run go tests batch:
- echo $DOCKER_PASSWORD | docker login registry.gitlab.com --username "$USERNAME" --password-stdin
- BRANCH_NAME=${CI_COMMIT_REF_SLUG} make test-all
after_script:
- cd ./batch/
- make save-pilosa-logs
- make shutdown
artifacts: