-
Notifications
You must be signed in to change notification settings - Fork 1
46 lines (43 loc) · 1.25 KB
/
nightly-dispatch.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
name: Nightly CI Dispatcher
on:
#push:
# branches:
# - develop
schedule:
- cron: "0 0 * * *"
jobs:
nightly-ci-matrix:
name: Nightly CI
runs-on: ubuntu-latest
strategy:
matrix:
branch:
- develop
repo: [mayastor, mayastor-control-plane, mayastor-extensions]
fail-fast: false
steps:
- name: Awaiting
id: dispatch
uses: the-actions-org/workflow-dispatch@v4
with:
token: ${{ secrets.ORG_CI_GITHUB }}
repo: openebs/${{ matrix.repo }}
ref: ${{ matrix.branch }}
workflow: nightly-ci.yml
wait-for-completion: true
wait-for-completion-timeout: 4h
display-workflow-run-url-timeout: 1h
- name: Print Status
if: always()
run: |
echo "Workflow for repo ${{ matrix.repo }} and branch ${{ matrix.branch }} completed with status: ${{ steps.dispatch.outputs.workflow-conclusion }}"
echo "For more details, see ${{ steps.dispatch.outputs.workflow-url }}"
nightly-ci:
name: Collect All Runs
needs: nightly-ci-matrix
runs-on: ubuntu-latest
if: always()
steps:
- name: Workflow Complete
if: always()
run: echo "All matrix jobs have completed!"