Skip to content

Commit

Permalink
Pass helm repo branch as an env var to chart
Browse files Browse the repository at this point in the history
  • Loading branch information
Irfan Habib committed Aug 16, 2018
1 parent 74b9de4 commit 811c51d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions deploy/ci/console-dev-releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ jobs:
DOCKER_ORG: ((artifact-docker-organization))
DOCKER_REGISTRY: ((artifact-docker-registry))
HELM_REPO_PATH: ((helm-repo-path))
HELM_REPO_BRANCH: ((helm-repo-branch))
- put: helm-chart-tarball
params:
file: helm-chart/*.tgz
Expand Down
1 change: 1 addition & 0 deletions deploy/ci/console-nightly-releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ jobs:
GITHUB_ORG: ((github-organization))
GITHUB_REPO: ((github-repository))
GIT_PRIVATE_KEY: ((github-private-key))
HELM_REPO_BRANCH: ((helm-repo-branch))
DOCKER_ORG: ((artifact-docker-organization))
DOCKER_REGISTRY: ((artifact-docker-registry))
- put: helm-chart-tarball
Expand Down
2 changes: 1 addition & 1 deletion deploy/ci/tasks/dev-releases/create-chart-helper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ setupAndPushChange() {
git add index.yaml
git commit -m "Dev releases Helm repository updated for tag: ${IMAGE_TAG}"
git config --global push.default simple
git push origin HEAD:master
git push origin HEAD:${HELM_REPO_BRANCH}

}

Expand Down

0 comments on commit 811c51d

Please sign in to comment.