fix: tf acc test pipeline
Some checks failed
CI Workflow / Check GoReleaser config (pull_request) Successful in 5s
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 16:21:07 +01:00
parent 50c44c75ae
commit 30e4ce6b2d

View file

@ -134,8 +134,6 @@ runs:
export PS4='+(${BASH_SOURCE}:${LINENO}): ${FUNCNAME[0]:+${FUNCNAME[0]}(): }'
jsonFileContent="${{ inputs.service_account_json_content }}"
jsonFile="${{ inputs.service_account_json_file_path }}"
jsonFile="${jsonFile:-x}"
if [ "${jsonFile}" == "x" ]; then
@ -145,11 +143,11 @@ runs:
if [ ! -f "${jsonFile}" ]; then
echo "unable to find service account file '${{ inputs.service_account_json_file_path }}'"
if [ "${jsonFileContent:-x}" == "x" ]; then
echo "ERROR: service_account_json_file_content MUST NOT be empty if account file is missing"
exit 1
fi
echo "creating service account file '${{ inputs.service_account_json_file_path }}'"
#if [ "${jsonFileContent:-x}" == "x" ]; then
# echo "ERROR: service_account_json_file_content MUST NOT be empty if account file is missing"
# exit 1
#fi
#echo "creating service account file '${{ inputs.service_account_json_file_path }}'"
echo "${{ inputs.service_account_json_content }}" > stackit/"${{ inputs.service_account_json_file_path }}"
fi
ls -l stackit/"${{ inputs.service_account_json_file_path }}"