release unified chart per env #28
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: helm template check | |
on: | |
push: | |
paths: | |
- common/unified-chart/** | |
jobs: | |
helm-template-check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run a one-line script | |
shell: bash | |
env: | |
NAME_TEMPLATE: release-name | |
NAME: api-gw-test | |
TEAM: someteam | |
APP_VERSION: production-global-20240721.084900-a5186d5 | |
TEST_FILE: test.values.yaml | |
CHART_PATH: common/unified-chart | |
run: | | |
cd common/unified-chart | |
helm template . --name-template=$NAME_TEMPLATE --set name=$NAME --set team=$TEAM --set appVersion=$APP_VERSION --values $TEST_FILE --debug |