Skip to content
Snippets Groups Projects
Commit 10370db3 authored by richard.petersen's avatar richard.petersen :sailboat:
Browse files

Add pipeline task to publish helm chart

parent c616facc
No related branches found
No related tags found
No related merge requests found
......@@ -7,4 +7,21 @@ build docker image:
stage: build
needs: []
tags:
- docker
\ No newline at end of file
- docker
upload Helm Chart:
stage: build
image: alpine/helm:3.2.4
rules:
- if: $CI_MERGE_REQUEST_ID
when: never
- if: '$CI_COMMIT_REF_SLUG =~ /(master|develop)/'
changes:
- helm/**/*
when: on_success
script:
- apk add --update --no-cache curl
- helm package helm/user-guide
- curl --data-binary "@$(ls user-guide-*.tgz)" -s http://charts-chartmuseum.chartmuseum.svc.cluster.local:8080/api/charts
tags:
- kubernetes
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment