general job for publishing on chart repo
This commit is contained in:
parent
6e108f3aae
commit
e3cb1522ab
2 changed files with 32 additions and 1 deletions
30
.circleci/config.yml
Normal file
30
.circleci/config.yml
Normal file
|
@ -0,0 +1,30 @@
|
|||
version: 2.1
|
||||
|
||||
orbs:
|
||||
helm-tools: paperspace/helm-tools@0.0.5
|
||||
|
||||
|
||||
_workspace_root: &workspace_root .
|
||||
_chart_name: &chart_name argo-helm
|
||||
|
||||
|
||||
workflows:
|
||||
version: 2.1
|
||||
pipeline:
|
||||
jobs:
|
||||
- helm-tools/package_and_publish:
|
||||
context: helm-deploy
|
||||
chart_name: *chart_name
|
||||
chart_version: ${CIRCLE_TAG}
|
||||
chart_path: charts
|
||||
workspace_root: *workspace_root
|
||||
chart_registry_url: ${CHART_REGISTRY_URL}
|
||||
chart_registry_username: ${CHART_REGISTRY_USERNAME}
|
||||
chart_registry_password: ${CHART_REGISTRY_PASSWORD}
|
||||
requires:
|
||||
- tag
|
||||
filters:
|
||||
tags:
|
||||
only: /.*/
|
||||
branches:
|
||||
ignore: /.*/
|
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -1,3 +1,4 @@
|
|||
output
|
||||
.vscode
|
||||
.DS_Store
|
||||
.DS_Store
|
||||
.idea
|
||||
|
|
Loading…
Reference in a new issue