mirror of
https://github.com/Mic92/nixos-wiki-infra.git
synced 2025-07-26 10:16:38 +02:00
11 lines
239 B
Bash
Executable File
11 lines
239 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
cd "$(dirname "$0")"
|
|
rm -f .terraform.lock.hcl
|
|
nix build .#checks.x86_64-linux.test -L
|
|
TF_VAR_passphrase=$(sops -d ../admins/secrets/terraform-passphrase)
|
|
export TF_VAR_passphrase
|
|
tofu init
|
|
tofu "$@"
|