generated from konveyor/template-repo
-
Notifications
You must be signed in to change notification settings - Fork 12
34 lines (32 loc) · 1 KB
/
nightly-main.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Run Konveyor nightly main branch tests
on:
schedule:
- cron: "5 3 * * *"
workflow_dispatch:
jobs:
main-nightly:
uses: ./.github/workflows/global-ci-bundle.yml
with:
operator_bundle: quay.io/konveyor/tackle2-operator-bundle:latest
api_tests_ref: main
run_api_tests: true
ui_tests_ref: main
# Disabled while we wait for stability, enable when UI tests get green
run_ui_tests: false
report_failure:
needs: main-nightly
if: ${{ always() && contains(needs.*.result, 'failure') }}
runs-on: ubuntu-latest
steps:
- name: Send failure data to Slack workflow
id: slack
uses: slackapi/slack-github-action@v1.26.0
with:
payload: |
{
"test": "E2E API",
"branch": "main",
"note": "Failed run: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}