Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: image digest #516

Merged
merged 30 commits into from
Nov 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
0864397
feat: image digest
mikhail-klimko Nov 1, 2024
abc0505
feat: image digest
mikhail-klimko Nov 1, 2024
4158534
feat: image digest
mikhail-klimko Nov 1, 2024
faaf32e
feat: image digest
mikhail-klimko Nov 1, 2024
6b8ffbe
test(catalog/cf-runtime): images digests
mikhail-klimko Nov 1, 2024
0ea322d
test(catalog/cf-runtime): images digests
mikhail-klimko Nov 1, 2024
b0eed7c
test(catalog/cf-runtime): images digests
mikhail-klimko Nov 1, 2024
1654435
test(catalog/cf-runtime): images digests
mikhail-klimko Nov 1, 2024
02ad229
test(catalog/cf-runtime): images digests
mikhail-klimko Nov 1, 2024
e0afba0
test(catalog/cf-runtime): images digests
mikhail-klimko Nov 1, 2024
a92927d
test(catalog/cf-runtime): images digests
mikhail-klimko Nov 1, 2024
76d6346
feat: image digest
mikhail-klimko Nov 1, 2024
6cf70c4
feat: image digest
mikhail-klimko Nov 1, 2024
2845df4
feat: image digest
mikhail-klimko Nov 5, 2024
636d259
feat: image digest
mikhail-klimko Nov 5, 2024
1191299
feat: image digest
mikhail-klimko Nov 5, 2024
075977b
feat: image digest
mikhail-klimko Nov 5, 2024
894fb34
feat: image digest
mikhail-klimko Nov 5, 2024
35611fb
feat: image digest
mikhail-klimko Nov 5, 2024
2c26ac5
feat: image digest
mikhail-klimko Nov 5, 2024
288a333
feat: image digest
mikhail-klimko Nov 5, 2024
82b114d
feat: image digest
mikhail-klimko Nov 5, 2024
f52d52d
feat: image digest
mikhail-klimko Nov 5, 2024
7479e88
feat: image digest
mikhail-klimko Nov 5, 2024
6209db2
feat: image digest
mikhail-klimko Nov 5, 2024
588d1da
feat: image digest
mikhail-klimko Nov 5, 2024
69b84dc
feat: image digest
mikhail-klimko Nov 5, 2024
1750023
feat: image digest
mikhail-klimko Nov 5, 2024
88eb9f0
feat: image digest
mikhail-klimko Nov 5, 2024
da3277b
feat: image digest
mikhail-klimko Nov 5, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions charts/cf-runtime/.ci/image-digests.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/bash
set -eux
MYDIR=$(dirname $0)
REPO_ROOT="${MYDIR}/../../.."

