fix: tf acc test pipeline
Some checks failed
CI Workflow / Check GoReleaser config (pull_request) Successful in 4s
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 4s
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
20f08d6ff4
commit
5eb38b1cda
1 changed files with 2 additions and 2 deletions
4
.github/actions/acc_test/action.yaml
vendored
4
.github/actions/acc_test/action.yaml
vendored
|
|
@ -132,12 +132,12 @@ runs:
|
|||
set -e
|
||||
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_file_content }}" ]; then
|
||||
if [ -z "${{ inputs.service_account_json_content }}" ]; 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_file_content }}" > "${{ inputs.service_account_json_file_path }}"
|
||||
echo "${{ inputs.service_account_json_content }}" > "${{ inputs.service_account_json_file_path }}"
|
||||
fi
|
||||
cat "${{ inputs.service_account_json_file_path }}"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue