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:
Stéphane Nicoll
2024-07-16 15:25:19 +02:00
parent 6686a6fe3b
commit 9138f2fc2e
13 changed files with 664 additions and 0 deletions

21
.github/send-notification/action.yml vendored Normal file
View 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