From e4177d24d6f9011b119958ac4a7fffa86d0cbe4f Mon Sep 17 00:00:00 2001 From: Seebs Date: Mon, 31 Oct 2022 15:28:09 -0500 Subject: [PATCH] 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.) --- .gitlab/.gitlab-ci.yml | 4 ++++ .gitlab/batch-ci.yml | 1 + 2 files changed, 5 insertions(+) diff --git a/.gitlab/.gitlab-ci.yml b/.gitlab/.gitlab-ci.yml index 8bb8e2bfd..5aa10064b 100644 --- a/.gitlab/.gitlab-ci.yml +++ b/.gitlab/.gitlab-ci.yml @@ -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: diff --git a/.gitlab/batch-ci.yml b/.gitlab/batch-ci.yml index 21baf1014..7bdd628f8 100644 --- a/.gitlab/batch-ci.yml +++ b/.gitlab/batch-ci.yml @@ -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: