diff --git a/bootstrap.sh b/bootstrap.sh index a4a15c260f7..c1e00678ce4 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -122,16 +122,10 @@ if [ "$CMD" = "clean" ]; then echo "Cleaning complete" exit 0 elif [ "$CMD" = "full" ]; then - if can_use_ci_cache; then - echo -e "${BOLD}${YELLOW}WARNING: Performing a full bootstrap. Consider leveraging './bootstrap.sh fast' to use CI cache.${RESET}" - echo - fi + echo -e "${BOLD}${YELLOW}WARNING: Performing a full bootstrap. Consider leveraging './bootstrap.sh fast' to use CI cache.${RESET}" + echo elif [ "$CMD" = "fast" ]; then export USE_CACHE=1 - if ! can_use_ci_cache; then - echo -e "${BOLD}${YELLOW}WARNING: AWS credentials are missing. Note this is for internal aztec devs only.${RESET}" - exit 1 - fi elif [ "$CMD" = "check" ]; then check_toolchains echo "Toolchains look good! 🎉" diff --git a/build-system/s3-cache-scripts/cache-download.sh b/build-system/s3-cache-scripts/cache-download.sh index f47fb210335..d1dd7e7b2b5 100755 --- a/build-system/s3-cache-scripts/cache-download.sh +++ b/build-system/s3-cache-scripts/cache-download.sh @@ -18,7 +18,7 @@ function on_exit() { trap on_exit EXIT # Attempt to download the cache file -aws ${S3_BUILD_CACHE_AWS_PARAMS:-} s3 cp "s3://aztec-ci-artifacts/build-cache/$TAR_FILE" "$TAR_FILE" --quiet &>/dev/null || (echo "Cache download of $TAR_FILE failed." && exit 1) +aws ${S3_BUILD_CACHE_AWS_PARAMS:-} s3 cp "s3://aztec-ci-artifacts/build-cache/$TAR_FILE" "$TAR_FILE" --quiet --no-sign-request &>/dev/null || (echo "Cache download of $TAR_FILE failed." && exit 1) # Extract the cache file mkdir -p "$OUT_DIR"