stage #95

Merged
micqdf merged 2 commits from stage into master 2026-03-02 22:33:27 +00:00
3 changed files with 3 additions and 3 deletions

View File

@@ -57,7 +57,7 @@ jobs:
set -euo pipefail set -euo pipefail
for attempt in 1 2; do for attempt in 1 2; do
echo "Terraform plan attempt $attempt/2" echo "Terraform plan attempt $attempt/2"
if timeout 20m terraform plan -parallelism=1 -out=tfplan; then if timeout 20m terraform plan -refresh=false -parallelism=1 -out=tfplan; then
exit 0 exit 0
fi fi
if [ "$attempt" -eq 1 ]; then if [ "$attempt" -eq 1 ]; then

View File

@@ -71,7 +71,7 @@ jobs:
set -euo pipefail set -euo pipefail
for attempt in 1 2; do for attempt in 1 2; do
echo "Terraform plan attempt $attempt/2" echo "Terraform plan attempt $attempt/2"
if timeout 20m terraform plan -parallelism=1 -out=tfplan; then if timeout 20m terraform plan -refresh=false -parallelism=1 -out=tfplan; then
exit 0 exit 0
fi fi
if [ "$attempt" -eq 1 ]; then if [ "$attempt" -eq 1 ]; then

View File

@@ -164,7 +164,7 @@ rebuild_node() {
timeout "$REBUILD_TIMEOUT" nixos-rebuild switch \ timeout "$REBUILD_TIMEOUT" nixos-rebuild switch \
--flake "$FLAKE_DIR#$node_name" \ --flake "$FLAKE_DIR#$node_name" \
--target-host "$ACTIVE_SSH_USER@$node_ip" \ --target-host "$ACTIVE_SSH_USER@$node_ip" \
--sudo --use-remote-sudo
} }
rebuild_node_with_retry() { rebuild_node_with_retry() {