Skip to content

Commit

Permalink
fix(arquillian#1026): update imagePullPolicy to IfNotPresent
Browse files Browse the repository at this point in the history
  • Loading branch information
dipak-pawar committed Mar 26, 2018
1 parent 0c74228 commit 82e2ea9
Show file tree
Hide file tree
Showing 13 changed files with 32 additions and 17 deletions.
Expand Up @@ -39,6 +39,7 @@
"spec" : {
"containers" : [ {
"image" : "openshift/hello-openshift:v3.6.0",
"imagePullPolicy": "IfNotPresent",
"name" : "hello-world-container",
"ports" : [ {
"name" : "http",
Expand Down
Expand Up @@ -12,6 +12,7 @@
"containers": [
{
"image": "busybox",
"imagePullPolicy": "IfNotPresent",
"name": "only-container",
"command": ["/bin/sh"],
"args": ["-c", "while true; do sleep 1; file=\"/tmp/healthy\"; if [[ ! -f $file ]]; then touch $file; fi; echo only-one; done"],
Expand All @@ -37,6 +38,7 @@
"containers": [
{
"image": "busybox",
"imagePullPolicy": "IfNotPresent",
"name": "first-container",
"command": ["/bin/sh"],
"args": ["-c", "while true; do sleep 1; file=\"/tmp/healthy\"; if [[ ! -f $file ]]; then touch $file; fi; echo first; done"],
Expand All @@ -50,6 +52,7 @@
},
{
"image": "busybox",
"imagePullPolicy": "IfNotPresent",
"name": "second-container",
"command": ["/bin/sh"],
"args": ["-c", "while true; do sleep 1; file=\"/tmp/healthy\"; if [[ ! -f $file ]]; then touch $file; fi; echo second; done"],
Expand Down
Expand Up @@ -37,6 +37,7 @@
"spec" : {
"containers" : [ {
"image" : "openshift/hello-openshift:v3.6.0",
"imagePullPolicy": "IfNotPresent",
"name" : "hello-world-container",
"ports" : [ {
"name" : "http",
Expand Down
Expand Up @@ -27,6 +27,7 @@ spec:
spec:
containers:
- image: openshift/hello-openshift:v3.6.0
imagePullPolicy: IfNotPresent
name: hello-world-container
ports:
- name: http
Expand Down
Expand Up @@ -27,6 +27,7 @@ spec:
spec:
containers:
- image: openshift/hello-openshift:v3.6.0
imagePullPolicy: IfNotPresent
name: hello-world-container
ports:
- name: http
Expand Down
Expand Up @@ -27,6 +27,7 @@ spec:
spec:
containers:
- image: openshift/hello-openshift:v3.6.0
imagePullPolicy: Always
name: hello-world-container
ports:
- name: http
Expand Down
15 changes: 8 additions & 7 deletions openshift/ftest-containerless/src/test/resources/hello_pod.json
Expand Up @@ -11,13 +11,14 @@
"containers": [{
"name": "hello-openshift",
"image": "arquillian:./src/test/resources/wildfly",
"ports": [
{
"hostPort": 8080,
"containerPort": 8080,
"protocol": "TCP"
}
]
"imagePullPolicy": "IfNotPresent",
"ports": [
{
"hostPort": 8080,
"containerPort": 8080,
"protocol": "TCP"
}
]
}]
}
}
1 change: 1 addition & 0 deletions openshift/ftest-oc-proxy/src/test/resources/openshift.json
Expand Up @@ -40,6 +40,7 @@
"containers" : [ {
"image" : "openshift/hello-openshift:v3.6.0",
"name" : "hello-world-container",
"imagePullPolicy": "IfNotPresent",
"ports" : [ {
"name" : "http",
"protocol" : "TCP",
Expand Down
Expand Up @@ -40,6 +40,7 @@
"containers" : [ {
"image" : "openshift/hello-openshift:v3.6.0",
"name" : "hello-world-container",
"imagePullPolicy": "IfNotPresent",
"ports" : [ {
"name" : "http",
"protocol" : "TCP",
Expand Down
Expand Up @@ -40,6 +40,7 @@
"containers" : [ {
"image" : "openshift/hello-openshift:v3.6.0",
"name" : "hello-world-container",
"imagePullPolicy": "IfNotPresent",
"ports" : [ {
"name" : "http",
"protocol" : "TCP",
Expand Down
Expand Up @@ -39,6 +39,7 @@
"spec" : {
"containers" : [ {
"image" : "openshift/hello-openshift:v3.6.0",
"imagePullPolicy": "IfNotPresent",
"name" : "hello-world-container",
"ports" : [ {
"name" : "http",
Expand Down
Expand Up @@ -40,6 +40,7 @@
"containers" : [ {
"image" : "openshift/hello-openshift:v3.6.0",
"name" : "hello-openshift-container",
"imagePullPolicy": "IfNotPresent",
"ports" : [ {
"name" : "http",
"protocol" : "TCP",
Expand Down
21 changes: 11 additions & 10 deletions openshift/ftest/src/test/resources/hello_pod.json
Expand Up @@ -11,16 +11,17 @@
"containers": [{
"name": "hello-openshift",
"image": "arquillian:./src/test/resources/wildfly",
"ports": [
{
"containerPort": 8080,
"protocol": "TCP"
},
{
"containerPort": 9990,
"protocol": "TCP"
}
],
"imagePullPolicy": "IfNotPresent",
"ports": [
{
"containerPort": 8080,
"protocol": "TCP"
},
{
"containerPort": 9990,
"protocol": "TCP"
}
],
"readinessProbe" : {
"exec": {
"command": [
Expand Down

0 comments on commit 82e2ea9

Please sign in to comment.