Skip to content

Commit

Permalink
test: adapt helm test not to use real image tags (keptn#2383)
Browse files Browse the repository at this point in the history
Signed-off-by: odubajDT <[email protected]>
  • Loading branch information
odubajDT authored Oct 31, 2023
1 parent 16a4a14 commit 792b594
Show file tree
Hide file tree
Showing 9 changed files with 33 additions and 12 deletions.
8 changes: 4 additions & 4 deletions .github/scripts/.helm-tests/default/result.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8162,7 +8162,7 @@ spec:
value: "true"
- name: KUBERNETES_CLUSTER_DOMAIN
value: cluster.local
image: ghcr.io/keptn/certificate-operator:v1.2.0
image: ghcr.io/keptn/certificate-operator:v0.0.0
imagePullPolicy: Always
name: certificate-operator
resources:
Expand Down Expand Up @@ -8277,7 +8277,7 @@ spec:
value: "false"
- name: KUBERNETES_CLUSTER_DOMAIN
value: cluster.local
image: ghcr.io/keptn/lifecycle-operator:v0.8.2
image: ghcr.io/keptn/lifecycle-operator:v0.0.0
imagePullPolicy: Always
name: lifecycle-operator
ports:
Expand Down Expand Up @@ -8369,7 +8369,7 @@ spec:
value: "otel-collector:4317"
- name: KUBERNETES_CLUSTER_DOMAIN
value: cluster.local
image: ghcr.io/keptn/scheduler:v0.8.3
image: ghcr.io/keptn/scheduler:v0.0.0
imagePullPolicy: Always
name: scheduler
resources:
Expand Down Expand Up @@ -8472,7 +8472,7 @@ spec:
value: "0"
- name: KUBERNETES_CLUSTER_DOMAIN
value: cluster.local
image: ghcr.io/keptn/metrics-operator:v0.8.3
image: ghcr.io/keptn/metrics-operator:v0.0.0
imagePullPolicy: Always
name: metrics-operator
ports:
Expand Down
10 changes: 10 additions & 0 deletions .github/scripts/.helm-tests/default/values.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
certManager:
enabled: true
image:
tag: v0.0.0
lifecycleOperator:
enabled: true
lifecycleOperator:
image:
tag: v0.0.0
scheduler:
image:
tag: v0.0.0
metricsOperator:
enabled: true
image:
tag: v0.0.0
6 changes: 3 additions & 3 deletions .github/scripts/.helm-tests/lifecycle-with-certs/result.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6666,7 +6666,7 @@ spec:
value: "true"
- name: KUBERNETES_CLUSTER_DOMAIN
value: cluster.local
image: ghcr.io/keptn/certificate-operator:v1.2.0
image: ghcr.io/keptn/certificate-operator:v0.0.0
imagePullPolicy: Always
name: certificate-operator
resources:
Expand Down Expand Up @@ -6781,7 +6781,7 @@ spec:
value: "false"
- name: KUBERNETES_CLUSTER_DOMAIN
value: cluster.local
image: ghcr.io/keptn/lifecycle-operator:v0.8.2
image: ghcr.io/keptn/lifecycle-operator:v0.0.0
imagePullPolicy: Never
name: lifecycle-operator
ports:
Expand Down Expand Up @@ -6873,7 +6873,7 @@ spec:
value: "otel-collector:4317"
- name: KUBERNETES_CLUSTER_DOMAIN
value: cluster.local
image: ghcr.io/keptn/scheduler:v0.8.3
image: ghcr.io/keptn/scheduler:v0.0.0
imagePullPolicy: Never
name: scheduler
resources:
Expand Down
6 changes: 6 additions & 0 deletions .github/scripts/.helm-tests/lifecycle-with-certs/values.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
certManager:
enabled: true
image:
tag: v0.0.0
lifecycleOperator:
enabled: true
lifecycleOperator:
imagePullPolicy: Never
image:
tag: v0.0.0
scheduler:
imagePullPolicy: Never
image:
tag: v0.0.0
metricsOperator:
enabled: false
2 changes: 1 addition & 1 deletion .github/scripts/.helm-tests/metrics-only/result.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1555,7 +1555,7 @@ spec:
value: "0"
- name: KUBERNETES_CLUSTER_DOMAIN
value: cluster.local
image: ghcr.io/keptn/metrics-operator:v0.8.3
image: ghcr.io/keptn/metrics-operator:v0.0.0
imagePullPolicy: Always
name: metrics-operator
ports:
Expand Down
2 changes: 2 additions & 0 deletions .github/scripts/.helm-tests/metrics-only/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ lifecycleOperator:
enabled: false
metricsOperator:
enabled: true
image:
tag: v0.0.0
4 changes: 2 additions & 2 deletions .github/scripts/.helm-tests/metrics-with-certs/result.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1713,7 +1713,7 @@ spec:
value: "true"
- name: KUBERNETES_CLUSTER_DOMAIN
value: cluster.local
image: ghcr.io/keptn/certificate-operator:v1.2.0
image: ghcr.io/keptn/certificate-operator:v0.0.0
imagePullPolicy: Always
name: certificate-operator
resources:
Expand Down Expand Up @@ -1811,7 +1811,7 @@ spec:
value: "0"
- name: KUBERNETES_CLUSTER_DOMAIN
value: cluster.local
image: ghcr.io/keptn/metrics-operator:v0.8.3
image: ghcr.io/keptn/metrics-operator:v0.0.0
imagePullPolicy: Never
name: metrics-operator
ports:
Expand Down
4 changes: 4 additions & 0 deletions .github/scripts/.helm-tests/metrics-with-certs/values.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
certManager:
enabled: true
image:
tag: v0.0.0
lifecycleOperator:
enabled: false
metricsOperator:
enabled: true
image:
tag: v0.0.0
imagePullPolicy: Never
3 changes: 1 addition & 2 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,7 @@
"kubernetes": {
"fileMatch": [
"examples\\/.*\\.ya?ml$",
"test\\/.*\\.ya?ml$",
".github\\/scripts\\/.helm-tests\\/.*\\/.*.ya?ml$"
"test\\/.*\\.ya?ml$"
],
"packageRules": [
{
Expand Down

0 comments on commit 792b594

Please sign in to comment.