Skip to content

Commit 8455b0d

Browse files
committed
Updating App Cloud Paks
Signed-off-by: Arthur De Magalhaes <[email protected]>
1 parent d9c4056 commit 8455b0d

9 files changed

+15
-25
lines changed

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
.DS_STORE
1+
.DS_STORE
2+
lab-artifacts/application/target

lab-artifacts/ApplicationDockerfile

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
FROM microservice-enterprise-web:1.0.0
2+
3+
COPY --chown=1001:0 server.xml /config/server.xml
4+
COPY --chown=1001:0 application/target/microservice-vote-1.0.0-SNAPSHOT.war /config/apps/vote.war
5+
6+
RUN configure.sh
File renamed without changes.

lab-artifacts/commands.txt

+5-6
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
## Login to ICP registry
22
docker login greyjoy.icp:8500
33

4-
## Build and push Enterprise Image
5-
docker build -t greyjoy.icp:8500/arthurdm/acmeair:enterpriseWeb -f EnterpriseDockerfile .
6-
docker push greyjoy.icp:8500/arthurdm/acmeair:enterpriseWeb
4+
## Build the Enterprise Image
5+
docker build -t microservice-enterprise-web:1.0.0 -f EnterpriseDockerfile .
76

87
## Build and push Application Image
9-
docker build -t greyjoy.icp:8500/arthurdm/microservice-vote:latest -f ApplicationDockerfile .
10-
docker push greyjoy.icp:8500/arthurdm/microservice-vote:latest
8+
docker build -t greyjoy.icp:8500/arthurdm/microservice-vote:1.0.0 -f ApplicationDockerfile .
9+
docker push greyjoy.icp:8500/arthurdm/microservice-vote:1.0.0
1110

1211
# Login to ICP
1312
cloudctl login -a https://9.42.98.67:8443 --skip-ssl-validation
@@ -18,4 +17,4 @@ helm install incubator/couchdb -f db_values.yaml --tls
1817

1918
## Deploy Liberty
2019
helm repo add ibm-charts https://raw.githubusercontent.com/IBM/charts/master/repo/stable/
21-
helm install ibm-charts/ibm-websphere-liberty -f app_values.yaml -f enterprise_values.yaml --tls
20+
helm install ibm-charts/ibm-websphere-liberty -f app_overrides.yaml -f enterprise_overrides.yaml --tls

lab-artifacts/docker/ApplicationDockerfile

-6
This file was deleted.

lab-artifacts/helm/application/app_values.yaml lab-artifacts/helm/application/app_overrides.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
image:
2-
repository: greyjoy.icp:8500/arthurdm/microservice-vote
3-
tag: latest
2+
repository: greyjoy.icp:8500/ademagalhaes/microservice-vote
3+
tag: 1.0.0
44
pullPolicy: Always
55
license: ""
66

lab-artifacts/helm/database/couchdb_image_policy.yaml

-10
This file was deleted.
File renamed without changes.

0 commit comments

Comments
 (0)