Skip to content

test_clickhouse_version_24.11.2.101_1734979113921643 #1351

test_clickhouse_version_24.11.2.101_1734979113921643

test_clickhouse_version_24.11.2.101_1734979113921643 #1351

name: test_clickhouse_version
run-name: ${{ github.workflow }}_${{ inputs.clickhouse_version }}_${{ inputs.id || github.run_number }}
on:
workflow_dispatch:
inputs:
clickhouse_version:
description: 'ClickHouse version'
required: true
type: string
id:
description: 'Run identifier'
required: false
type: string
default: ""
jobs:
test_integration:
runs-on: ubuntu-latest
env:
CLICKHOUSE_VERSION: ${{ inputs.clickhouse_version }}
CLICKHOUSE_VERSIONS: ${{ inputs.clickhouse_version }}
NEED_SETUP: true
steps:
- uses: actions/checkout@v4
- name: Check the input tag to ${{ inputs.clickhouse_version }}
continue-on-error: true
run: |
docker manifest inspect chtools/test-clickhouse:${{ inputs.clickhouse_version }}
echo "NEED_SETUP=false" >> $GITHUB_ENV
- name: login to dockerhub
if: env.NEED_SETUP == 'true'
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: build and push necessary images
if: env.NEED_SETUP == 'true'
uses: docker/bake-action@v5
with:
files: tests/bake.hcl
push: true
- uses: ./.github/actions/setup_dependencies
with:
python-version: "3.11"
- name: run integration tests
run: make test-integration