Add lifecycle smoke test ci plugin
This commit adds a plugin that is heavily based on the one used by the AOT smoke tests. It uses the description of each lifecycle smoke tests to generate a GitHub Actions workflow with the necessary jobs. There is also an additional task that generates or update a status document that list the smoke tests per generation with a link to the code and workflow. See gh-61
This commit is contained in:
21
.github/send-notification/action.yml
vendored
Normal file
21
.github/send-notification/action.yml
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
name: Send notification
|
||||
description: Sends a Google Chat message as a notification of the job's outcome
|
||||
inputs:
|
||||
branch:
|
||||
description: 'The branch on which the failure occurred'
|
||||
required: true
|
||||
failure-url:
|
||||
description: 'The URL to use to link to the failure'
|
||||
required: true
|
||||
task:
|
||||
description: 'The task that has failed'
|
||||
required: true
|
||||
webhook-url:
|
||||
description: 'Google Chat Webhook URL'
|
||||
required: true
|
||||
runs:
|
||||
using: composite
|
||||
steps:
|
||||
- shell: bash
|
||||
run: |
|
||||
curl -s -o /dev/null -X POST '${{ inputs.webhook-url }}' -H 'Content-Type: application/json' -d '{ text: "<users/all> ${{ inputs.task }} <${{ inputs.failure-url }}|failed> on ${{ inputs.branch }} "}' || true
|
||||
Reference in New Issue
Block a user