Skip to content

Commit 57c5cfc

Browse files
committed
Adding check-cloud-credentials
1 parent 3ea8c58 commit 57c5cfc

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/integration-tests.yaml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,26 @@ jobs:
1818
java-version: '21'
1919
distribution: 'adopt'
2020
architecture: x64
21+
- name: Check for Cloud Credentials
22+
id: check-cloud-credentials
23+
run: |
24+
if [[ "${{ matrix.clickhouse }}" == "cloud" && (-z "${{ secrets.INTEGRATIONS_TEAM_TESTS_CLOUD_HOST_SMT }}" || -z "${{ secrets.INTEGRATIONS_TEAM_TESTS_CLOUD_PASSWORD_SMT }}") ]]; then
25+
echo "SKIP_STEP=true" >> $GITHUB_ENV
26+
else
27+
echo "SKIP_STEP=false" >> $GITHUB_ENV
28+
fi
29+
shell: bash
2130
- name: Publish locally base
2231
if: env.SKIP_STEP != 'true'
2332
uses: gradle/gradle-build-action@v2
2433
with:
2534
arguments: :flink-connector-clickhouse-base:publishToMavenLocal --info --stacktrace --continue
26-
- name: Publish locally base
35+
- name: Publish locally flink-connector-clickhouse-1.17
2736
if: env.SKIP_STEP != 'true'
2837
uses: gradle/gradle-build-action@v2
2938
with:
3039
arguments: :flink-connector-clickhouse-1.17:publishToMavenLocal --info --stacktrace --continue
31-
- name: Publish locally base
40+
- name: Publish locally flink-connector-clickhouse-2.0.0
3241
if: env.SKIP_STEP != 'true'
3342
uses: gradle/gradle-build-action@v2
3443
with:

0 commit comments

Comments
 (0)