Skip to content

Commit ca39d07

Browse files
committed
workflow update using templates
1 parent 887b228 commit ca39d07

File tree

10 files changed

+2191
-102
lines changed

10 files changed

+2191
-102
lines changed

.github/workflows/backport_branches.yml

Lines changed: 256 additions & 0 deletions
Large diffs are not rendered by default.

.github/workflows/master.yml

Lines changed: 744 additions & 48 deletions
Large diffs are not rendered by default.

.github/workflows/merge_queue.yml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ jobs:
4141

4242
- name: Setup
4343
uses: ./.github/actions/runner_setup
44+
- name: Docker setup
45+
uses: ./.github/actions/docker_setup
46+
with:
47+
test_name: "{JOB_NAME_GH}"
4448

4549
- name: Note report location to summary
4650
env:
@@ -50,6 +54,10 @@ jobs:
5054
REPORT_LINK=https://s3.amazonaws.com/altinity-build-artifacts/$PR_NUMBER/$COMMIT_SHA/ci_run_report.html
5155
echo "Workflow Run Report: [View Report]($REPORT_LINK)" >> $GITHUB_STEP_SUMMARY
5256
57+
- name: Docker setup
58+
uses: ./.github/actions/docker_setup
59+
with:
60+
test_name: "Config Workflow"
5361
- name: Prepare env script
5462
run: |
5563
rm -rf ./ci/tmp ./ci/tmp ./ci/tmp
@@ -90,7 +98,15 @@ jobs:
9098

9199
- name: Setup
92100
uses: ./.github/actions/runner_setup
101+
- name: Docker setup
102+
uses: ./.github/actions/docker_setup
103+
with:
104+
test_name: "{JOB_NAME_GH}"
93105

106+
- name: Docker setup
107+
uses: ./.github/actions/docker_setup
108+
with:
109+
test_name: "Dockers Build (amd)"
94110
- name: Prepare env script
95111
run: |
96112
rm -rf ./ci/tmp ./ci/tmp ./ci/tmp
@@ -131,7 +147,15 @@ jobs:
131147

132148
- name: Setup
133149
uses: ./.github/actions/runner_setup
150+
- name: Docker setup
151+
uses: ./.github/actions/docker_setup
152+
with:
153+
test_name: "{JOB_NAME_GH}"
134154

155+
- name: Docker setup
156+
uses: ./.github/actions/docker_setup
157+
with:
158+
test_name: "Dockers Build (arm)"
135159
- name: Prepare env script
136160
run: |
137161
rm -rf ./ci/tmp ./ci/tmp ./ci/tmp
@@ -172,7 +196,15 @@ jobs:
172196

173197
- name: Setup
174198
uses: ./.github/actions/runner_setup
199+
- name: Docker setup
200+
uses: ./.github/actions/docker_setup
201+
with:
202+
test_name: "{JOB_NAME_GH}"
175203

204+
- name: Docker setup
205+
uses: ./.github/actions/docker_setup
206+
with:
207+
test_name: "Style check"
176208
- name: Prepare env script
177209
run: |
178210
rm -rf ./ci/tmp ./ci/tmp ./ci/tmp
@@ -213,7 +245,15 @@ jobs:
213245

214246
- name: Setup
215247
uses: ./.github/actions/runner_setup
248+
- name: Docker setup
249+
uses: ./.github/actions/docker_setup
250+
with:
251+
test_name: "{JOB_NAME_GH}"
216252

253+
- name: Docker setup
254+
uses: ./.github/actions/docker_setup
255+
with:
256+
test_name: "Fast test"
217257
- name: Prepare env script
218258
run: |
219259
rm -rf ./ci/tmp ./ci/tmp ./ci/tmp
@@ -254,7 +294,15 @@ jobs:
254294

255295
- name: Setup
256296
uses: ./.github/actions/runner_setup
297+
- name: Docker setup
298+
uses: ./.github/actions/docker_setup
299+
with:
300+
test_name: "{JOB_NAME_GH}"
257301

302+
- name: Docker setup
303+
uses: ./.github/actions/docker_setup
304+
with:
305+
test_name: "Build (amd_binary)"
258306
- name: Prepare env script
259307
run: |
260308
rm -rf ./ci/tmp ./ci/tmp ./ci/tmp
@@ -295,7 +343,15 @@ jobs:
295343

