Skip to content

Commit 02794b1

Browse files
authored
Merge pull request #1300 from Altinity/move_workflows_and_docs
Antalya-25.8 - Move workflows and docs
2 parents 2bfd534 + 64e9ef4 commit 02794b1

23 files changed

Lines changed: 1308 additions & 533 deletions

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,23 +18,38 @@ tests/ci/cancel_and_rerun_workflow_lambda/app.py
1818
- Not for changelog (changelog entry is not required)
1919

2020

21-
### Changelog entry (a [user-readable short description](https://github.com/ClickHouse/ClickHouse/blob/master/docs/changelog_entry_guidelines.md) of the changes that goes into CHANGELOG.md):
21+
### Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
2222
...
2323

2424
### Documentation entry for user-facing changes
2525
...
2626

27+
### CI/CD Options
2728
#### Exclude tests:
2829
- [ ] <!---ci_exclude_fast--> Fast test
2930
- [ ] <!---ci_exclude_integration--> Integration Tests
3031
- [ ] <!---ci_exclude_stateless--> Stateless tests
3132
- [ ] <!---ci_exclude_stateful--> Stateful tests
3233
- [ ] <!---ci_exclude_performance--> Performance tests
33-
- [ ] <!---ci_exclude_asan--> All with ASAN
34-
- [ ] <!---ci_exclude_tsan--> All with TSAN
35-
- [ ] <!---ci_exclude_msan--> All with MSAN
36-
- [ ] <!---ci_exclude_ubsan--> All with UBSAN
37-
- [ ] <!---ci_exclude_coverage--> All with Coverage
38-
- [ ] <!---ci_exclude_aarch64--> All with Aarch64
39-
- [ ] <!---ci_exclude_regression--> All Regression
34+
- [x] <!---ci_exclude_asan--> All with ASAN
35+
- [x] <!---ci_exclude_tsan--> All with TSAN
36+
- [x] <!---ci_exclude_msan--> All with MSAN
37+
- [x] <!---ci_exclude_ubsan--> All with UBSAN
38+
- [x] <!---ci_exclude_coverage--> All with Coverage
39+
- [ ] <!---ci_exclude_aarch64|arm--> All with Aarch64
40+
- [x] <!---ci_exclude_regression--> All Regression
4041
- [ ] <!---no_ci_cache--> Disable CI Cache
42+
43+
#### Regression jobs to run:
44+
- [ ] <!---ci_regression_common--> Fast suites (mostly <1h)
45+
- [ ] <!---ci_regression_aggregate_functions--> Aggregate Functions (2h)
46+
- [ ] <!---ci_regression_alter--> Alter (1.5h)
47+
- [ ] <!---ci_regression_benchmark--> Benchmark (30m)
48+
- [ ] <!---ci_regression_clickhouse_keeper--> ClickHouse Keeper (1h)
49+
- [ ] <!---ci_regression_iceberg--> Iceberg (2h)
50+
- [ ] <!---ci_regression_ldap--> LDAP (1h)
51+
- [ ] <!---ci_regression_parquet--> Parquet (1.5h)
52+
- [ ] <!---ci_regression_rbac--> RBAC (1.5h)
53+
- [ ] <!---ci_regression_ssl_server--> SSL Server (1h)
54+
- [ ] <!---ci_regression_s3--> S3 (2h)
55+
- [ ] <!---ci_regression_tiered_storage--> Tiered Storage (2h)

.github/workflows/README.md

Lines changed: 0 additions & 13 deletions
This file was deleted.

.github/workflows/cancel.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,14 @@ env:
66

77
on: # yamllint disable-line rule:truthy
88
workflow_run:
9-
workflows: ["PR","PullRequestCI", "ReleaseBranchCI", "DocsCheck", "BackportPR"]
9+
workflows:
10+
- "PR"
11+
- "Community PR"
12+
- "PullRequestCI"
13+
- "ReleaseBranchCI"
14+
- "MasterCI"
15+
- "DocsCheck"
16+
- "BackportPR"
1017
types:
1118
- requested
1219
jobs:

