The example pipeline uses the HelmPublish native step to publish the Helm chart and its companion files to a Helm repository in Artifactory.
Our resources definitions will specify:
resources
- name: simplehelmRepo_chart
type: GitRepo
configuration:
gitProvider: my_github
path: myrepo/simplehelm
files:
include: "simplehelm.*"
- name: simplehelmChart
type: HelmChart
configuration:
sourceArtifactory: art
repository: simplecharts
chart: simplehelm
version: 0.0.0Using these resources, the HelmPublish native step will publish the Helm chart from the source repository to an Artifactory repository. (Note that this step as configured does not publish the build info.)
step
- name: publish_helm_chart
type: HelmPublish
configuration:
inputResources:
- name: simplehelmRepo_chart
outputResources:
- name: simplehelmChart
chartPath: ./simplehelmThe native step uses the helm package command to perform publication, so all chart files (Chart.yml, and values.yml) will be published as a unit.