Skip to content

Commit

Permalink
Test helm chart rendering
Browse files Browse the repository at this point in the history
Lint fails through something that can't be solved easily
  • Loading branch information
andytson-inviqa committed Oct 24, 2019
1 parent ebf661c commit 8ed34d0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions harness/config/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,14 @@ command('app deploy <environment>'):
passthru helm init --client-only
passthru helm dependency build
passthru helm --kubeconfig=$PWD/kubectl.config.yaml upgrade --wait --install --timeout "${TIMEOUT}" --namespace "${NAMESPACE}" "${NAMESPACE}" ./
command('helm template <chart-path>'):
env:
CHART_PATH: = input.argument('chart-path')
NAMESPACE: = @('pipeline.' ~ input.argument('environment') ~ '.namespace')
exec: |
#!bash(harness:/helm)|=
cd "${CHART_PATH}"
passthru helm init --client-only
passthru helm dependency build
passthru helm template .
Empty file.

0 comments on commit 8ed34d0

Please sign in to comment.