Skip to content

Commit

Permalink
Run pre-check cleanup also in GH actions (#680)
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Morgenstern <[email protected]>
Signed-off-by: Ivan Vnučko <[email protected]>
  • Loading branch information
martinmo authored and OgarOgarovic committed Aug 27, 2024
1 parent fb9d8af commit e52a81e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ jobs:
auth:
application_credential_secret: ${{ secrets[inputs.secret_name] }}
EOF
- name: "Clean up any lingering resources from previous run"
if: ${{ inputs.layer == 'iaas' && inputs.version == 'v4' }}
run: "cd /scs-compliance && ./cleanup.py -c ${{ inputs.cloud }} --prefix _scs-"
- name: "Run scs-compliance-check"
run: "cd /scs-compliance && ./scs-compliance-check.py scs-compatible-${{ inputs.layer }}.yaml --version ${{ inputs.version }} -o result.yaml -s ${{ inputs.cloud }} -a os_cloud=${{ inputs.cloud }}"
- name: "Upload results"
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/scs-compliance-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ jobs:
auth:
password: ${{ secrets[inputs.secret_name] }}
EOF
- name: "Clean up any lingering resources from previous run"
if: ${{ inputs.layer == 'iaas' && inputs.version == 'v4' }}
run: "cd /scs-compliance && ./cleanup.py -c ${{ inputs.cloud }} --prefix _scs-"
- name: "Run scs-compliance-check"
run: "cd /scs-compliance && ./scs-compliance-check.py scs-compatible-${{ inputs.layer }}.yaml --version ${{ inputs.version }} -o result.yaml -s ${{ inputs.cloud }} -a os_cloud=${{ inputs.cloud }}"
- name: "Upload results"
Expand Down

0 comments on commit e52a81e

Please sign in to comment.