Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 1.58 KB

CONTRIBUTING.md

File metadata and controls

40 lines (28 loc) · 1.58 KB

Contributing to CKAN Cloud Helm

Suggested development flow

You want to make some changes to the helm charts? Great!

Please follow this suggested flow:

  • Changes to Docker images should be done in ViderumGlobal/ckan-cloud-docker repo
    • Test changes to the Docker images using the ckan-cloud-docker docker compose environment
  • Use the Minikube environment to test and modify the Helm templates
  • Finally, test on a Production environment

CI/CD

  • Helm chart repository is hosted on the same GitHub branch as the helm charts
  • The repository is updated when a new release is published on GitHub

Updating the Helm charts repo for development

BRANCH_NAME=github-branch-name

SEMANTIC_VERSION=v0.0.0-$BRANCH_NAME

cd charts_repository &&\
helm package ../ckan --version "${SEMANTIC_VERSION}" &&\
helm package ../efs --version "${SEMANTIC_VERSION}" &&\
helm package ../elk --version "${SEMANTIC_VERSION}" &&\
helm package ../traefik --version "${SEMANTIC_VERSION}" &&\
helm package ../provisioning --version "${SEMANTIC_VERSION}" &&\
helm repo index --url https://raw.githubusercontent.com/ViderumGlobal/ckan-cloud-helm/${BRANCH_NAME}/charts_repository/ . &&\
cd ..

Then you can test locally or push to GitHub to publish to the repo