Skip to content

Commit

Permalink
rollback cache approach
Browse files Browse the repository at this point in the history
  • Loading branch information
zbioe committed Aug 9, 2022
1 parent ed7d5f8 commit 8dd84f3
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion devShell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ let
image=$2
nix build --out-link "./env/$env/image" .#$image
# add image to cache
git update-index --assume-unchanged env/$env/image
git add -Nf env/$env/image
'';
build-qcow = writeScriptBin "build-qcow" ''
build local qcow
Expand Down
1 change: 0 additions & 1 deletion env/gcp/image

This file was deleted.

1 change: 0 additions & 1 deletion env/local/image

This file was deleted.

2 changes: 1 addition & 1 deletion scripts/terranix-apply.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ cp $configFile $chdir/config.tf.json &&
terraform -chdir=$chdir init &&
terraform -chdir=$chdir apply &&
terraform -chdir=$chdir output -json >$chdir/output.json &&
git update-index --assume-unchanged $chdir/output.json
git add -Nf $chdir/output.json

0 comments on commit 8dd84f3

Please sign in to comment.