Skip to content

Commit 285dc2e

Browse files
committed
Revert "[ci] attempt with caches excluding personal profile stuff"
This reverts commit 6fc6702. Signed-off-by: Oriol Muñoz <oriol.munoz@digitalasset.com>
1 parent faeb743 commit 285dc2e

File tree

5 files changed

+9
-10
lines changed

5 files changed

+9
-10
lines changed

.github/actions/nix/setup_nix/action.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ runs:
9191
# we use rsync here because it's simply faster to install
9292
rsync -avi /cache/nix/$cache_key/.nix-* $HOME/
9393
rsync -avi "/cache/nix/$cache_key/nix" $HOME/.config/
94-
rsync -avi "/cache/nix/$cache_key/nix_store/var/" /nix/var
95-
sudo mount --bind /cache/nix/$cache_key/nix_store/store /nix/store
94+
# rsync -avi "/cache/nix/$cache_key/nix_store/var/" /nix/var
95+
# sudo mount --bind /cache/nix/$cache_key/nix_store/store /nix/store
9696
else
9797
sudo mkdir -p "/cache/nix/$cache_key"
9898
sudo chown $(whoami):$(whoami) "/cache/nix/$cache_key"
@@ -193,8 +193,7 @@ runs:
193193
194194
#requires to preserve read only during clone
195195
sudo ${CLONE_COMMAND} /nix/store/ /cache/nix/$cache_key/nix_store/store
196-
# see https://github.com/NixOS/nix/commit/a5919f4754be6f4a9fe091e0ee5538ad85af0050 for why those two are excluded
197-
sudo ${CLONE_COMMAND} /nix/var/ "/cache/nix/$cache_key/nix_store/var" --exclude "/profiles/**" --exclude "/gcroots/**"
196+
# sudo ${CLONE_COMMAND} /nix/var/ "/cache/nix/$cache_key/nix_store/var"
198197
199198
echo "done" > "/cache/nix/$cache_key/cached"
200199
fi

.github/actions/tests/common_test_setup/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ runs:
6464
with:
6565
artifactory_user: ${{ inputs.artifactory_user }}
6666
artifactory_password: ${{ inputs.artifactory_password }}
67-
cache_version: 666632-2
67+
cache_version: 666632
6868
should_save: ${{ inputs.save_nix_cache }}
6969
should_save_gcp: ${{ inputs.save_nix_cache_to_gcp }}
7070
oss_only: ${{ inputs.oss_only }}
@@ -76,4 +76,4 @@ runs:
7676
id: setup_sbt
7777
uses: ./.github/actions/sbt/setup_sbt
7878
with:
79-
cache_version: 666632-2
79+
cache_version: 666632

.github/actions/tests/scala_test/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ runs:
141141
id: setup_sbt
142142
uses: ./.github/actions/sbt/setup_sbt
143143
with:
144-
cache_version: 666632-2
144+
cache_version: 666632
145145

146146
- name: Set Daml package versions
147147
uses: ./.github/actions/nix/run_bash_command_in_nix
@@ -285,7 +285,7 @@ runs:
285285
if: ${{ !cancelled() }}
286286
uses: ./.github/actions/sbt/post_sbt
287287
with:
288-
cache_version: 666632-2
288+
cache_version: 666632
289289
setup_sbt_cache_hits: ${{ steps.setup_sbt.outputs.cache_hits }}
290290
# Save caches only from one runner, to reduce conflicts on the save
291291
save_caches: ${{ inputs.runner_index == 0 && inputs.test_suite_name == 'wall-clock-time' }}

.github/workflows/build.docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
- name: Post-SBT job
4949
uses: ./.github/actions/sbt/post_sbt
5050
with:
51-
cache_version: 666632-2
51+
cache_version: 666632
5252
setup_sbt_cache_hits: ${{ steps.setup.outputs.sbt_cache_hits }}
5353

5454
- name: Report Failures on Slack & Github

.github/workflows/build.ui_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
if: steps.skip.outputs.skip != 'true'
5858
uses: ./.github/actions/sbt/post_sbt
5959
with:
60-
cache_version: 666632-2
60+
cache_version: 666632
6161
setup_sbt_cache_hits: ${{ steps.setup.outputs.sbt_cache_hits }}
6262

6363
- name: Upload logs

0 commit comments

Comments
 (0)