Skip to content

Commit

Permalink
ci(test): remove garbage collection
Browse files Browse the repository at this point in the history
  • Loading branch information
klarkc committed Jan 5, 2024
1 parent c4f4ed3 commit 86f2748
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,5 @@ jobs:
comm -13 <(sort /tmp/store) <(./.github/workflows/list-nix-store.sh) > /tmp/store-new
mkdir -p ~/.ssh/ && touch ~/.ssh/known_hosts
cp .github/workflows/known_hosts ~/.ssh/known_hosts
ssh ssh://[email protected] "free_space_kb=`df -k --output=avail / | tail -n 1`; nix-collect-garbage -d --delete-older-than 30d --max-freed \$(( (d=5000000-free_space_kb) < 0 ? 0 : d ))k"
(cat /tmp/store-new | nix -v copy -s --stdin --to ssh://[email protected]) || EXIT_CODE=$?
echo $EXIT_CODE

0 comments on commit 86f2748

Please sign in to comment.