Skip to content

Commit 560cc27

Browse files
committed
ci: disable building snapshot images without UI
1 parent 98764e1 commit 560cc27

File tree

1 file changed

+35
-45
lines changed

1 file changed

+35
-45
lines changed

.github/workflows/verify.yaml

+35-45
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,12 @@ jobs:
6161
echo "Platforms: ${{ steps.buildx.outputs.platforms }}"
6262
6363
- name: Build and Test In Memory Variant
64-
if: github.ref == 'refs/heads/main'
65-
run: make SKIP_TESTS=false BUILD_FLAGS='-DskipCommitIdPlugin=false -Dmaven.wagon.httpconnectionManager.maxTotal=30 -Dmaven.wagon.http.retryHandler.count=5 --no-transfer-progress' build-in-memory
64+
# if: github.ref == 'refs/heads/main'
65+
run: make BUILD_FLAGS='-DskipCommitIdPlugin=false -Dmaven.wagon.httpconnectionManager.maxTotal=30 -Dmaven.wagon.http.retryHandler.count=5 --no-transfer-progress' build-in-memory
6666

67-
- name: Build and Test In Memory Variant Without UI
68-
if: github.ref != 'refs/heads/main'
69-
run: make SKIP_TESTS=false BUILD_FLAGS='-DskipUiBuild -Dmaven.wagon.httpconnectionManager.maxTotal=30 -Dmaven.wagon.http.retryHandler.count=5 --no-transfer-progress' build-in-memory
67+
# - name: Build and Test In Memory Variant Without UI
68+
# if: github.ref != 'refs/heads/main'
69+
# run: make BUILD_FLAGS='-DskipUiBuild -Dmaven.wagon.httpconnectionManager.maxTotal=30 -Dmaven.wagon.http.retryHandler.count=5 --no-transfer-progress' build-in-memory
7070

7171
- name: Login to DockerHub Registry
7272
if: github.event_name == 'push'
@@ -120,12 +120,12 @@ jobs:
120120
echo "Platforms: ${{ steps.buildx.outputs.platforms }}"
121121
122122
- name: Build and Test SQL Variant
123-
if: github.ref == 'refs/heads/main'
124-
run: make SKIP_TESTS=false BUILD_FLAGS='-DskipCommitIdPlugin=false -Dmaven.wagon.httpconnectionManager.maxTotal=30 -Dmaven.wagon.http.retryHandler.count=5 --no-transfer-progress' build-sql
123+
# if: github.ref == 'refs/heads/main'
124+
run: make BUILD_FLAGS='-DskipCommitIdPlugin=false -Dmaven.wagon.httpconnectionManager.maxTotal=30 -Dmaven.wagon.http.retryHandler.count=5 --no-transfer-progress' build-sql
125125

126-
- name: Build and Test SQL Variant Without UI
127-
if: github.ref != 'refs/heads/main'
128-
run: make SKIP_TESTS=false BUILD_FLAGS='-DskipUiBuild -Dmaven.wagon.httpconnectionManager.maxTotal=30 -Dmaven.wagon.http.retryHandler.count=5 --no-transfer-progress' build-sql
126+
# - name: Build and Test SQL Variant Without UI
127+
# if: github.ref != 'refs/heads/main'
128+
# run: make BUILD_FLAGS='-DskipUiBuild -Dmaven.wagon.httpconnectionManager.maxTotal=30 -Dmaven.wagon.http.retryHandler.count=5 --no-transfer-progress' build-sql
129129

130130
- name: Login to DockerHub Registry
131131
if: github.event_name == 'push'
@@ -179,12 +179,12 @@ jobs:
179179
echo "Platforms: ${{ steps.buildx.outputs.platforms }}"
180180
181181
- name: Build and Test KafkaSQL Variant
182-
if: github.ref == 'refs/heads/main'
183-
run: make SKIP_TESTS=false BUILD_FLAGS='-DskipCommitIdPlugin=false -Dmaven.wagon.httpconnectionManager.maxTotal=30 -Dmaven.wagon.http.retryHandler.count=5 --no-transfer-progress' build-kafkasql
182+
# if: github.ref == 'refs/heads/main'
183+
run: make BUILD_FLAGS='-DskipCommitIdPlugin=false -Dmaven.wagon.httpconnectionManager.maxTotal=30 -Dmaven.wagon.http.retryHandler.count=5 --no-transfer-progress' build-kafkasql
184184

185-
- name: Build and Test KafkaSQL Variant Without UI
186-
if: github.ref != 'refs/heads/main'
187-
run: make SKIP_TESTS=false BUILD_FLAGS='-DskipUiBuild -Dmaven.wagon.httpconnectionManager.maxTotal=30 -Dmaven.wagon.http.retryHandler.count=5 --no-transfer-progress' build-kafkasql
185+
# - name: Build and Test KafkaSQL Variant Without UI
186+
# if: github.ref != 'refs/heads/main'
187+
# run: make BUILD_FLAGS='-DskipUiBuild -Dmaven.wagon.httpconnectionManager.maxTotal=30 -Dmaven.wagon.http.retryHandler.count=5 --no-transfer-progress' build-kafkasql
188188

