Skip to content

Commit 5af18ae

Browse files
authored
Allow image pull policy to be injected for tests that use test images (#750)
1 parent 16232c3 commit 5af18ae

13 files changed

+13
-0
lines changed

test/e2e/local/helidon-cluster-2.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ metadata:
55
spec:
66
replicas: 3
77
image: ${TEST_APPLICATION_IMAGE_HELIDON_2}
8+
imagePullPolicy: ${TEST_IMAGE_PULL_POLICY}
89
application:
910
type: helidon
1011
jvm:

test/e2e/local/helidon-cluster-3.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ metadata:
55
spec:
66
replicas: 3
77
image: ${TEST_APPLICATION_IMAGE_HELIDON_3}
8+
imagePullPolicy: ${TEST_IMAGE_PULL_POLICY}
89
application:
910
type: helidon
1011
jvm:

test/e2e/local/helidon-cluster.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ metadata:
55
spec:
66
replicas: 3
77
image: ${TEST_APPLICATION_IMAGE_HELIDON}
8+
imagePullPolicy: ${TEST_IMAGE_PULL_POLICY}
89
application:
910
type: helidon
1011
jvm:

test/e2e/local/job-test.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ metadata:
55
spec:
66
cluster: test
77
image: ${TEST_APPLICATION_IMAGE}
8+
imagePullPolicy: ${TEST_IMAGE_PULL_POLICY}
89
restartPolicy: Never
910
env:
1011
- name: APPLICATION_LIFETIME_SECONDS

test/e2e/local/job-with-ready-action.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ spec:
66
cluster: test
77
replicas: 3
88
image: ${TEST_APPLICATION_IMAGE}
9+
imagePullPolicy: ${TEST_IMAGE_PULL_POLICY}
910
restartPolicy: Never
1011
readyAction:
1112
httpGet:

test/e2e/local/management-jib-test.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ metadata:
55
spec:
66
replicas: 1
77
image: ${TEST_APPLICATION_IMAGE}
8+
imagePullPolicy: ${TEST_IMAGE_PULL_POLICY}
89
coherence:
910
management:
1011
enabled: true

test/e2e/local/metrics-jib-test.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ metadata:
55
spec:
66
replicas: 1
77
image: ${TEST_APPLICATION_IMAGE}
8+
imagePullPolicy: ${TEST_IMAGE_PULL_POLICY}
89
coherence:
910
metrics:
1011
enabled: true

test/e2e/local/spring-buildpack-cluster-2.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ metadata:
55
spec:
66
replicas: 3
77
image: ${TEST_APPLICATION_IMAGE_SPRING_CNBP_2}
8+
imagePullPolicy: ${TEST_IMAGE_PULL_POLICY}
89
application:
910
type: spring
1011
useImageEntryPoint: true

test/e2e/local/spring-buildpack-cluster.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ metadata:
55
spec:
66
replicas: 3
77
image: ${TEST_APPLICATION_IMAGE_SPRING_CNBP}
8+
imagePullPolicy: ${TEST_IMAGE_PULL_POLICY}
89
application:
910
type: spring3
1011
useImageEntryPoint: true

test/e2e/local/spring-cluster-2.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ metadata:
55
spec:
66
replicas: 3
77
image: ${TEST_APPLICATION_IMAGE_SPRING_2}
8+
imagePullPolicy: ${TEST_IMAGE_PULL_POLICY}
89
application:
910
type: spring
1011
workingDir: /spring

test/e2e/local/spring-cluster.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ metadata:
55
spec:
66
replicas: 3
77
image: ${TEST_APPLICATION_IMAGE_SPRING}
8+
imagePullPolicy: ${TEST_IMAGE_PULL_POLICY}
89
application:
910
type: spring3
1011
workingDir: /spring

test/e2e/local/spring-fat-jar-cluster-2.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ metadata:
55
spec:
66
replicas: 3
77
image: ${TEST_APPLICATION_IMAGE_SPRING_FAT_2}
8+
imagePullPolicy: ${TEST_IMAGE_PULL_POLICY}
89
application:
910
type: spring
1011
springBootFatJar: /app/libs/operator-test-spring-2-${MVN_VERSION}.jar

test/e2e/local/spring-fat-jar-cluster.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ metadata:
55
spec:
66
replicas: 3
77
image: ${TEST_APPLICATION_IMAGE_SPRING_FAT}
8+
imagePullPolicy: ${TEST_IMAGE_PULL_POLICY}
89
application:
910
type: spring3
1011
springBootFatJar: /app/libs/operator-test-spring-${MVN_VERSION}.jar

0 commit comments

Comments
 (0)