fix: fix tf acc test pipeline
Some checks failed
CI Workflow / Check GoReleaser config (pull_request) Has been cancelled
CI Workflow / Prepare GO cache (pull_request) Has been cancelled
CI Workflow / Test readiness for publishing provider (pull_request) Has been cancelled
CI Workflow / CI run tests (pull_request) Has been cancelled
CI Workflow / CI run build and linting (pull_request) Has been cancelled
CI Workflow / Code coverage report (pull_request) Has been cancelled

This commit is contained in:
Marcel S. Henselin 2026-03-10 13:11:53 +01:00
parent 3949ec9935
commit 3d04e1497b
2 changed files with 9 additions and 7 deletions

View file

@ -18,9 +18,8 @@ jobs:
shell: bash
run: |
set -e
mkdir ~/.stackit
echo "${{ secrets.TF_ACC_SERVICE_ACCOUNT_JSON }}" >~/.stackit/credentials.json
cat ~/.stackit/credentials.json
echo "${{ secrets.TF_ACC_SERVICE_ACCOUNT_JSON }}" >~/service_account.json
cat ~/service_account.json
- name: Run Test
uses: ./.github/actions/acc_test
@ -34,4 +33,4 @@ jobs:
tf_acc_kek_key_ring_id: ${{ vars.TEST_KEK_KEY_RING_ID }}
tf_acc_kek_key_version: ${{ vars.TEST_KEK_KEY_VERSION }}
tf_acc_kek_service_account: ${{ vars.TEST_KEK_SERVICE_ACCOUNT }}
# service_account_json_file_path: ~/.stackit/credentials.json
service_account_json_file_path: ~/service_account.json