mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 02:41:59 +00:00
43 lines
1.6 KiB
YAML
43 lines
1.6 KiB
YAML
name: PublishedReleaseCI
|
|
# - Gets artifacts from S3
|
|
# - Sends it to JFROG Artifactory
|
|
# - Adds them to the release assets
|
|
|
|
on: # yamllint disable-line rule:truthy
|
|
release:
|
|
types:
|
|
- published
|
|
|
|
jobs:
|
|
ReleasePublish:
|
|
runs-on: [self-hosted, style-checker]
|
|
steps:
|
|
- name: Deploy packages and assets
|
|
run: |
|
|
GITHUB_TAG="${GITHUB_REF#refs/tags/}"
|
|
curl --silent --data '' \
|
|
'${{ secrets.PACKAGES_RELEASE_URL }}/release/'"${GITHUB_TAG}"'?binary=binary_darwin&binary=binary_darwin_aarch64&sync=true'
|
|
############################################################################################
|
|
##################################### Docker images #######################################
|
|
############################################################################################
|
|
DockerServerImages:
|
|
runs-on: [self-hosted, style-checker]
|
|
steps:
|
|
- name: Check out repository code
|
|
uses: ClickHouse/checkout@v1
|
|
with:
|
|
clear-repository: true
|
|
fetch-depth: 0 # otherwise we will have no version info
|
|
- name: Check docker clickhouse/clickhouse-server building
|
|
run: |
|
|
cd "$GITHUB_WORKSPACE/tests/ci"
|
|
python3 docker_server.py --release-type auto --version "${{ github.ref }}"
|
|
python3 docker_server.py --release-type auto --version "${{ github.ref }}" --no-ubuntu \
|
|
--image-repo clickhouse/clickhouse-keeper --image-path docker/keeper
|
|
- name: Cleanup
|
|
if: always()
|
|
run: |
|
|
docker ps --quiet | xargs --no-run-if-empty docker kill ||:
|
|
docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
|
|
sudo rm -fr "$TEMP_PATH"
|