Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
10 changes: 10 additions & 0 deletions .deploy/cf-runtime/.ci/values-ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Values used in `helm-chart-ci` pipeline
appProxy:
enabled: true
ingress:
class: nginx
host: hostname
monitor:
enabled: true
useNamespaceWideRole: true
runner: {}
2 changes: 2 additions & 0 deletions .deploy/cf-runtime/.helmignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,5 @@
.idea/
*.tmproj
.vscode/
# CI
.ci/
2 changes: 1 addition & 1 deletion .deploy/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: 1.0.3
version: 1.0.4
home: https://github.com/codefresh-io/venona
kubeVersion: '>=1.19.0-0'
keywords:
Expand Down
2 changes: 1 addition & 1 deletion .deploy/cf-runtime/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Codefresh Runner

![Version: 1.0.3](https://img.shields.io/badge/Version-1.0.3-informational?style=flat-square)
![Version: 1.0.4](https://img.shields.io/badge/Version-1.0.4-informational?style=flat-square)

## Prerequisites

Expand Down
6 changes: 6 additions & 0 deletions .deploy/scripts/get-all-images.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
MYDIR=$(dirname $0)
CHARTDIR="${MYDIR}/../cf-runtime"
VALUESFILE="../cf-runtime/.ci/values-ci.yaml"
OUTPUTFILE=$1
helm dependency update $CHARTDIR
helm template --values $VALUESFILE $CHARTDIR | grep image: | awk -F 'image:' '{print $2}' | tr -d '"' | uniq > $OUTPUTFILE
13 changes: 13 additions & 0 deletions .deploy/scripts/output-calculated-values.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
MYDIR=$(dirname $0)
CHARTDIR="${MYDIR}/../cf-runtime"
VALUESFILE="../cf-runtime/.ci/values-ci.yaml"
OUTPUTFILE=$1
ALL_VALUES_TEMPLATE=$(cat <<-END
{{ .Values | toYaml }}
END
)

echo $ALL_VALUES_TEMPLATE > $CHARTDIR/templates/all-values.yaml
helm dependency update $CHARTDIR
helm template --values $VALUESFILE --show-only templates/all-values.yaml $CHARTDIR > $OUTPUTFILE
rm $CHARTDIR/templates/all-values.yaml
5 changes: 5 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## What

## Why

## Notes