From d0edeb9313e703212ab3b06db631b9e3ced6f7f5 Mon Sep 17 00:00:00 2001 From: Alex Goodman Date: Fri, 6 Sep 2024 11:25:18 -0400 Subject: [PATCH] ignore fingerprint failures Signed-off-by: Alex Goodman --- .github/workflows/release-version-file.yaml | 2 +- Taskfile.yaml | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-version-file.yaml b/.github/workflows/release-version-file.yaml index cd41a0c8e91..6635a053f12 100644 --- a/.github/workflows/release-version-file.yaml +++ b/.github/workflows/release-version-file.yaml @@ -1,4 +1,4 @@ -name: "Release" +name: "Release: version file" on: diff --git a/Taskfile.yaml b/Taskfile.yaml index 8624ae82fe2..b4dba1685f8 100644 --- a/Taskfile.yaml +++ b/Taskfile.yaml @@ -293,7 +293,12 @@ tasks: # echo -e "generated all fixture fingerprints" - .github/scripts/fingerprint_docker_fixtures.py - - .github/scripts/find_cache_paths.py {{ .CACHE_PATHS_FILE }} > /dev/null + - | + # if DOWNLOAD_TEST_FIXTURE_CACHE is set to 'false', then we don't need to calculate the fingerprint for the cache + if [ "$DOWNLOAD_TEST_FIXTURE_CACHE" = "false" ]; then + exit 0 + fi + .github/scripts/find_cache_paths.py {{ .CACHE_PATHS_FILE }} > /dev/null refresh-fixtures: @@ -308,7 +313,7 @@ tasks: PURPLE='\033[0;35m' RESET='\033[0m' - # if DOWNLOAD_TEST_FIXTURE_CACHE is set to 'true', then skip the cache download and always build + # if DOWNLOAD_TEST_FIXTURE_CACHE is set to 'false', then skip the cache download and always build if [ "$DOWNLOAD_TEST_FIXTURE_CACHE" = "false" ]; then echo -e "${BOLD}${PURPLE}skipping cache download, rebuilding cache...${RESET}" {{ .TASK }} build-fixtures