Skip to content

Commit 32b6304

Browse files
committed
test: add tests for digest override
1 parent 10bed17 commit 32b6304

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

charts/cf-runtime/tests/runtime/runtime_test.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ tests:
3636
agent: true
3737
runtimeScheduler:
3838
type: KubernetesPod
39-
image: 'quay.io/codefresh/engine:tagoverride'
39+
image: 'quay.io/codefresh/engine:tagoverride@sha256:123'
4040
imagePullPolicy: Always
4141
command:
4242
- one
@@ -81,7 +81,7 @@ tests:
8181
OTEL_TRACES_SAMPLER: 'parentbased_always_on'
8282
PYROSCOPE_SERVER_ADDRESS: ''
8383
TRUSTED_QEMU_IMAGES: 'my-registry/tonistiigi/binfmt'
84-
COMPOSE_IMAGE: 'quay.io/codefresh/compose:tagoverrideold'
84+
COMPOSE_IMAGE: 'quay.io/codefresh/compose:tagoverrideold@sha256:123'
8585
CONTAINER_LOGGER_IMAGE: 'quay.io/codefresh/cf-container-logger:tagoverride'
8686
DEFAULT_QEMU_IMAGE: 'docker.io/tonistiigi/binfmt:tagoverride'
8787
DOCKER_BUILDER_IMAGE: 'quay.io/codefresh/cf-docker-builder:tagoverride'
@@ -98,7 +98,7 @@ tests:
9898
COSIGN_IMAGE_SIGNER_IMAGE: 'quay.io/codefresh/cf-cosign-image-signer:tagoverride'
9999
RUNTIME_CHART_VERSION: 1.0.0
100100
CF_SERVICE_VERSION: tagoverride
101-
OTEL_RESOURCE_ATTRIBUTES: service.name=classic-engine,service.version=tagoverride,service.namespace=codefresh-classic-runtime,cf.classic.runtime.name=my-context/codefresh,cf.classic.runtime.version=1.0.0
101+
OTEL_RESOURCE_ATTRIBUTES: service.name=classic-engine,service.version=tagoverride@sha256:123,service.namespace=codefresh-classic-runtime,cf.classic.runtime.name=my-context/codefresh,cf.classic.runtime.version=1.0.0
102102
userEnvVars:
103103
- name: ALICE
104104
valueFrom:

charts/cf-runtime/tests/runtime/runtime_values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ runtime:
5656
image:
5757
tag: tagoverride
5858
pullPolicy: Always
59-
digest: ""
59+
digest: "sha256:123"
6060
command:
6161
- one
6262
- two
@@ -73,7 +73,7 @@ runtime:
7373
COMPOSE_IMAGE: quay.io/codefresh/compose:tagoverrideold
7474
compose:
7575
tag: tagoverridenew
76-
digest: ""
76+
digest: "sha256:123"
7777
container-logger:
7878
tag: tagoverride
7979
digest: ""

0 commit comments

Comments
 (0)