chore: modify test action
[skip ci]
This commit is contained in:
parent
4f3771e3c8
commit
0513fa4e4c
1 changed files with 1 additions and 1 deletions
2
.github/actions/clean_up/action.yaml
vendored
2
.github/actions/clean_up/action.yaml
vendored
|
|
@ -169,7 +169,7 @@ runs:
|
||||||
echo "::group::delete PostgreSQL Flex resources"
|
echo "::group::delete PostgreSQL Flex resources"
|
||||||
set -e
|
set -e
|
||||||
stackit auth activate-service-account --service-account-key-path .svc_acc.json
|
stackit auth activate-service-account --service-account-key-path .svc_acc.json
|
||||||
for s in $(stackit --verbosity ${{ inputs.log_level }} --project-id ${{ inputs.project_id }} postgresflex instance list --output-format json | jq -r '.[] | select(.name | startswith("${{ inputs.tf_resource_prefix }}")) | .id'); do stackit --verbosity ${{ inputs.log_level }} -y --project-id ${{ inputs.project_id }} postgresflex instance delete $s --force; done
|
for s in $(stackit --verbosity ${{ inputs.log_level }} --project-id ${{ inputs.project_id }} postgresflex instance list --output-format json | jq -r '.[] | select(.name | startswith("${{ inputs.tf_resource_prefix }}")) | .id'); do stackit --verbosity ${{ inputs.log_level }} -y --project-id ${{ inputs.project_id }} postgresflex instance delete "$s" --force; done
|
||||||
echo "::endgroup::"
|
echo "::endgroup::"
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue