Skip to content

Instantly share code, notes, and snippets.

@rverchere
Last active April 4, 2022 20:37
Show Gist options
  • Save rverchere/6a247eac93109bdf98d58a857fb63c56 to your computer and use it in GitHub Desktop.
Save rverchere/6a247eac93109bdf98d58a857fb63c56 to your computer and use it in GitHub Desktop.
include: '/gci-templates/.gitlab-ci.yml'
stages:
- test
- install
- release
'my-chart:lint':
stage: test
extends: .lint
variables:
HELM_NAME: "my-chart"
rules:
- if: '$CI_COMMIT_TAG =~ "/^$/"'
changes:
- charts/my-chart/**/*
'my-chart:release':
stage: release
extends: .release
variables:
HELM_NAME: "my-chart"
rules:
- if: '$CI_COMMIT_TAG =~ "/^$/"'
changes:
- charts/my-chart/Chart.yaml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment