From 43147b13650f5c0268f9fbc9e601f6f3167d6a7e Mon Sep 17 00:00:00 2001 From: Roberto Rosmaninho Date: Thu, 14 Sep 2023 11:13:22 -0300 Subject: [PATCH 1/2] Update develop.yml Update the container's name for correcting installing dependencies. --- .github/workflows/develop.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/develop.yml b/.github/workflows/develop.yml index 40b1d30c325..124115ebd5e 100644 --- a/.github/workflows/develop.yml +++ b/.github/workflows/develop.yml @@ -73,7 +73,7 @@ jobs: - name: 'Setting up dependencies' run: | set -euxo pipefail - docker exec -t k-profiling-tests-${GITHUB_SHA} /bin/bash -c './k-distribution/tests/profiling/setup_profiling.sh SKIP_K_BUILD' + docker exec -t ci-${GITHUB_SHA} /bin/bash -c './k-distribution/tests/profiling/setup_profiling.sh SKIP_K_BUILD' - name: 'Getting Performance Tests Results' run: | set -euxo pipefail @@ -89,4 +89,4 @@ jobs: if: always() run: | docker stop --time=0 ci-${GITHUB_SHA} - docker container rm --force ci-${GITHUB_SHA} || true \ No newline at end of file + docker container rm --force ci-${GITHUB_SHA} || true From 04ea96e17a42248af60d2ad187663c545ca64a94 Mon Sep 17 00:00:00 2001 From: Roberto Rosmaninho Date: Mon, 18 Sep 2023 12:50:20 -0300 Subject: [PATCH 2/2] Renaming docker container in develop.yml --- .github/workflows/develop.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/develop.yml b/.github/workflows/develop.yml index 124115ebd5e..117e4c975d5 100644 --- a/.github/workflows/develop.yml +++ b/.github/workflows/develop.yml @@ -55,7 +55,7 @@ jobs: run: | set -euxo pipefail workspace=$(pwd) - docker run --name ci-${GITHUB_SHA} \ + docker run --name k-posting-profiling-tests-${GITHUB_SHA} \ --rm -it --detach \ -e BENCHER_API_TOKEN=$BENCHER_API_TOKEN \ -e BENCHER_PROJECT=$BENCHER_PROJECT \ @@ -73,20 +73,20 @@ jobs: - name: 'Setting up dependencies' run: | set -euxo pipefail - docker exec -t ci-${GITHUB_SHA} /bin/bash -c './k-distribution/tests/profiling/setup_profiling.sh SKIP_K_BUILD' + docker exec -t k-posting-profiling-tests-${GITHUB_SHA} /bin/bash -c './k-distribution/tests/profiling/setup_profiling.sh SKIP_K_BUILD' - name: 'Getting Performance Tests Results' run: | set -euxo pipefail - docker exec -t ci-${GITHUB_SHA} /bin/bash -c './k-distribution/tests/profiling/post_results_to_develop.py' + docker exec -t k-posting-profiling-tests-${GITHUB_SHA} /bin/bash -c './k-distribution/tests/profiling/post_results_to_develop.py' - name: 'Posting Performance Tests Results' run: | set -euxo pipefail - docker exec -t ci-${GITHUB_SHA} /bin/bash -c 'bencher run \ + docker exec -t k-posting-profiling-tests-${GITHUB_SHA} /bin/bash -c 'bencher run \ --if-branch "develop" --else-if-branch "master" \ --file .profiling-results.json --err --ci-only-on-alert \ --github-actions "${GITHUB_TOKEN}" 'echo "Exporting report"' - name: 'Tear down Docker' if: always() run: | - docker stop --time=0 ci-${GITHUB_SHA} - docker container rm --force ci-${GITHUB_SHA} || true + docker stop --time=0 k-posting-profiling-tests-${GITHUB_SHA} + docker container rm --force k-posting-profiling-tests-${GITHUB_SHA} || true