Skip to content

Commit

Permalink
[DO NOT MERGE] ci: Use a new volume for depends sources cache
Browse files Browse the repository at this point in the history
This is required to workaround the cache contaminated by unversioned
files in the early versions of this branch.

Can be dropped after cleaning the cache in the Cirrus CI infra.

Suggested in bitcoin#30997 (comment)
  • Loading branch information
hebasto committed Nov 5, 2024
1 parent 286aca4 commit 3020a4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ci/test/02_run_container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ if [ -z "$DANGER_RUN_CI_ON_HOST" ]; then

docker volume create "${CONTAINER_NAME}_ccache" || true
docker volume create "${CONTAINER_NAME}_depends" || true
docker volume create "${CONTAINER_NAME}_depends_sources" || true
docker volume create "pr30997_${CONTAINER_NAME}_depends_sources" || true
docker volume create "${CONTAINER_NAME}_previous_releases" || true

CI_CCACHE_MOUNT="type=volume,src=${CONTAINER_NAME}_ccache,dst=$CCACHE_DIR"
CI_DEPENDS_MOUNT="type=volume,src=${CONTAINER_NAME}_depends,dst=$DEPENDS_DIR/built"
CI_DEPENDS_SOURCES_MOUNT="type=volume,src=${CONTAINER_NAME}_depends_sources,dst=$DEPENDS_DIR/sources"
CI_DEPENDS_SOURCES_MOUNT="type=volume,src=pr30997_${CONTAINER_NAME}_depends_sources,dst=$DEPENDS_DIR/sources"
CI_PREVIOUS_RELEASES_MOUNT="type=volume,src=${CONTAINER_NAME}_previous_releases,dst=$PREVIOUS_RELEASES_DIR"

if [ "$DANGER_CI_ON_HOST_CACHE_FOLDERS" ]; then
Expand Down

0 comments on commit 3020a4a

Please sign in to comment.