Skip to content

Commit 9ed4595

Browse files
authored
Merge pull request #32 from OpenLiberty/staging
Merge staging to prod - adding -ntp to maven (#31)
2 parents 772e5b8 + 6918d3f commit 9ed4595

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

scripts/testAppFinish.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ mvn -Dhttp.keepAlive=false \
1414
-Dmaven.wagon.httpconnectionManager.ttlSeconds=120 \
1515
-q clean package
1616

17-
podman pull icr.io/appcafe/open-liberty:full-java11-openj9-ubi
18-
podman pull icr.io/appcafe/open-liberty:kernel-slim-java11-openj9-ubi
17+
podman pull -q icr.io/appcafe/open-liberty:full-java11-openj9-ubi
18+
podman pull -q icr.io/appcafe/open-liberty:kernel-slim-java11-openj9-ubi
1919

2020
podman build -t system -f ./system/Containerfile-full system/.
2121
podman build -t inventory -f ./inventory/Containerfile-full inventory/.

scripts/testAppStart.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,21 @@ set -euxo pipefail
33

44
cd ../start
55

6-
mvn -Dhttp.keepAlive=false \
6+
mvn -ntp -Dhttp.keepAlive=false \
77
-Dmaven.wagon.http.pool=false \
88
-Dmaven.wagon.httpconnectionManager.ttlSeconds=120 \
99
-q clean package
10-
mvn -Dhttp.keepAlive=false \
10+
mvn -ntp -Dhttp.keepAlive=false \
1111
-Dmaven.wagon.http.pool=false \
1212
-Dmaven.wagon.httpconnectionManager.ttlSeconds=120 \
1313
-q -pl system liberty:create liberty:install-feature liberty:deploy
14-
mvn -Dhttp.keepAlive=false \
14+
mvn -ntp -Dhttp.keepAlive=false \
1515
-Dmaven.wagon.http.pool=false \
1616
-Dmaven.wagon.httpconnectionManager.ttlSeconds=120 \
1717
-q -pl inventory liberty:create liberty:install-feature liberty:deploy
1818

19-
mvn -pl system liberty:start
20-
mvn -pl inventory liberty:start
19+
mvn -ntp -pl system liberty:start
20+
mvn -ntp -pl inventory liberty:start
2121

2222
systemStatus="$(curl --write-out "%{http_code}\n" --silent --output /dev/null "http://localhost:9080/system/properties/")"
2323
inventoryStatus="$(curl --write-out "%{http_code}\n" --silent --output /dev/null "http://localhost:9081/inventory/systems/")"
@@ -34,6 +34,6 @@ else
3434
exit 1
3535
fi
3636

37-
mvn -pl system liberty:stop
38-
mvn -pl inventory liberty:stop
37+
mvn -ntp -pl system liberty:stop
38+
mvn -ntp -pl inventory liberty:stop
3939

0 commit comments

Comments
 (0)