mirror of
https://github.com/Mic92/nixos-wiki-infra.git
synced 2024-11-25 01:33:34 +01:00
9 lines
233 B
Bash
Executable File
9 lines
233 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
|
|
tofu init -backend-config="password=$GITLAB_TOKEN" -backend-config="username=$GITLAB_USER"
|
|
tofu apply "$@"
|