Skip to content

Release Pipeline

Release Pipeline #5

Workflow file for this run

name: Release
on:
workflow_dispatch:
inputs:
release_tag:
required: true
type: string
prerelease:
type: choice
options:
- true
- false
draft:
type: choice
options:
- false
- true
jobs:
build-kafka-lightweight:
uses: ./.github/workflows/docker-build.yml
with:
IMAGE_TAG: ${{ inputs.release_tag }}-test
secrets: inherit
testflows-kafka:
needs: [build-kafka-lightweight]
uses: ./.github/workflows/testflows-sink-connector-kafka.yml
with:
SINK_CONNECTOR_IMAGE: altinityinfra/clickhouse-sink-connector:${{ inputs.release_tag }}-test-kafka
secrets: inherit
testflows-lightweight:
needs: [build-kafka-lightweight]
uses: ./.github/workflows/testflows-sink-connector-lightweight.yml
with:
SINK_CONNECTOR_IMAGE: altinityinfra/clickhouse-sink-connector:${{ inputs.release_tag }}-test-lt
secrets: inherit
java-tests-kafka:
needs: [build-kafka-lightweight]
uses: ./.github/workflows/sink-connector-kafka-tests.yml
java-tests-lightweight:
needs: [build-kafka-lightweight]
uses: ./.github/workflows/sink-connector-lightweight-tests.yml
publish:
needs: [testflows-kafka, testflows-lightweight, java-tests-kafka, java-tests-lightweight]
uses: ./.github/workflows/publish.yml
with:
release_tag: ${{ inputs.release_tag }}
prerelease: ${{ inputs.prerelease }}
draft: ${{ inputs.draft }}