296344
- name: Setup
297345
uses: ./.github/actions/runner_setup
346+
- name: Docker setup
347+
uses: ./.github/actions/docker_setup
348+
with:
349+
test_name: "{JOB_NAME_GH}"
298350

351+
- name: Docker setup
352+
uses: ./.github/actions/docker_setup
353+
with:
354+
test_name: "Finish Workflow"
299355
- name: Prepare env script
300356
run: |
301357
rm -rf ./ci/tmp ./ci/tmp ./ci/tmp

.github/workflows/nightly_fuzzers.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ jobs:
2929

3030
- name: Setup
3131
uses: ./.github/actions/runner_setup
32+
- name: Docker setup
33+
uses: ./.github/actions/docker_setup
34+
with:
35+
test_name: "{JOB_NAME_GH}"
3236

3337
- name: Note report location to summary
3438
env:
@@ -38,6 +42,10 @@ jobs:
3842
REPORT_LINK=https://s3.amazonaws.com/altinity-build-artifacts/$PR_NUMBER/$COMMIT_SHA/ci_run_report.html
3943
echo "Workflow Run Report: [View Report]($REPORT_LINK)" >> $GITHUB_STEP_SUMMARY
4044
45+
- name: Docker setup
46+
uses: ./.github/actions/docker_setup
47+
with:
48+
test_name: "Config Workflow"
4149
- name: Prepare env script
4250
run: |
4351
rm -rf ./ci/tmp ./ci/tmp ./ci/tmp
@@ -78,7 +86,15 @@ jobs:
7886

7987
- name: Setup
8088
uses: ./.github/actions/runner_setup
89+
- name: Docker setup
90+
uses: ./.github/actions/docker_setup
91+
with:
92+
test_name: "{JOB_NAME_GH}"
8193

94+
- name: Docker setup
95+
uses: ./.github/actions/docker_setup
96+
with:
97+
test_name: "Dockers Build (amd)"
8298
- name: Prepare env script
8399
run: |
84100
rm -rf ./ci/tmp ./ci/tmp ./ci/tmp
@@ -119,7 +135,15 @@ jobs:
119135

120136
- name: Setup
121137
uses: ./.github/actions/runner_setup
138+
- name: Docker setup
139+
uses: ./.github/actions/docker_setup
140+
with:
141+
test_name: "{JOB_NAME_GH}"
122142

143+
- name: Docker setup
144+
uses: ./.github/actions/docker_setup
145+
with:
146+
test_name: "Dockers Build (arm)"
123147
- name: Prepare env script
124148
run: |
125149
rm -rf ./ci/tmp ./ci/tmp ./ci/tmp
@@ -160,7 +184,15 @@ jobs:
160184

161185
- name: Setup
162186
uses: ./.github/actions/runner_setup
187+
- name: Docker setup
188+
uses: ./.github/actions/docker_setup
189+
with:
190+
test_name: "{JOB_NAME_GH}"
163191

192+
- name: Docker setup
193+
uses: ./.github/actions/docker_setup
194+
with:
195+
test_name: "Build (fuzzers)"
164196
- name: Prepare env script
165197
run: |
166198
rm -rf ./ci/tmp ./ci/tmp ./ci/tmp
@@ -201,7 +233,15 @@ jobs:
201233

202234
- name: Setup
203235
uses: ./.github/actions/runner_setup
236+
- name: Docker setup
237+
uses: ./.github/actions/docker_setup
238+
with:
239+
test_name: "{JOB_NAME_GH}"
204240

241+
- name: Docker setup
242+
uses: ./.github/actions/docker_setup
243+
with:
244+
test_name: "libFuzzer tests"
205245
- name: Prepare env script
206246
run: |
207247
rm -rf ./ci/tmp ./ci/tmp ./ci/tmp

.github/workflows/nightly_jepsen.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ jobs:
2929

3030
- name: Setup
3131
uses: ./.github/actions/runner_setup
32+
- name: Docker setup
33+
uses: ./.github/actions/docker_setup
34+
with:
35+
test_name: "{JOB_NAME_GH}"
3236

