Helm chart releaser tools
Project description
Helm chart releaser
This tool requirement helm binary in machine.
The utility can create a helm package and upload it to the gitlab registry in the stable or develop channel. More information in gitlab documentation
When uploading to develop channel, the same versions are allowed to be uploaded. When installing helm will take the last downloaded version.
Uploading identical versions to stable channel is forbidden in the code.
CLI and default vars
- -t || --token - token for registry. Override if env CHART_RELEASE_TOKEN is exist.
- --ssl - path to SSL certificate for registry. Override if env SSL_PATH is exist. Default value /usr/local/share/ca-certificates/CA.crt.
- -u || --registry-url - registry URL, domain only like gitlab.com. Override if env REGISTRY_URL is exist. Default gitlab.com.
- -p || --project-id - CI_PROJECT_ID for gitlab registry. Override if env RELEASE_PROJECT_ID is exist.
- -n || --chart-name - chart name.
- -path - path to Chart.yaml.
- -c || --config - path to config file. Override if env TOOL_CONFIG_PATH is exist. Default hc-releaser.config. File exist in repository and need for local development, because for gitlab registy must use headers with JOB-TOKEN if you usage CI_JOB_TOKEN and PRIVATE-TOKEN if you usage your private token. This is dynamic paramenter and by default usage JOB-TOKEN. If config does not exist usage JOB_TOKEN also.
- -b || --branch - branch for release_stage.
Usage
Run helm lint
hc-releaser helm linting -p <path to helm chart>
Optional key -d || --debug - bolean. If set, helm running with debug mode.
Create and upload pre release helm package
hc-releaser helm release_stage -t <gitlab_token> -u <gitlab url. Domain only> -p <gitlab_project_id> -n <chart_name> -path <path to dir with Chart.yaml>
Create and upload release helm package
hc-releaser helm release -t <gitlab_token> -u <gitlab url. Domain only> -p <gitlab_project_id> -n <chart_name> -path <path to dir with Chart.yaml>
Check version in package registry
hc-releaser helm check -t <gitlab_token> -u <gitlab url. Domain only> -p <gitlab_project_id> -n <chart_name> -path <path to dir with Chart.yaml>
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file chart_releaser-1.0.2.tar.gz
.
File metadata
- Download URL: chart_releaser-1.0.2.tar.gz
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.12 Linux/6.2.0-39-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb2aa055aa42bf8a38d7dcb4253826f0f2a2fea1baf4fd45cc131d787e73e3da |
|
MD5 | 89e067c5326643039b4375984c14237e |
|
BLAKE2b-256 | 52935b7a79a01526468b5eb4f24903e7b8ed757462ec6934d4bae95f22c68a7a |
File details
Details for the file chart_releaser-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: chart_releaser-1.0.2-py3-none-any.whl
- Upload date:
- Size: 7.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.12 Linux/6.2.0-39-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e0eb1761b94f2c14f95a00627da62ddfc8d213f794e40479b0c1a57816ae8c7 |
|
MD5 | 79be057bd315b678966726a537399433 |
|
BLAKE2b-256 | 3d8680f4602e81388a0a34f647a7a95aca84f912890e0aa9f3adb960ac6d38bc |