.github/workflows/compare_fails.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,15 +74,15 @@ jobs:
7474
run: |
7575
VERSION=$(git describe --tags --abbrev=0 | sed 's/v\([0-9]\+\.[0-9]\+\).*/\1/')
7676
echo "Detected version: $VERSION"
77-
78-
CURRENT_TAG=$(git tag --contains ${{ inputs.current_ref || github.sha }} | sort -r | grep -m 1 'altinity' || echo '')
79-
echo "CURRENT_TAG: '$CURRENT_TAG' ${{ inputs.current_ref || github.sha }}"
77+
78+
CURRENT_TAG=$(git tag --contains ${{ inputs.current_ref || github.sha }} | sort -r | grep -m 1 'altinity')
79+
echo "CURRENT_TAG: $CURRENT_TAG ${{ inputs.current_ref || github.sha }}"
8080
PREVIOUS_TAG_COMMIT=$(git log -1 --until=yesterday --tags=v${VERSION}*.altinity* | grep -Po "(?<=commit ).*")
8181
PREVIOUS_TAG=$(git tag --contains $PREVIOUS_TAG_COMMIT | sort -r | grep -m 1 'altinity')
82-
echo "PREVIOUS_TAG: '$PREVIOUS_TAG' $PREVIOUS_TAG_COMMIT"
82+
echo "PREVIOUS_TAG: $PREVIOUS_TAG $PREVIOUS_TAG_COMMIT"
8383
UPSTREAM_TAG_COMMIT=$(git log -1 --tags=v${VERSION}*-lts | grep -Po "(?<=commit ).*")
8484
UPSTREAM_TAG=$(git tag --contains $UPSTREAM_TAG_COMMIT | sort -r | grep -m 1 'lts')
85-
echo "UPSTREAM_TAG: '$UPSTREAM_TAG' $UPSTREAM_TAG_COMMIT"
85+
echo "UPSTREAM_TAG: $UPSTREAM_TAG $UPSTREAM_TAG_COMMIT"
8686
8787
echo "PREVIOUS_TAG=$PREVIOUS_TAG" >> $GITHUB_OUTPUT
8888
echo "PREVIOUS_TAG_COMMIT=$PREVIOUS_TAG_COMMIT" >> $GITHUB_OUTPUT
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Community PR
2+
on:
3+
workflow_dispatch:
4+
pull_request:
5+
branches:
6+
- antalya-*
7+
8+
jobs:
9+
dummy:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Print PR info
13+
run: |
14+
echo "PR #${{ github.event.pull_request.number }}"
15+
echo "Source repo: ${{ github.repository }}"
16+
echo "Base repo: ${{ github.event.pull_request.base.repo.full_name }}"
17+
echo "Actor: ${{ github.actor }}"

.github/workflows/scheduled_runs.yml

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Scheduled Altinity Stable Builds
22

33
on:
44
schedule:
5-
- cron: '0 0 * * 6' #Weekly run for stable versions
5+
- cron: '0 0 * * 6' #Weekly run for stable versions
66
- cron: '0 0 * * *' #Daily run for antalya versions
77
# Make sure that any changes to this file is actually tested with PRs
88
pull_request:
@@ -18,8 +18,8 @@ jobs:
1818
strategy:
1919
fail-fast: false
2020
matrix:
21-
branch:
22-
- antalya
21+
branch:
22+
- antalya-25.8
2323
name: ${{ matrix.branch }}
2424
if: github.event.schedule != '0 0 * * 6'
2525
runs-on: ubuntu-latest
@@ -32,14 +32,21 @@ jobs:
3232
-H "Authorization: Bearer ${{ secrets.TOKEN }}" \
3333
-H "X-GitHub-Api-Version: 2022-11-28" \
3434
https://api.github.com/repos/Altinity/ClickHouse/actions/workflows/release_branches.yml/dispatches \
35-
-d '{"ref":"${{ matrix.branch }}"}'
35+
-d '{
36+
"ref": "${{ matrix.branch }}",
37+
"inputs": {
38+
"workflow_name": "Scheduled Runs"
39+
}
40+
}'
3641
3742
WeeklyRuns:
3843
strategy:
3944
fail-fast: false
4045
matrix:
41-
branch:
46+
branch:
47+
- customizations/24.3.18
4248
- customizations/24.8.14
49+
- releases/25.3.7
4350
name: ${{ matrix.branch }}
4451
if: github.event.schedule != '0 0 * * *'
4552
runs-on: ubuntu-latest
@@ -52,4 +59,9 @@ jobs:
5259
-H "Authorization: Bearer ${{ secrets.TOKEN }}" \
5360
-H "X-GitHub-Api-Version: 2022-11-28" \
5461
https://api.github.com/repos/Altinity/ClickHouse/actions/workflows/release_branches.yml/dispatches \
55-
-d '{"ref":"${{ matrix.branch }}"}'
62+
-d '{
63+
"ref": "${{ matrix.branch }}",
64+
"inputs": {
65+
"workflow_name": "Scheduled Runs"
66+
}
67+
}'

0 commit comments

Comments
 (0)