if chart_name=. need base dir to be same as chart name

This commit is contained in:
Dr Nic Williams 2018-11-16 11:52:07 +10:00
parent 37fe217bce
commit 35ab0de265
2 changed files with 9 additions and 7 deletions

View File

@ -21,6 +21,9 @@ meta:
name: starkandwayne/concourse-kubernetes
tag: latest
helm:
chart_path: .
git:
email: (( param "Please provide the git email for automated commits" ))
name: (( param "Please provide the git name for automated commits" ))
@ -116,20 +119,20 @@ jobs:
- name: git
outputs:
- name: gh
- name: pushme
- name: (( grab meta.name ))
- name: notifications
run:
path: ./git/ci/scripts/shipit
args: []
params:
CHART_NAME: (( grab meta.name ))
CHART_ROOT: .
CHART_ROOT: (( grab meta.helm.chart_path ))
REPO_ROOT: git
VERSION_FROM: version/number
RELEASE_ROOT: gh
REPO_OUT: pushme
BRANCH: (( grab meta.github.branch ))
GITHUB_OWNER: (( grab meta.github.owner ))
REPO_OUT: (( grab meta.name ))
BRANCH: (( grab meta.github.branch ))
GITHUB_OWNER: (( grab meta.github.owner ))
GIT_EMAIL: (( grab meta.git.email ))
GIT_NAME: (( grab meta.git.name ))
NOTIFICATION_OUT: notifications
@ -142,7 +145,7 @@ jobs:
put: git
params:
rebase: true
repository: pushme
repository: (( grab meta.name ))
- name: github-release
put: github
params:

View File

@ -89,7 +89,6 @@ header "Uploading helm chart to ${HELM_S3_BUCKET_URI}"
set -e
helm s3 push ${RELEASE_ROOT}/artifacts/${CHART_NAME}*.tgz our-repo --force
set +e
popd
header "Update git repo with final release..."
if [[ -z $(git config --global user.email) ]]; then