Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
derekoneil committed Dec 3, 2018
2 parents c5556e5 + c4900e1 commit 0baba00
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
12 changes: 6 additions & 6 deletions alpha-office-product-catalog.kubernetes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: Deployment
metadata:
name: product-catalog-app
labels:
commit: 48f74f435786d54673ac8c01f06a5fc69fb4b484
commit: 4ca160fd05c003e5067fd6d9c8213656b24b962c
spec:
replicas: 2
selector:
Expand All @@ -13,11 +13,11 @@ spec:
metadata:
labels:
app: product-catalog-app
commit: 48f74f435786d54673ac8c01f06a5fc69fb4b484
commit: 4ca160fd05c003e5067fd6d9c8213656b24b962c
spec:
containers:
- name: product-catalog-app-container
image: derekoneil/alpha-office-product-catalog
image: derekoneil/alpha-office-product-catalog:master-4ca160fd05c003e5067fd6d9c8213656b24b962c
imagePullPolicy: Always
ports:
- name: pc-app-port
Expand All @@ -32,14 +32,14 @@ metadata:
name: product-catalog-service
labels:
app: product-catalog-app
commit: 48f74f435786d54673ac8c01f06a5fc69fb4b484
commit: 4ca160fd05c003e5067fd6d9c8213656b24b962c
spec:
ports:
- port: 30000
nodePort:30000
nodePort: 30000
targetPort: 80
selector:
app: product-catalog-app
commit: 48f74f435786d54673ac8c01f06a5fc69fb4b484
commit: 4ca160fd05c003e5067fd6d9c8213656b24b962c
type: NodePort
---
7 changes: 7 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,13 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<useSystemClassLoader>false</useSystemClassLoader>
</configuration>
</plugin>
</plugins>
</build>

Expand Down
2 changes: 1 addition & 1 deletion wercker.yml.final
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Use OpenJDK base docker image from dockerhub and open the application port on the docker container
box:
id: openjdk
id: openjdk:8
ports:
- 8080

Expand Down

0 comments on commit 0baba00

Please sign in to comment.