diff --git a/.github/actions/quality-gate/action.yaml b/.github/actions/quality-gate/action.yaml index 6dc0e341..8fe73022 100644 --- a/.github/actions/quality-gate/action.yaml +++ b/.github/actions/quality-gate/action.yaml @@ -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