Skip to content

Commit f7a25b6

Browse files
authored
Merge pull request #27 from OpenLiberty/staging
Merge staging to prod - Updated containerfiles (#24)
2 parents c2dc1bb + f96f1e4 commit f7a25b6

File tree

6 files changed

+13
-14
lines changed

6 files changed

+13
-14
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,15 @@ jobs:
5252
- run: unset _JAVA_OPTIONS
5353
- name: Run tests
5454
run: |
55-
sudo ../scripts/testAppFinish.sh
56-
sudo ../scripts/testAppStart.sh
55+
../scripts/testAppFinish.sh
56+
../scripts/testAppStart.sh
5757
- name: Post tests
5858
if: always()
5959
run: |
60-
sudo podman images
60+
podman images
6161
cd ../start
62-
logsPath=$(sudo find . -name "console.log" | grep inventory);
63-
sudo cat $logsPath | sudo grep Launching
62+
logsPath=$(find . -name "console.log" | grep inventory);
63+
cat $logsPath | grep Launching
6464
- name: Archive server logs if failed
6565
if: failure()
6666
uses: actions/upload-artifact@v2

finish/inventory/Containerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ LABEL \
1010
org.opencontainers.image.authors="Your Name" \
1111
org.opencontainers.image.vendor="Open Liberty" \
1212
org.opencontainers.image.url="local" \
13-
org.opencontainers.image.source="https://github.com/OpenLiberty/guide-containerize" \
13+
org.opencontainers.image.source="https://github.com/OpenLiberty/guide-containerize-podman" \
1414
org.opencontainers.image.version="$VERSION" \
1515
org.opencontainers.image.revision="$REVISION" \
1616
vendor="Open Liberty" \
1717
name="inventory" \
1818
version="$VERSION-$REVISION" \
19-
summary="The inventory microservice from the Containerizing microservices guide" \
19+
summary="The inventory microservice from the Containerizing microservices with Podman guide" \
2020
description="This image contains the inventory microservice running with the Open Liberty runtime."
2121
# end::label[]
2222

finish/inventory/Containerfile-full

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ LABEL \
1010
org.opencontainers.image.authors="Your Name" \
1111
org.opencontainers.image.vendor="Open Liberty" \
1212
org.opencontainers.image.url="local" \
13-
org.opencontainers.image.source="https://github.com/OpenLiberty/guide-containerize" \
13+
org.opencontainers.image.source="https://github.com/OpenLiberty/guide-containerize-podman" \
1414
org.opencontainers.image.version="$VERSION" \
1515
org.opencontainers.image.revision="$REVISION" \
1616
vendor="Open Liberty" \
1717
name="inventory" \
1818
version="$VERSION-$REVISION" \
19-
summary="The inventory microservice from the Containerizing microservices guide" \
19+
summary="The inventory microservice from the Containerizing microservices with Podman guide" \
2020
description="This image contains the inventory microservice running with the Open Liberty runtime."
2121
# end::label[]
2222

finish/system/Containerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ LABEL \
99
org.opencontainers.image.authors="Your Name" \
1010
org.opencontainers.image.vendor="Open Liberty" \
1111
org.opencontainers.image.url="local" \
12-
org.opencontainers.image.source="https://github.com/OpenLiberty/guide-containerize" \
12+
org.opencontainers.image.source="https://github.com/OpenLiberty/guide-containerize-podman" \
1313
org.opencontainers.image.version="$VERSION" \
1414
org.opencontainers.image.revision="$REVISION" \
1515
vendor="Open Liberty" \
@@ -18,7 +18,7 @@ LABEL \
1818
# end::name[]
1919
version="$VERSION-$REVISION" \
2020
# tag::summary[]
21-
summary="The system microservice from the Containerizing microservices guide" \
21+
summary="The system microservice from the Containerizing microservices with Podman guide" \
2222
description="This image contains the system microservice running with the Open Liberty runtime."
2323
# end::summary[]
2424

finish/system/Containerfile-full

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ LABEL \
77
org.opencontainers.image.authors="Your Name" \
88
org.opencontainers.image.vendor="Open Liberty" \
99
org.opencontainers.image.url="local" \
10-
org.opencontainers.image.source="https://github.com/OpenLiberty/guide-containerize" \
10+
org.opencontainers.image.source="https://github.com/OpenLiberty/guide-containerize-podman" \
1111
org.opencontainers.image.version="$VERSION" \
1212
org.opencontainers.image.revision="$REVISION" \
1313
vendor="Open Liberty" \
@@ -16,7 +16,7 @@ LABEL \
1616
# end::name[]
1717
version="$VERSION-$REVISION" \
1818
# tag::summary[]
19-
summary="The system microservice from the Containerizing microservices guide" \
19+
summary="The system microservice from the Containerizing microservices with Podman guide" \
2020
description="This image contains the system microservice running with the Open Liberty runtime."
2121
# end::summary[]
2222

scripts/testAppFinish.sh

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

17-
podman pull openliberty/open-liberty:kernel-java8-openj9-ubi
1817
podman pull icr.io/appcafe/open-liberty:full-java11-openj9-ubi
1918
podman pull icr.io/appcafe/open-liberty:kernel-slim-java11-openj9-ubi
2019

0 commit comments

Comments
 (0)