From e3cb1522ab8ce5a92f5fef5f702c9f9b1a30d567 Mon Sep 17 00:00:00 2001 From: kossak Date: Tue, 13 Aug 2019 14:29:42 +0200 Subject: [PATCH] general job for publishing on chart repo --- .circleci/config.yml | 30 ++++++++++++++++++++++++++++++ .gitignore | 3 ++- 2 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 00000000..18754056 --- /dev/null +++ b/.circleci/config.yml @@ -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: /.*/ diff --git a/.gitignore b/.gitignore index 468b8f5a..dad0a41d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ output .vscode -.DS_Store \ No newline at end of file +.DS_Store +.idea