🗓 Scheduled ClickHouse 24.8 #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 🗓 Scheduled ClickHouse 24.8 | |
run-name: 🗓 Scheduled ClickHouse 24.8 | |
on: | |
workflow_dispatch: | |
#Run at 00:00 AM (UTC) on Sunday | |
schedule: | |
- cron: "0 0 * * 6" | |
jobs: | |
get_clickhouse_version: | |
runs-on: [self-hosted, x86, type-cpx41, image-x86-app-docker-ce] | |
outputs: | |
version: ${{ steps.version.outputs.version }} | |
steps: | |
- name: Pull Docker image | |
run: docker pull clickhouse/clickhouse-server:24.8 | |
- name: Get version | |
id: version | |
run: | | |
VERSION_24_8=$(docker image inspect --format '{{json .}}' "clickhouse/clickhouse-server:24.8" | jq -r '.Config.Labels."com.clickhouse.build.version" | ltrimstr("v") | split("-")[0]') | |
echo "version=$VERSION_24_8" >> "$GITHUB_OUTPUT" | |
echo $VERSION_24_8 | |
clickhouse-24-8-x86-with-analyzer_zookeeper: | |
needs: get_clickhouse_version | |
uses: ./.github/workflows/reusable-workflow-x86.yml | |
name: "x86-with-analyzer-${{ needs.get_clickhouse_version.outputs.version }}-zookeeper" | |
with: | |
package: "docker://clickhouse/clickhouse-server:${{ needs.get_clickhouse_version.outputs.version }}-alpine" | |
version: "${{ needs.get_clickhouse_version.outputs.version }}-alpine" | |
extra_args: '--with-analyzer' | |
artifact_name: "clickhouse-24-8-x86-with-analyzer_zookeeper" | |
secrets: inherit | |
clickhouse-24-8-arm-with-analyzer_zookeeper: | |
needs: get_clickhouse_version | |
uses: ./.github/workflows/reusable-workflow-arm.yml | |
name: "arm-with-analyzer-${{ needs.get_clickhouse_version.outputs.version }}-zookeeper" | |
with: | |
package: "docker://clickhouse/clickhouse-server:${{ needs.get_clickhouse_version.outputs.version }}-alpine" | |
version: "${{ needs.get_clickhouse_version.outputs.version }}-alpine" | |
extra_args: '--with-analyzer' | |
artifact_name: "clickhouse-24-8-arm-with-analyzer_zookeeper" | |
secrets: inherit |