nixos-wiki-infra/targets/nixos-wiki.nixos.org/apply.sh

9 lines
233 B
Bash
Raw Normal View History

2023-05-10 21:05:10 +02:00
#!/usr/bin/env bash
set -euo pipefail
2024-04-08 07:28:06 +02:00
cd "$(dirname "$0")"
2023-05-10 21:05:10 +02:00
rm -f .terraform.lock.hcl
2024-04-19 09:48:50 +02:00
nix build .#checks.x86_64-linux.test -L
2024-02-12 11:02:51 +01:00
tofu init -backend-config="password=$GITLAB_TOKEN" -backend-config="username=$GITLAB_USER"
2024-04-08 07:28:50 +02:00
tofu apply "$@"