echo "Update image digests"
docker run \
-v "$REPO_ROOT:/venona" \
-u $(id -u) \
--rm \
quay.io/codefresh/codefresh-shell:0.0.20 \
/bin/bash /venona/scripts/update_values_with_digests.sh
6 changes: 3 additions & 3 deletions charts/cf-runtime/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
description: A Helm chart for Codefresh Runner
name: cf-runtime
version: 6.4.8
version: 6.4.9
keywords:
- codefresh
- runner
Expand All @@ -18,8 +18,8 @@ annotations:
# Supported kinds: `added`, `changed`, `deprecated`, `removed`, `fixed`, `security`:
artifacthub.io/changes: |
- kind: added
description: "updating cf-git-cloner image, adding SKIP_TAGS_ON_UPDATE env var to skip tags on update"
description: "Added digests for images"
dependencies:
- name: cf-common
repository: oci://quay.io/codefresh/charts
version: 0.16.0
version: 0.21.0
26 changes: 13 additions & 13 deletions charts/cf-runtime/README.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ tests:
KUBE_DEPLOY: 'somedomain.io/codefresh/cf-deploy-kubernetes:tagoverride'
PIPELINE_DEBUGGER_IMAGE: 'somedomain.io/codefresh/cf-debugger:tagoverride'
TEMPLATE_ENGINE: 'somedomain.io/codefresh/pikolo:tagoverride'
CR_6177_FIXER: 'somedomain.io/codefresh/alpine:edge'
GC_BUILDER_IMAGE: 'somedomain.io/codefresh/cf-gc-builder:0.5.3'
CR_6177_FIXER: 'somedomain.io/alpine:tagoverride'
GC_BUILDER_IMAGE: 'somedomain.io/codefresh/cf-gc-builder:tagoverride'
COSIGN_IMAGE_SIGNER_IMAGE: 'somedomain.io/codefresh/cf-cosign-image-signer:tagoverride'
workflowLimits:
MAXIMUM_ALLOWED_TIME_BEFORE_PRE_STEPS_SUCCESS: 600
Expand Down
4 changes: 2 additions & 2 deletions charts/cf-runtime/tests/runtime/runtime_onprem_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ tests:
KUBE_DEPLOY: 'quay.io/codefresh/cf-deploy-kubernetes:tagoverride'
PIPELINE_DEBUGGER_IMAGE: 'quay.io/codefresh/cf-debugger:tagoverride'
TEMPLATE_ENGINE: 'quay.io/codefresh/pikolo:tagoverride'
CR_6177_FIXER: 'quay.io/codefresh/alpine:edge'
GC_BUILDER_IMAGE: 'quay.io/codefresh/cf-gc-builder:0.5.3'
CR_6177_FIXER: 'alpine:tagoverride'
GC_BUILDER_IMAGE: 'quay.io/codefresh/cf-gc-builder:tagoverride'
COSIGN_IMAGE_SIGNER_IMAGE: 'quay.io/codefresh/cf-cosign-image-signer:tagoverride'
workflowLimits:
MAXIMUM_ALLOWED_TIME_BEFORE_PRE_STEPS_SUCCESS: 600
Expand Down
4 changes: 4 additions & 0 deletions charts/cf-runtime/tests/runtime/runtime_onprem_values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ runtime:
dind:
image:
tag: tagoverride
digest: ""
resources:
requests: null
limits:
Expand Down Expand Up @@ -65,6 +66,7 @@ runtime:
engine:
image:
tag: tagoverride
digest: ""
command:
- one
- two
Expand All @@ -88,6 +90,8 @@ runtime:
KUBE_DEPLOY: quay.io/codefresh/cf-deploy-kubernetes:tagoverride
PIPELINE_DEBUGGER_IMAGE: quay.io/codefresh/cf-debugger:tagoverride
TEMPLATE_ENGINE: quay.io/codefresh/pikolo:tagoverride
CR_6177_FIXER: alpine:tagoverride
GC_BUILDER_IMAGE: quay.io/codefresh/cf-gc-builder:tagoverride
COSIGN_IMAGE_SIGNER_IMAGE: quay.io/codefresh/cf-cosign-image-signer:tagoverride
env:
FOO: BAR
Expand Down
4 changes: 2 additions & 2 deletions charts/cf-runtime/tests/runtime/runtime_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ tests:
KUBE_DEPLOY: 'quay.io/codefresh/cf-deploy-kubernetes:tagoverride'
PIPELINE_DEBUGGER_IMAGE: 'quay.io/codefresh/cf-debugger:tagoverride'
TEMPLATE_ENGINE: 'quay.io/codefresh/pikolo:tagoverride'
CR_6177_FIXER: 'quay.io/codefresh/alpine:edge'
GC_BUILDER_IMAGE: 'quay.io/codefresh/cf-gc-builder:0.5.3'
CR_6177_FIXER: 'alpine:tagoverride'
GC_BUILDER_IMAGE: 'quay.io/codefresh/cf-gc-builder:tagoverride'
COSIGN_IMAGE_SIGNER_IMAGE: 'quay.io/codefresh/cf-cosign-image-signer:tagoverride'
userEnvVars:
- name: ALICE
Expand Down
4 changes: 4 additions & 0 deletions charts/cf-runtime/tests/runtime/runtime_values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ runtime:
image:
tag: tagoverride
pullPolicy: Always
digest: ""
resources:
requests: null
limits:
Expand Down Expand Up @@ -55,6 +56,7 @@ runtime:
image:
tag: tagoverride
pullPolicy: Always
digest: ""
command:
- one
- two
Expand All @@ -78,6 +80,8 @@ runtime:
KUBE_DEPLOY: quay.io/codefresh/cf-deploy-kubernetes:tagoverride
PIPELINE_DEBUGGER_IMAGE: quay.io/codefresh/cf-debugger:tagoverride
TEMPLATE_ENGINE: quay.io/codefresh/pikolo:tagoverride
CR_6177_FIXER: alpine:tagoverride
GC_BUILDER_IMAGE: quay.io/codefresh/cf-gc-builder:tagoverride
COSIGN_IMAGE_SIGNER_IMAGE: quay.io/codefresh/cf-cosign-image-signer:tagoverride
env:
FOO: BAR
Expand Down
4 changes: 4 additions & 0 deletions charts/cf-runtime/tests/values-private-registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ runtime:
engine:
image:
tag: tagoverride
digest: ""
runtimeImages:
COMPOSE_IMAGE: quay.io/codefresh/compose:tagoverride
CONTAINER_LOGGER_IMAGE: quay.io/codefresh/cf-container-logger:tagoverride
Expand All @@ -18,8 +19,11 @@ runtime:
KUBE_DEPLOY: quay.io/codefresh/cf-deploy-kubernetes:tagoverride
PIPELINE_DEBUGGER_IMAGE: quay.io/codefresh/cf-debugger:tagoverride
TEMPLATE_ENGINE: quay.io/codefresh/pikolo:tagoverride
CR_6177_FIXER: alpine:tagoverride
GC_BUILDER_IMAGE: quay.io/codefresh/cf-gc-builder:tagoverride
COSIGN_IMAGE_SIGNER_IMAGE: quay.io/codefresh/cf-cosign-image-signer:tagoverride

dind:
image:
tag: tagoverride
digest: ""
Loading