189189
- name: Login to DockerHub Registry
190190
if: github.event_name == 'push'
@@ -225,12 +225,12 @@ jobs:
225225
( cd /tmp/coreutils-workaround && mvn dependency:get -DremoteRepositories=https://repo1.maven.org/maven2 -Dartifact=com.github.java-json-tools:jackson-coreutils:2.0 )
226226
227227
- name: Build inmemory Variant
228-
if: github.ref == 'refs/heads/main'
228+
# if: github.ref == 'refs/heads/main'
229229
run: make SKIP_TESTS=true BUILD_FLAGS='-DskipCommitIdPlugin=false -Dmaven.wagon.httpconnectionManager.maxTotal=30 -Dmaven.wagon.http.retryHandler.count=5 --no-transfer-progress' build-in-memory
230230

231-
- name: Build inmemory Variant Without UI
232-
if: github.ref != 'refs/heads/main'
233-
run: make SKIP_TESTS=true BUILD_FLAGS='-DskipUiBuild=true -Dmaven.wagon.httpconnectionManager.maxTotal=30 -Dmaven.wagon.http.retryHandler.count=5 --no-transfer-progress' build-in-memory
231+
# - name: Build inmemory Variant Without UI
232+
# if: github.ref != 'refs/heads/main'
233+
# run: make SKIP_TESTS=true BUILD_FLAGS='-DskipUiBuild -Dmaven.wagon.httpconnectionManager.maxTotal=30 -Dmaven.wagon.http.retryHandler.count=5 --no-transfer-progress' build-in-memory
234234

235235
- name: Verify docs generation
236236
run: |
@@ -241,18 +241,12 @@ jobs:
241241
fi
242242
243243
- name: Build Native executables
244-
env:
245-
SKIP_TESTS: "true"
246-
if: github.ref == 'refs/heads/main'
247-
run: |
248-
make build-mem-native
244+
# if: github.ref == 'refs/heads/main'
245+
run: make SKIP_TESTS=true build-mem-native
249246

250-
- name: Build Native executables without UI
251-
env:
252-
SKIP_TESTS: "true"
253-
if: github.ref != 'refs/heads/main'
254-
run: |
255-
make BUILD_FLAGS='-DskipUiBuild' build-mem-native
247+
# - name: Build Native executables without UI
248+
# if: github.ref != 'refs/heads/main'
249+
# run: make SKIP_TESTS=true BUILD_FLAGS='-DskipUiBuild' build-mem-native
256250

257251
- name: Build and Push Temporary image for testing
258252
env:
@@ -333,11 +327,12 @@ jobs:
333327
( cd /tmp/coreutils-workaround && mvn dependency:get -DremoteRepositories=https://repo1.maven.org/maven2 -Dartifact=com.github.java-json-tools:jackson-coreutils:2.0 )
334328
335329
- name: Build Sql Variant
336-
if: github.ref == 'refs/heads/main'
337-
run: make SKIP_TESTS=true BUILD_FLAGS='-DskipUiBuild=false -Dmaven.javadoc.skip=true --no-transfer-progress -Dmaven.wagon.httpconnectionManager.maxTotal=30 -Dmaven.wagon.http.retryHandler.count=5' build-sql
338-
- name: Build Sql Variant Without UI
339-
if: github.ref != 'refs/heads/main'
340-
run: make SKIP_TESTS=true BUILD_FLAGS='-DskipUiBuild=true -Dmaven.javadoc.skip=true --no-transfer-progress -Dmaven.wagon.httpconnectionManager.maxTotal=30 -Dmaven.wagon.http.retryHandler.count=5' build-sql
330+
# if: github.ref == 'refs/heads/main'
331+
run: make SKIP_TESTS=true BUILD_FLAGS='-Dmaven.javadoc.skip=true --no-transfer-progress -Dmaven.wagon.httpconnectionManager.maxTotal=30 -Dmaven.wagon.http.retryHandler.count=5' build-sql
332+
333+
# - name: Build Sql Variant Without UI
334+
# if: github.ref != 'refs/heads/main'
335+
# run: make SKIP_TESTS=true BUILD_FLAGS='-DskipUiBuild -Dmaven.javadoc.skip=true --no-transfer-progress -Dmaven.wagon.httpconnectionManager.maxTotal=30 -Dmaven.wagon.http.retryHandler.count=5' build-sql
341336

342337
- name: Verify docs generation
343338
run: |
@@ -348,17 +343,12 @@ jobs:
348343
fi
349344
350345
- name: Build Native executables
351-
env:
352-
SKIP_TESTS: "true"
353-
if: github.ref == 'refs/heads/main'
354-
run: |
355-
make build-sql-native
346+
# if: github.ref == 'refs/heads/main'
347+
run: make SKIP_TESTS=true build-sql-native
356348

357-
- name: Build Native executables without UI
358-
env:
359-
SKIP_TESTS: "true"
360-
if: github.ref != 'refs/heads/main'
361-
run: make BUILD_FLAGS='-DskipUiBuild' build-sql-native
349+
# - name: Build Native executables without UI
350+
# if: github.ref != 'refs/heads/main'
351+
# run: make SKIP_TESTS=true BUILD_FLAGS='-DskipUiBuild' build-sql-native
362352

363353
- name: Build and Push Temporary image for testing
364354
env:

0 commit comments

Comments
 (0)