3337
- name: Note report location to summary
3438
env:
@@ -38,6 +42,10 @@ jobs:
3842
REPORT_LINK=https://s3.amazonaws.com/altinity-build-artifacts/$PR_NUMBER/$COMMIT_SHA/ci_run_report.html
3943
echo "Workflow Run Report: [View Report]($REPORT_LINK)" >> $GITHUB_STEP_SUMMARY
4044
45+
- name: Docker setup
46+
uses: ./.github/actions/docker_setup
47+
with:
48+
test_name: "Config Workflow"
4149
- name: Prepare env script
4250
run: |
4351
rm -rf ./ci/tmp ./ci/tmp ./ci/tmp
@@ -78,7 +86,15 @@ jobs:
7886

7987
- name: Setup
8088
uses: ./.github/actions/runner_setup
89+
- name: Docker setup
90+
uses: ./.github/actions/docker_setup
91+
with:
92+
test_name: "{JOB_NAME_GH}"
8193

94+
- name: Docker setup
95+
uses: ./.github/actions/docker_setup
96+
with:
97+
test_name: "Dockers Build (amd)"
8298
- name: Prepare env script
8399
run: |
84100
rm -rf ./ci/tmp ./ci/tmp ./ci/tmp
@@ -119,7 +135,15 @@ jobs:
119135

120136
- name: Setup
121137
uses: ./.github/actions/runner_setup
138+
- name: Docker setup
139+
uses: ./.github/actions/docker_setup
140+
with:
141+
test_name: "{JOB_NAME_GH}"
122142

143+
- name: Docker setup
144+
uses: ./.github/actions/docker_setup
145+
with:
146+
test_name: "Dockers Build (arm)"
123147
- name: Prepare env script
124148
run: |
125149
rm -rf ./ci/tmp ./ci/tmp ./ci/tmp
@@ -160,7 +184,15 @@ jobs:
160184

161185
- name: Setup
162186
uses: ./.github/actions/runner_setup
187+
- name: Docker setup
188+
uses: ./.github/actions/docker_setup
189+
with:
190+
test_name: "{JOB_NAME_GH}"
163191

192+
- name: Docker setup
193+
uses: ./.github/actions/docker_setup
194+
with:
195+
test_name: "Build (amd_binary)"
164196
- name: Prepare env script
165197
run: |
166198
rm -rf ./ci/tmp ./ci/tmp ./ci/tmp
@@ -201,7 +233,15 @@ jobs:
201233

202234
- name: Setup
203235
uses: ./.github/actions/runner_setup
236+
- name: Docker setup
237+
uses: ./.github/actions/docker_setup
238+
with:
239+
test_name: "{JOB_NAME_GH}"
204240

241+
- name: Docker setup
242+
uses: ./.github/actions/docker_setup
243+
with:
244+
test_name: "ClickHouse Keeper Jepsen"
205245
- name: Prepare env script
206246
run: |
207247
rm -rf ./ci/tmp ./ci/tmp ./ci/tmp

.github/workflows/nightly_statistics.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ jobs:
2929

3030
- name: Setup
3131
uses: ./.github/actions/runner_setup
32+
- name: Docker setup
33+
uses: ./.github/actions/docker_setup
34+
with:
35+
test_name: "{JOB_NAME_GH}"
3236

3337
- name: Note report location to summary
3438
env:
@@ -38,6 +42,10 @@ jobs:
3842
REPORT_LINK=https://s3.amazonaws.com/altinity-build-artifacts/$PR_NUMBER/$COMMIT_SHA/ci_run_report.html
3943
echo "Workflow Run Report: [View Report]($REPORT_LINK)" >> $GITHUB_STEP_SUMMARY
4044
45+
- name: Docker setup
46+
uses: ./.github/actions/docker_setup
47+
with:
48+
test_name: "Config Workflow"
4149
- name: Prepare env script
4250
run: |
4351
rm -rf ./ci/tmp ./ci/tmp ./ci/tmp
@@ -75,7 +83,15 @@ jobs:
7583

7684
- name: Setup
7785
uses: ./.github/actions/runner_setup
86+
- name: Docker setup
87+
uses: ./.github/actions/docker_setup
88+
with:
89+
test_name: "{JOB_NAME_GH}"
7890

91+
- name: Docker setup
92+
uses: ./.github/actions/docker_setup
93+
with:
94+
test_name: "Collect Statistics"
7995
- name: Prepare env script
8096
run: |
8197
rm -rf ./ci/tmp ./ci/tmp ./ci/tmp

0 commit comments

Comments
 (0)