Skip to content

Commit ad8f61f

Browse files
committed
Revert strategy matrix changes to have more flexibility
1 parent 1763fdf commit ad8f61f

12 files changed

+4568
-891
lines changed

.github/actions/report-to-slack/action.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ runs:
1818
shell: bash
1919
run: |
2020
if [ "${{ inputs.job-status }}" == "success" ]; then
21-
echo "emoji=:white_check_mark:" >> $GITHUB_OUTPUT
21+
echo "emoji=:vcheck1:" >> $GITHUB_OUTPUT
2222
elif [ "${{ inputs.job-status }}" == "failure" ]; then
2323
echo "emoji=:x:" >> $GITHUB_OUTPUT
2424
elif [ "${{ inputs.job-status }}" == "cancelled" ]; then
@@ -27,14 +27,14 @@ runs:
2727
echo "emoji=:help:" >> $GITHUB_OUTPUT
2828
fi
2929
30-
- id: prepare-summary
31-
shell: bash
32-
run: |
33-
summary_json="{\"text\": \"*Repo:* ${{ github.repository }}\\n*Workflow:* ${{ github.workflow }}\\n*Run:* <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|View Action Run>\\n*Results:* ${{ steps.slack-status.outputs.emoji }}\"}"
34-
echo "summary=$summary_json" >> $GITHUB_OUTPUT
35-
3630
- uses: slackapi/[email protected]
3731
with:
3832
webhook: ${{ inputs.slack-webhook-url }}
3933
webhook-type: incoming-webhook
40-
payload: ${{ steps.prepare-summary.outputs.summary }}
34+
payload: |
35+
text: "*GitHub Action build result*: ${{ job.status }}\nWorkflow: ${{ github.workflow }}\nJob: ${{ github.job }}\n${{ github.event.pull_request.html_url || github.event.head_commit.url }}"
36+
blocks:
37+
- type: "section"
38+
text:
39+
type: "mrkdwn"
40+
text: "${{ steps.slack-status.outputs.emoji }} *${{ github.repository }} - ${{ github.workflow }}* — `${{ inputs.job-status }}`\n*Job:* `${{ github.job }}` • <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|View Action Run>"

.github/workflows/airgap-test.yaml

Lines changed: 265 additions & 74 deletions
Large diffs are not rendered by default.

.github/workflows/airgap-upgrade-test.yaml

Lines changed: 274 additions & 81 deletions
Large diffs are not rendered by default.

.github/workflows/kdm-test.yaml

Lines changed: 469 additions & 82 deletions
Large diffs are not rendered by default.

.github/workflows/proxy-test.yaml

Lines changed: 522 additions & 83 deletions
Large diffs are not rendered by default.

.github/workflows/proxy-upgrade-test.yaml

Lines changed: 533 additions & 90 deletions
Large diffs are not rendered by default.

.github/workflows/rancher2-recurring-test.yaml

Lines changed: 679 additions & 110 deletions
Large diffs are not rendered by default.

.github/workflows/registry-test.yaml

Lines changed: 259 additions & 74 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)