-
Notifications
You must be signed in to change notification settings - Fork 89
92 lines (83 loc) · 2.98 KB
/
nightly-build.yml
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
name: Run nightly tests on all plugins
on:
workflow_dispatch:
schedule:
# Run every day at midnight (UTC time)
- cron: '0 0 * * *'
jobs:
airflow-test:
uses: ./.github/workflows/kedro-airflow.yml
datasets-test:
uses: ./.github/workflows/kedro-datasets.yml
docker-test:
uses: ./.github/workflows/kedro-docker.yml
telemetry-test:
uses: ./.github/workflows/kedro-telemetry.yml
notify-airflow:
permissions:
issues: write
name: Notify failed build for airflow
needs: airflow-test
if: ${{ !success() }}
runs-on: ubuntu-latest
steps:
- uses: jayqi/failed-build-issue-action@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
label-name: "airflow nightly build"
title-template: "`kedro-airflow`: Nightly build failure"
body-template: |
GitHub Actions workflow [{{workflow}} #{{runNumber}}](https://github.com/{{repo.owner}}/{{repo.repo}}/actions/runs/{{runId}}) failed.
create-label: true
always-create-new-issue: false
notify-datasets:
permissions:
issues: write
name: Notify failed build for datasets
needs: datasets-test
if: ${{ !success() }}
runs-on: ubuntu-latest
steps:
- uses: jayqi/failed-build-issue-action@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
label-name: "datasets nightly build"
title-template: "`kedro-datasets`: Nightly build failure"
body-template: |
GitHub Actions workflow [{{workflow}} #{{runNumber}}](https://github.com/{{repo.owner}}/{{repo.repo}}/actions/runs/{{runId}}) failed.
create-label: true
always-create-new-issue: false
notify-docker:
permissions:
issues: write
name: Notify failed build for docker
needs: docker-test
if: ${{ !success() }}
runs-on: ubuntu-latest
steps:
- uses: jayqi/failed-build-issue-action@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
label-name: "docker nightly build"
title-template: "`kedro-docker`: Nightly build failure"
body-template: |
GitHub Actions workflow [{{workflow}} #{{runNumber}}](https://github.com/{{repo.owner}}/{{repo.repo}}/actions/runs/{{runId}}) failed.
create-label: true
always-create-new-issue: false
notify-telemetry:
permissions:
issues: write
name: Notify failed build for telemetry
needs: telemetry-test
if: ${{ !success() }}
runs-on: ubuntu-latest
steps:
- uses: jayqi/failed-build-issue-action@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
label-name: "telemetry nightly build"
title-template: "`kedro-telemetry`: Nightly build failure"
body-template: |
GitHub Actions workflow [{{workflow}} #{{runNumber}}](https://github.com/{{repo.owner}}/{{repo.repo}}/actions/runs/{{runId}}) failed.
create-label: true
always-create-new-issue: false