Skip to content

Commit

Permalink
update instructions
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Goodman <[email protected]>
  • Loading branch information
wagoodman committed Oct 26, 2023
1 parent c64272e commit f485e46
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/actions/quality-gate/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,25 +40,23 @@ runs:
shell: bash
run: |
ARCHIVE_NAME=qg-capture-state-${{ inputs.provider }}.zip
WORKFLOW_RUN_LINK=https://github.com/anchore/vunnel/actions/runs/${{ github.run_id }}
cat << EOF >> $GITHUB_STEP_SUMMARY
## Troubleshooting ${{ inputs.provider }} failed run
## Troubleshooting '${{ inputs.provider }}' failed run
Download the archive from CI for the failed provider: $WORKFLOW_RUN_LINK
Specifically the artifact: $ARCHIVE_NAME
Download the artifact from this workflow run: \`$ARCHIVE_NAME\`
Then run the following commands to debug:
```bash
\`\`\`bash
# copy the archive to the tests/quality directory
cd tests/quality
tar -xzvf $ARCHIVE_NAME
```
\`\`\`
Now you can debug the provider with yardstick:
```bash
\`\`\`bash
poetry shell
yardstick result list
yardstick label explore
```
\`\`\`
EOF

0 comments on commit f485e46

Please sign in to comment.