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 14:43:25 +01:00
parent 5eb38b1cda
commit 178be40665
2 changed files with 3 additions and 10 deletions

View file

@ -43,7 +43,7 @@ inputs:
service_account_json_file_path:
description: "STACKIT service account JSON file contents"
required: true
default: '~/.stackit/credentials.json'
default: './service_account.json'
test_file:
description: "testfile to run"
@ -130,7 +130,7 @@ runs:
shell: bash
run: |
set -e
if [[ ! -f "${{ inputs.service_account_json_file_path }}" ]]; then
if [ ! -f "${{ inputs.service_account_json_file_path }}" ]; then
echo "unable to find service account file '${{ inputs.service_account_json_file_path }}'"
if [ -z "${{ inputs.service_account_json_content }}" ]; then
echo "ERROR: service_account_json_file_content MUST NOT be empty if account file is missing"