Skip to content

test_clickhouse_version_22.3.20.29_1704650057454914 #365

test_clickhouse_version_22.3.20.29_1704650057454914

test_clickhouse_version_22.3.20.29_1704650057454914 #365

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@v3
- 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@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: build and push necessary images
if: env.NEED_SETUP == 'true'
uses: docker/bake-action@v3
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