-
Notifications
You must be signed in to change notification settings - Fork 54
58 lines (51 loc) · 1.75 KB
/
release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
name: Release Pipeline
on:
workflow_dispatch:
inputs:
release_tag:
required: true
type: string
prerelease:
required: true
type: boolean
default: true
draft:
required: true
type: boolean
default: false
jobs:
build-kafka-lightweight:
uses: ./.github/workflows/docker-build.yml
secrets: inherit
with:
IMAGE_TAG: ${{ inputs.release_tag }}-test
testflows-kafka:
needs: [build-kafka-lightweight]
uses: ./.github/workflows/testflows-sink-connector-kafka.yml
secrets: inherit
with:
SINK_CONNECTOR_IMAGE: altinityinfra/clickhouse-sink-connector:${{ inputs.release_tag }}-test-kafka
testflows-lightweight:
needs: [build-kafka-lightweight]
uses: ./.github/workflows/testflows-sink-connector-lightweight.yml
secrets: inherit
with:
SINK_CONNECTOR_IMAGE: altinityinfra/clickhouse-sink-connector:${{ inputs.release_tag }}-test-lt
java-tests-kafka:
needs: [build-kafka-lightweight]
uses: ./.github/workflows/sink-connector-kafka-tests.yml
with:
SINK_CONNECTOR_IMAGE: altinityinfra/clickhouse-sink-connector:${{ github.event.number }}-${{ github.sha }}-kafka
java-tests-lightweight:
needs: [build-kafka-lightweight]
uses: ./.github/workflows/sink-connector-lightweight-tests.yml
with:
SINK_CONNECTOR_IMAGE: altinityinfra/clickhouse-sink-connector:${{ github.event.number }}-${{ github.sha }}-lt
publish:
needs: [testflows-kafka, testflows-lightweight, java-tests-kafka, java-tests-lightweight]
uses: ./.github/workflows/publish.yml
secrets: inherit
with:
release_tag: ${{ inputs.release_tag }}
prerelease: ${{ inputs.prerelease }}
draft: ${{ inputs.draft }}