Helm must be installed to use the charts. Please refer to Helm’s documentation to get started.
Once Helm has been set up correctly, add the repo as follows:
helm repo add bpdispatcher https://brainfair.github.io/flux2-bitbucketpipeline-dispatcher
If you had already added this repo earlier, run helm repo update
to retrieve
the latest versions of the packages. You can then run helm search repo
bpdispatcher
to see the charts.
To install/upgrade the bpdispatcher chart:
helm upgrade bpdispatcher bpdispatcher/bpdispatcher -i
Required variables for the chart:
env:
ACCESS_TOKEN: bitbucket_access_token #Access token for pipeline
REPO_OWNER: bitbucket_repo_owner #workplace_name
REPO_SLUG: bitbucket_repo_slug #repository_name
PIPELINE_REF: master #pipeline branch_name
To uninstall the chart:
helm delete bpdispatcher