Skip to content

Commit

Permalink
fix: docs rebuild patterns (#11191)
Browse files Browse the repository at this point in the history
Fixes caching for CI/local dev
  • Loading branch information
ludamad authored Jan 13, 2025
1 parent 58fdf87 commit 1999990
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
1 change: 1 addition & 0 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ bootstrap-noir-bb:
git remote add origin https://github.com/aztecprotocol/aztec-packages >/dev/null 2>&1 &&
(git fetch --depth 1 origin $EARTHLY_GIT_HASH >/dev/null 2>&1 || (echo "The commit was not pushed, run aborted." && exit 1)) &&
git reset --hard FETCH_HEAD >/dev/null 2>&1 &&
./build-images/adhoc-installs.sh &&
DENOISE=1 CI=1 ./noir/bootstrap.sh fast &&
DENOISE=1 CI=1 ./barretenberg/bootstrap.sh fast &&
mv $(ls -A) /usr/src'
Expand Down
8 changes: 8 additions & 0 deletions build-images/adhoc-installs.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# The correct action to take in case of a missing installation is to update the build images.
# However, they will not be updated automatically going forward.
# If unable to ping Charlie or Adam to update the AMIs that have the build image (along with the build images themselves)
# this is a reasonable temporary measure.
set -eu
apt update
# for docs:
apt install -y libvips-dev
4 changes: 2 additions & 2 deletions docs/.rebuild_patterns
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
^docs/src
^docs/scripts
^docs/static
^docs/*.js
^docs/*.json
^docs/.*\.js
^docs/.*\.json

0 comments on commit 1999990

Please sign in to comment.