File tree 3 files changed +28
-1
lines changed
src/test/groovy/io/opentelemetry/smoketest
3 files changed +28
-1
lines changed Original file line number Diff line number Diff line change 18
18
# Quarkus 3.7+ requires Java 17+
19
19
skip-java-8 : true
20
20
skip-java-11 : true
21
+
22
+ verify :
23
+ runs-on : ubuntu-latest
24
+ steps :
25
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
26
+
27
+ - name : Set up Gradle cache
28
+ uses : gradle/actions/setup-gradle@d156388eb19639ec20ade50009f3d199ce1e2808 # v4.1.0
29
+ with :
30
+ cache-read-only : true
31
+
32
+ - name : Build Java 21 Docker image
33
+ run : ./gradlew :smoke-tests:images:quarkus:jibDockerBuild -Ptag=local -PtargetJDK=21 -Djib.httpTimeout=120000 -Djib.console=plain
34
+
35
+ - name : Build Java 23 Docker image
36
+ run : ./gradlew :smoke-tests:images:quarkus:jibDockerBuild -Ptag=local -PtargetJDK=23 -Djib.httpTimeout=120000 -Djib.console=plain
37
+
38
+ - name : Verify
39
+ run : ./gradlew :smoke-tests:test -PsmokeTestSuite=other -Dtag=local
Original file line number Diff line number Diff line change 46
46
container {
47
47
mainClass = " bogus" // to suppress Jib warning about missing main class
48
48
}
49
+ pluginExtensions {
50
+ pluginExtension {
51
+ implementation = " com.google.cloud.tools.jib.gradle.extension.quarkus.JibQuarkusExtension"
52
+ }
53
+ }
49
54
}
50
55
51
56
tasks {
Original file line number Diff line number Diff line change @@ -18,8 +18,11 @@ import static io.opentelemetry.smoketest.TestContainerManager.useWindowsContaine
18
18
@IgnoreIf ({ useWindowsContainers() })
19
19
class QuarkusSmokeTest extends SmokeTest {
20
20
21
+ private static final TAG = System . getProperty(" tag" , " 20211213.1574595137" )
22
+
21
23
protected String getTargetImage (String jdk ) {
22
- " ghcr.io/open-telemetry/opentelemetry-java-instrumentation/smoke-test-quarkus:jdk$jdk -20211213.1574595137"
24
+ println " HERE TRASK HERE: ${ TAG} "
25
+ " ghcr.io/open-telemetry/opentelemetry-java-instrumentation/smoke-test-quarkus:jdk$jdk -$TAG "
23
26
}
24
27
25
28
@Override
You can’t perform that action at this time.
0 commit comments