|
2 | 2 |
|
3 | 3 | RC=0
|
4 | 4 |
|
5 |
| -echo "Testing buildpacks-based builds" |
6 |
| -if ! (cd "samples/commandlinerunner" && mvn -ntp spring-boot:build-image); then |
7 |
| - RC=1 |
8 |
| -fi |
9 |
| -docker run commandlinerunner:0.0.1-SNAPSHOT& |
10 |
| -PID=$! |
11 |
| -sleep 3 |
12 |
| -kill ${PID} > /dev/null 2>&1 |
13 |
| -if ! (cd "samples/commandlinerunner-gradle" && ./gradlew bootBuildImage); then |
14 |
| - RC=1 |
15 |
| -fi |
16 |
| -docker run commandlinerunner-gradle:0.0.1-SNAPSHOT& |
17 |
| -PID=$! |
18 |
| -sleep 3 |
19 |
| -kill ${PID} > /dev/null 2>&1 |
20 |
| -if ! (cd "samples/webmvc-kotlin" && ./gradlew bootBuildImage); then |
21 |
| - RC=1 |
22 |
| -fi |
23 |
| -docker run webmvc-kotlin:0.0.1-SNAPSHOT& |
24 |
| -PID=$! |
25 |
| -sleep 3 |
26 |
| -kill ${PID} > /dev/null 2>&1 |
27 |
| -if ! (cd "samples/security-kotlin" && ./gradlew bootBuildImage); then |
28 |
| - RC=1 |
29 |
| -fi |
30 |
| -docker run security-kotlin:0.0.1-SNAPSHOT& |
31 |
| -PID=$! |
32 |
| -sleep 3 |
33 |
| -kill ${PID} > /dev/null 2>&1 |
| 5 | +#TODO Disabled due to Docker rate limit issue, to be restored when https://github.com/spring-projects/spring-boot/issues/25898 will be fixed |
| 6 | +#echo "Testing buildpacks-based builds" |
| 7 | +#if ! (cd "samples/commandlinerunner" && mvn -ntp spring-boot:build-image); then |
| 8 | +# RC=1 |
| 9 | +#fi |
| 10 | +#docker run commandlinerunner:0.0.1-SNAPSHOT& |
| 11 | +#PID=$! |
| 12 | +#sleep 3 |
| 13 | +#kill ${PID} > /dev/null 2>&1 |
| 14 | +#if ! (cd "samples/commandlinerunner-gradle" && ./gradlew bootBuildImage); then |
| 15 | +# RC=1 |
| 16 | +#fi |
| 17 | +#docker run commandlinerunner-gradle:0.0.1-SNAPSHOT& |
| 18 | +#PID=$! |
| 19 | +#sleep 3 |
| 20 | +#kill ${PID} > /dev/null 2>&1 |
| 21 | +#if ! (cd "samples/webmvc-kotlin" && ./gradlew bootBuildImage); then |
| 22 | +# RC=1 |
| 23 | +#fi |
| 24 | +##docker run webmvc-kotlin:0.0.1-SNAPSHOT& |
| 25 | +#PID=$! |
| 26 | +#sleep 3 |
| 27 | +#kill ${PID} > /dev/null 2>&1 |
| 28 | +#if ! (cd "samples/security-kotlin" && ./gradlew bootBuildImage); then |
| 29 | +# RC=1 |
| 30 | +#fi |
| 31 | +#docker run security-kotlin:0.0.1-SNAPSHOT& |
| 32 | +#PID=$! |
| 33 | +#sleep 3 |
| 34 | +#kill ${PID} > /dev/null 2>&1 |
34 | 35 |
|
35 | 36 |
|
36 | 37 | echo "GraalVM: `native-image --version`" > samples-summary.csv
|
|
0 commit comments