From a80446d815a29739f7dfd6207c35b96da4dfc2b0 Mon Sep 17 00:00:00 2001 From: fenix-gitea-admin Date: Mon, 18 Aug 2025 21:13:24 +0000 Subject: [PATCH 1/2] Update .gitea/workflows/ci-test.yaml --- .gitea/workflows/ci-test.yaml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.gitea/workflows/ci-test.yaml b/.gitea/workflows/ci-test.yaml index 9f70113..3d433d2 100644 --- a/.gitea/workflows/ci-test.yaml +++ b/.gitea/workflows/ci-test.yaml @@ -35,12 +35,7 @@ jobs: - name: Plan working-directory: infra/iac run: | - # Find all .auto.tfvars in the secrets folder - VAR_FILES="" - for f in ../secrets/secrets/*.auto.tfvars; do - VAR_FILES="$VAR_FILES -var-file=$f" - done - tofu plan $VAR_FILES -out=tfplan + tofu plan -out=tfplan - name: Export tfplan working-directory: infra From 3cf5a35dcf8ff461486e9149196581134ba2557a Mon Sep 17 00:00:00 2001 From: fenix-gitea-admin Date: Mon, 18 Aug 2025 21:17:35 +0000 Subject: [PATCH 2/2] Update .gitea/workflows/ci-test.yaml --- .gitea/workflows/ci-test.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/ci-test.yaml b/.gitea/workflows/ci-test.yaml index 3d433d2..963aebc 100644 --- a/.gitea/workflows/ci-test.yaml +++ b/.gitea/workflows/ci-test.yaml @@ -35,10 +35,15 @@ jobs: - name: Plan working-directory: infra/iac run: | - tofu plan -out=tfplan + # Find all .auto.tfvars in the secrets folder + VAR_FILES="" + for f in ../secrets/secrets/*.auto.tfvars; do + VAR_FILES="$VAR_FILES -var-file=$f" + done + tofu plan $VAR_FILES -out=tfplan - name: Export tfplan - working-directory: infra + working-directory: infra/iac uses: actions/upload-artifact@v4 with: name: tofu-plan @@ -48,9 +53,4 @@ jobs: - name: Apply working-directory: infra/iac run: | - # Find all .auto.tfvars in the secrets folder - VAR_FILES="" - for f in ../secrets/secrets/*.auto.tfvars; do - VAR_FILES="$VAR_FILES -var-file=$f" - done - tofu apply $VAR_FILES -auto-approve tfplan \ No newline at end of file + tofu apply -auto-approve tfplan \ No newline at end of file