Skip to content

Commit cfc5ada

Browse files
authored
Merge pull request #199 from Altinity/releases/22.3.12-prerelease
22.3.12 Pre-release
2 parents 4a08f8a + 8a01991 commit cfc5ada

File tree

360 files changed

+35055
-3787
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

360 files changed

+35055
-3787
lines changed

.github/workflows/release.yml

Lines changed: 64 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -1,66 +1,66 @@
1-
name: ReleaseWorkflow
2-
# - Gets artifacts from S3
3-
# - Sends it to JFROG Artifactory
4-
# - Adds them to the release assets
1+
# name: ReleaseWorkflow
2+
# # - Gets artifacts from S3
3+
# # - Sends it to JFROG Artifactory
4+
# # - Adds them to the release assets
55

6-
on: # yamllint disable-line rule:truthy
7-
release:
8-
types:
9-
- published
6+
# on: # yamllint disable-line rule:truthy
7+
# release:
8+
# types:
9+
# - published
1010

11-
jobs:
12-
ReleasePublish:
13-
runs-on: [self-hosted, style-checker]
14-
steps:
15-
- name: Set envs
16-
run: |
17-
cat >> "$GITHUB_ENV" << 'EOF'
18-
JFROG_API_KEY=${{ secrets.JFROG_KEY_API_PACKAGES }}
19-
TEMP_PATH=${{runner.temp}}/release_packages
20-
REPO_COPY=${{runner.temp}}/release_packages/ClickHouse
21-
EOF
22-
- name: Check out repository code
23-
uses: actions/checkout@v2
24-
with:
25-
# Always use the most recent script version
26-
ref: master
27-
- name: Download packages and push to Artifactory
28-
run: |
29-
rm -rf "$TEMP_PATH" && mkdir -p "$TEMP_PATH"
30-
cp -r "$GITHUB_WORKSPACE" "$TEMP_PATH"
31-
cd "$REPO_COPY"
32-
python3 ./tests/ci/push_to_artifactory.py --release "${{ github.ref }}" \
33-
--commit '${{ github.sha }}' --all
34-
- name: Upload packages to release assets
35-
uses: svenstaro/upload-release-action@v2
36-
with:
37-
repo_token: ${{ secrets.GITHUB_TOKEN }}
38-
file: ${{runner.temp}}/push_to_artifactory/*
39-
overwrite: true
40-
tag: ${{ github.ref }}
41-
file_glob: true
42-
############################################################################################
43-
##################################### Docker images #######################################
44-
############################################################################################
45-
DockerServerImages:
46-
runs-on: [self-hosted, style-checker]
47-
steps:
48-
- name: Clear repository
49-
run: |
50-
sudo rm -fr "$GITHUB_WORKSPACE" && mkdir "$GITHUB_WORKSPACE"
51-
- name: Check out repository code
52-
uses: actions/checkout@v2
53-
with:
54-
fetch-depth: 0 # otherwise we will have no version info
55-
- name: Check docker clickhouse/clickhouse-server building
56-
run: |
57-
cd "$GITHUB_WORKSPACE/tests/ci"
58-
python3 docker_server.py --release-type auto --version "${{ github.ref }}"
59-
python3 docker_server.py --release-type auto --version "${{ github.ref }}" --no-ubuntu \
60-
--image-repo clickhouse/clickhouse-keeper --image-path docker/keeper
61-
- name: Cleanup
62-
if: always()
63-
run: |
64-
docker kill "$(docker ps -q)" ||:
65-
docker rm -f "$(docker ps -a -q)" ||:
66-
sudo rm -fr "$TEMP_PATH"
11+
# jobs:
12+
# ReleasePublish:
13+
# runs-on: [self-hosted, style-checker]
14+
# steps:
15+
# - name: Set envs
16+
# run: |
17+
# cat >> "$GITHUB_ENV" << 'EOF'
18+
# JFROG_API_KEY=${{ secrets.JFROG_KEY_API_PACKAGES }}
19+
# TEMP_PATH=${{runner.temp}}/release_packages
20+
# REPO_COPY=${{runner.temp}}/release_packages/ClickHouse
21+
# EOF
22+
# - name: Check out repository code
23+
# uses: actions/checkout@v2
24+
# with:
25+
# # Always use the most recent script version
26+
# ref: master
27+
# - name: Download packages and push to Artifactory
28+
# run: |
29+
# rm -rf "$TEMP_PATH" && mkdir -p "$TEMP_PATH"
30+
# cp -r "$GITHUB_WORKSPACE" "$TEMP_PATH"
31+
# cd "$REPO_COPY"
32+
# python3 ./tests/ci/push_to_artifactory.py --release "${{ github.ref }}" \
33+
# --commit '${{ github.sha }}' --all
34+
# - name: Upload packages to release assets
35+
# uses: svenstaro/upload-release-action@v2
36+
# with:
37+
# repo_token: ${{ secrets.GITHUB_TOKEN }}
38+
# file: ${{runner.temp}}/push_to_artifactory/*
39+
# overwrite: true
40+
# tag: ${{ github.ref }}
41+
# file_glob: true
42+
# ############################################################################################
43+
# ##################################### Docker images #######################################
44+
# ############################################################################################
45+
# DockerServerImages:
46+
# runs-on: [self-hosted, style-checker]
47+
# steps:
48+
# - name: Clear repository
49+
# run: |
50+
# sudo rm -fr "$GITHUB_WORKSPACE" && mkdir "$GITHUB_WORKSPACE"
51+
# - name: Check out repository code
52+
# uses: actions/checkout@v2
53+
# with:
54+
# fetch-depth: 0 # otherwise we will have no version info
55+
# - name: Check docker clickhouse/clickhouse-server building
56+
# run: |
57+
# cd "$GITHUB_WORKSPACE/tests/ci"
58+
# python3 docker_server.py --release-type auto --version "${{ github.ref }}"
59+
# python3 docker_server.py --release-type auto --version "${{ github.ref }}" --no-ubuntu \
60+
# --image-repo clickhouse/clickhouse-keeper --image-path docker/keeper
61+
# - name: Cleanup
62+
# if: always()
63+
# run: |
64+
# docker kill "$(docker ps -q)" ||:
65+
# docker rm -f "$(docker ps -a -q)" ||:
66+
# sudo rm -fr "$TEMP_PATH"

0 commit comments

Comments
 (0)