Go to file
Pratik 459f692e33
Chart testing (#13)
* init

* add release logic

* fix: pr workflow repo

* fix: typo in tasks

* fix: release task

* fix: linting

* add: more log

* fix: stopping at linting

* fix: charts

* check linting

* lint target branch master

* cat git ref

* check branch

* checkout this branch

* linting against master

* test: remove checkout

* test: ct since based linting

* test: add git log and use origin with branch name

* test: git fetch all

* test: shorten log

* test: add origin

* test: remove exit 0

* test: unshallowing

* test: add fetch all

* test: remove clutter

* test: remove more clutter

* test: chart testing

* test: add git config

* fix: charts

* fix: test and release

* fix: add cleanup

* fix: brackets

* fix: remove helm extra args

* exit on testing fail

* fix: handle exit codes and remove errexit

* add: error exit

* add: erroexit in linting

* fix: table format changed by ide vscode plugin

* feat: ct config

* fix: get sc, silent curl, fix kind img condition

* fix: output path in release task

* fix: storage class

* fix: livenesspob initial seconds

* chnages in erpnext

* fix: by pre-commit hook

* fix: chart testing

* feat: mega linter

* fix: n8n charts-yaml

* fix: filename

* fix: erpnext ct test remove affinity

* test

* fix: minio upload source

* error handling

* remove n8n helm chart

* remove images from task

* fix: chart release

* feat: more pre-commit hooks

* feat: env based helm and ct downloading

* feat: conventional commit linting using precommit

* feat(precommit): yaml linting with fixed

* ci: github release for charts

- add github release for individual charts
- add custom tarr bash function

* ci: conventional commit linting insted of angula

* ci: add chart bumping and changelog with gitchglog

* ci: fix github release script

* docs: add init ci step for charts [ci skip]

* ci: bump, package and release seprate tasks

* ci: skip all error based on SKIP_ERR env

* ci: move skip error portion to only chart testing

* ci: fix pipeline

* ci: remove bumping from linting task

* ci: redirect err to /dev/null and fix SKIP_ERR

* fix: ci fix healthchecks test

* fix:  increase initial dealy in probs healthchecks

* bump: erpnext:- 3.1.8 → 3.2.0 [ci skip]

* bump: freeipa:- 0.1.1 → 0.2.0 [ci skip]

* bump: healthchecks:- 1.0.4 → 1.0.5 [ci skip]

* chore(status): modify status pointer [ci skip]

* chore(status): move status pointer [ci skip]

* ci: move .yamllint to .ci

* fix: merge upstream chart with our changes

- Add mariadb as dependent chart which helps in chart testing pipeline
- Separate backup pre upgrade job
- Remove test (it was default test that comes with chart template)
- MUST NOT provide storage class, it will pickup from default sc in k8s
- Add affinity where necessary

* fix: capabilities to all

* ci: better ct lsc condition

* ci: handle ct exit code

* ci: fix ct lsc

* ci: fix entry condition

* chore(status): move status pointer [ci skip]

* ci: fix fetching  when linting to stop exit 128

* ci: remove SKIP_ERR

* ci: diffrent task fro pr workflow

* ci: move back status pointer, ignore freeipa chart

- move back status pointer to check testing

* ci: remove trap

* ci: docker system prine on exit, forking on docker load

* bump: erpnext:- 3.2.4 → 3.2.5 [ci skip]

* chore(status): modify status pointer [ci skip]

* chore(status): move status pointer [ci skip]

Co-authored-by: concourse <concourse@github-noreply.com>
2021-11-10 12:55:23 +05:30
.ci Chart testing (#13) 2021-11-10 12:55:23 +05:30
bookstack Adding BookstackApp chart (#7) 2021-11-10 12:54:50 +05:30
charts Chart testing (#13) 2021-11-10 12:55:23 +05:30
.gitignore Chart testing (#13) 2021-11-10 12:55:23 +05:30
.pre-commit-config.yaml Chart testing (#13) 2021-11-10 12:55:23 +05:30
LICENSE Initial commit 2020-09-17 16:05:41 +05:30
README.md Chart testing (#13) 2021-11-10 12:55:23 +05:30
commitlint.config.js Chart testing (#13) 2021-11-10 12:55:23 +05:30
ct.yaml Chart testing (#13) 2021-11-10 12:55:23 +05:30
repositories.yaml Chart testing (#13) 2021-11-10 12:55:23 +05:30
status Chart testing (#13) 2021-11-10 12:55:23 +05:30

README.md

charts

Helm charts maintained by Improwised Technologies

Usage

Add helm repo

helm repo add improwised https://improwised.github.io/charts/

Add charts

  1. Package the chart, this will create chartname-semver.tgz file.

    helm package <chart-directory-name>
    
  2. Checkout gh-pages branch of this repo and move chart-name-semver.tgz to charts directory.

  3. Index added chart

    helm repo index --url https://improwised.github.io/charts .
    
  4. Add appropriate commit message and push it

Adding CI first time

tag each chart with it's last chart version e.g. <chart-name>-<chart-version> to it's sha

e.g. git tag erpnext-1.0.0 asdasdasdasdasda here assume that sha is pointing to that perticular erpnext chart version 1.0.0