Skip to content

Commit

Permalink
feat: Login to ecr explicitly, faster bootstrap as we only do once. (…
Browse files Browse the repository at this point in the history
…#4900)

We logged into ecr before every image extraction. This actually added
quite a few seconds.
Login to ecr explicitly (for bootstrap this is now just once at
startup).

A "noop" fast bootstrap now as little as 17s.
  • Loading branch information
charlielye authored and AztecBot committed Mar 5, 2024
1 parent 17d0320 commit bd359fb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cpp/scripts/ci/upload_benchmarks_to_s3.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# Uploads to S3 a recent barretenberg benchmark run.
# Uploads to S3 a recent barretenberg benchmark run.
#!/usr/bin/env bash
[ -n "${BUILD_SYSTEM_DEBUG:-}" ] && set -x # conditionally trace
set -eu

retry ecr_login
extract_repo barretenberg-bench /usr/src extracted-repo

BUCKET_NAME="aztec-ci-artifacts"
Expand Down
1 change: 1 addition & 0 deletions cpp/scripts/ci/upload_doxygen_to_s3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
[ -n "${BUILD_SYSTEM_DEBUG:-}" ] && set -x # conditionally trace
set -eu

retry ecr_login
extract_repo barretenberg-docs /usr/src extracted-repo

BUCKET_NAME="aztec-ci-artifacts"
Expand Down

0 comments on commit bd359fb

Please sign in to comment.