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
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:
parent
50c44c75ae
commit
30e4ce6b2d
1 changed files with 5 additions and 7 deletions
12
.github/actions/acc_test/action.yaml
vendored
12
.github/actions/acc_test/action.yaml
vendored
|
|
@ -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 }}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue