Skip to content

Commit 12e3f6b

Browse files
fix: get-all-images script (#527)
1 parent abc6f2a commit 12e3f6b

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

charts/cf-runtime/Chart.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v2
22
description: A Helm chart for Codefresh Runner
33
name: cf-runtime
4-
version: 7.1.2
4+
version: 7.1.3
55
keywords:
66
- codefresh
77
- runner
@@ -17,8 +17,8 @@ annotations:
1717
artifacthub.io/containsSecurityUpdates: "false"
1818
# Supported kinds: `added`, `changed`, `deprecated`, `removed`, `fixed`, `security`:
1919
artifacthub.io/changes: |
20-
- kind: security
21-
description: "Misc security updates (kubectl and codefresh-shell images)"
20+
- kind: fixed
21+
description: "Fix get-all-images.sh script"
2222
dependencies:
2323
- name: cf-common
2424
repository: oci://quay.io/codefresh/charts

charts/cf-runtime/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## Codefresh Runner
22

3-
![Version: 7.1.2](https://img.shields.io/badge/Version-7.1.2-informational?style=flat-square)
3+
![Version: 7.1.3](https://img.shields.io/badge/Version-7.1.3-informational?style=flat-square)
44

55
Helm chart for deploying [Codefresh Runner](https://codefresh.io/docs/docs/installation/codefresh-runner/) to Kubernetes.
66

scripts/get-all-images.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
MYDIR=$(dirname $0)
22
CHARTDIR="${MYDIR}/../charts/cf-runtime"
3-
VALUESFILE="../charts/cf-runtime/.ci/values-ci.yaml"
3+
VALUESFILE="${MYDIR}/../charts/cf-runtime/.ci/values-ci.yaml"
44
OUTPUTFILE=$1
55
helm dependency update $CHARTDIR
6-
helm template --values $VALUESFILE --set global.runtimeName="dummy" $CHARTDIR | grep -E 'image: | dindImage:' | awk -F ': ' '{print $2}' | tr -d '"' | uniq > $OUTPUTFILE
6+
helm template --values $VALUESFILE --set global.runtimeName="dummy" $CHARTDIR | grep -E 'image: | dindImage:' | awk -F ': ' '{print $2}' | tr -d '"' | tr -d "'" | uniq > $OUTPUTFILE
7+
8+
cat $OUTPUTFILE | tr '@' '\n' | awk 'NR % 2 == 1' | tee $OUTPUTFILE

0 commit comments

Comments
 (0)