Skip to content
This repository was archived by the owner on Feb 23, 2023. It is now read-only.

Commit 1cfe891

Browse files
committed
Disable Buildpacks sample tests on the CI temporarily
Due to Docker rate limit issue, we will restore them when spring-projects/spring-boot#25898 will be fixed.
1 parent f987e2c commit 1cfe891

File tree

1 file changed

+30
-29
lines changed

1 file changed

+30
-29
lines changed

build-samples.sh

Lines changed: 30 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -2,35 +2,36 @@
22

33
RC=0
44

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
3435

3536

3637
echo "GraalVM: `native-image --version`" > samples-summary.csv

0 commit comments

Comments
 (0)