File tree 3 files changed +37
-1
lines changed
src/test/groovy/io/opentelemetry/smoketest
3 files changed +37
-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 : Free disk space
28
+ run : .github/scripts/gha-free-disk-space.sh
29
+
30
+ - name : Set up JDK for running Gradle
31
+ uses : actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0
32
+ with :
33
+ distribution : temurin
34
+ java-version-file : .java-version
35
+
36
+ - name : Set up Gradle cache
37
+ uses : gradle/actions/setup-gradle@d156388eb19639ec20ade50009f3d199ce1e2808 # v4.1.0
38
+ with :
39
+ cache-read-only : true
40
+
41
+ - name : Build Java 21 Docker image
42
+ run : ./gradlew :smoke-tests:images:quarkus:jibDockerBuild -Ptag=local -PtargetJDK=21 -Djib.httpTimeout=120000 -Djib.console=plain
43
+
44
+ - name : Build Java 23 Docker image
45
+ run : ./gradlew :smoke-tests:images:quarkus:jibDockerBuild -Ptag=local -PtargetJDK=23 -Djib.httpTimeout=120000 -Djib.console=plain
46
+
47
+ - name : Verify
48
+ 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