Skip to content

Scheduled ClickHouse head #50

Scheduled ClickHouse head

Scheduled ClickHouse head #50

name: Scheduled ClickHouse head
run-name: Scheduled ClickHouse head
on:
workflow_dispatch:
#Run At 00:00 (UTC) on Sunday, Tuesday, and Thursday
schedule:
- cron: "0 0 * * 6,2,4"
jobs:
clickhouse-head-x86-with-analyzer-zookeeper:
uses: ./.github/workflows/reusable-workflow-x86.yml
with:
package: "docker://clickhouse/clickhouse-server:head-alpine"
extra_args: '--with-analyzer'
artifact_name: clickhouse-head-x86-with-analyzer-zookeeper
secrets:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_REPORT_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_REPORT_SECRET_ACCESS_KEY }}
AWS_REPORT_REGION: ${{ secrets.AWS_REPORT_REGION }}
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
CHECKS_DATABASE_HOST: ${{ secrets.CHECKS_DATABASE_HOST }}
CHECKS_DATABASE_USER: ${{ secrets.CHECKS_DATABASE_USER }}
CHECKS_DATABASE_PASSWORD: ${{ secrets.CHECKS_DATABASE_PASSWORD }}
clickhouse-head-arm-with-analyzer-zookeeper:
uses: ./.github/workflows/reusable-workflow-arm.yml
with:
package: "docker://clickhouse/clickhouse-server:head-alpine"
extra_args: '--with-analyzer'
artifact_name: clickhouse-head-arm-with-analyzer-zookeeper
secrets:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_REPORT_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_REPORT_SECRET_ACCESS_KEY }}
AWS_REPORT_REGION: ${{ secrets.AWS_REPORT_REGION }}
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
CHECKS_DATABASE_HOST: ${{ secrets.CHECKS_DATABASE_HOST }}
CHECKS_DATABASE_USER: ${{ secrets.CHECKS_DATABASE_USER }}
CHECKS_DATABASE_PASSWORD: ${{ secrets.CHECKS_DATABASE_PASSWORD }}
clickhouse-head-x86-with-analyzer-keeper:
uses: ./.github/workflows/reusable-workflow-x86.yml
with:
package: "docker://clickhouse/clickhouse-server:head-alpine"
extra_args: '--with-analyzer --use-keeper'
artifact_name: clickhouse-head-x86-with-analyzer-keeper
secrets:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_REPORT_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_REPORT_SECRET_ACCESS_KEY }}
AWS_REPORT_REGION: ${{ secrets.AWS_REPORT_REGION }}
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
CHECKS_DATABASE_HOST: ${{ secrets.CHECKS_DATABASE_HOST }}
CHECKS_DATABASE_USER: ${{ secrets.CHECKS_DATABASE_USER }}
CHECKS_DATABASE_PASSWORD: ${{ secrets.CHECKS_DATABASE_PASSWORD }}
clickhouse-head-arm-with-analyzer-keeper:
uses: ./.github/workflows/reusable-workflow-arm.yml
with:
package: "docker://clickhouse/clickhouse-server:head-alpine"
extra_args: '--with-analyzer --use-keeper'
artifact_name: clickhouse-head-arm-with-analyzer-keeper
secrets:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_REPORT_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_REPORT_SECRET_ACCESS_KEY }}
AWS_REPORT_REGION: ${{ secrets.AWS_REPORT_REGION }}
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
CHECKS_DATABASE_HOST: ${{ secrets.CHECKS_DATABASE_HOST }}
CHECKS_DATABASE_USER: ${{ secrets.CHECKS_DATABASE_USER }}
CHECKS_DATABASE_PASSWORD: ${{ secrets.CHECKS_DATABASE_PASSWORD }}