forked from ClickHouse/ClickHouse
-
Notifications
You must be signed in to change notification settings - Fork 3
59 lines (56 loc) · 1.76 KB
/
scheduled_runs.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
name: Scheduled Altinity Stable Builds
on:
schedule:
- cron: '0 0 * * 6' #Weekly run for stable versions
- cron: '0 0 * * *' #Daily run for antalya versions
# Make sure that any changes to this file is actually tested with PRs
pull_request:
types:
- synchronize
- reopened
- opened
paths:
- '**/scheduled_runs.yml'
jobs:
DailyRuns:
strategy:
fail-fast: false
matrix:
branch:
- antalya
name: ${{ matrix.branch }}
if: github.event.schedule != '0 0 * * 6'
runs-on: ubuntu-latest
steps:
- name: Run ${{ matrix.branch }} workflow
run: |
curl -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.TOKEN }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/Altinity/ClickHouse/actions/workflows/release_branches.yml/dispatches \
-d '{"ref":"${{ matrix.branch }}"}'
WeeklyRuns:
strategy:
fail-fast: false
matrix:
branch:
- customizations/22.8.21
- customizations/23.3.19
- customizations/23.8.16
- customizations/24.3.14
- customizations/24.8.11
name: ${{ matrix.branch }}
if: github.event.schedule != '0 0 * * *'
runs-on: ubuntu-latest
steps:
- name: Run ${{ matrix.branch }} workflow
run: |
curl -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.TOKEN }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/Altinity/ClickHouse/actions/workflows/release_branches.yml/dispatches \
-d '{"ref":"${{ matrix.branch }}"}'