mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 17:41:59 +00:00
41 lines
1.6 KiB
YAML
41 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: |
|
|
curl '${{ secrets.PACKAGES_RELEASE_URL }}/release/${{ github.ref }}?binary=binary_darwin&binary=binary_darwin_aarch64&sync=true' -d ''
|
|
############################################################################################
|
|
##################################### 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"
|