-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat(flake): update github provider * chore(flake): update provider to 6.0.0 * fix(terraformignore) * fix(justfile) * docs(README)
- Loading branch information
1 parent
96e2b6f
commit c92fd73
Showing
7 changed files
with
114 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,4 @@ | |
.gitignore | ||
flake.lock | ||
flake.nix | ||
makefile | ||
justfile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,33 @@ | ||
_default: | ||
just --list | ||
|
||
build: | ||
nix build --json --no-link --print-build-logs | ||
|
||
cache-build cache_name="altf4llc-os": | ||
just build \ | ||
| jq -r '.[].outputs | to_entries[].value' \ | ||
| cachix push {{ cache_name }} | ||
|
||
cache-inputs cache_name="altf4llc-os": | ||
nix flake archive --json \ | ||
| jq -r '.path,(.inputs|to_entries[].value.path)' \ | ||
| cachix push "{{ cache_name }}" | ||
|
||
cache-shell cache_name="altf4llc-os": | ||
nix develop --profile "dev-profile" -c true | ||
cachix push "{{ cache_name }}" "dev-profile" | ||
|
||
check: | ||
nix build --json --no-link --print-build-logs | ||
nix flake check | ||
|
||
docs: | ||
terraform-docs markdown table \ | ||
--output-file README.md \ | ||
--output-mode inject . | ||
|
||
init: | ||
terraform init | ||
|
||
validate: | ||
terraform validate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters