Skip to content

[DEVOPS-000] Deploy 1.1.0 version of common #22

[DEVOPS-000] Deploy 1.1.0 version of common

[DEVOPS-000] Deploy 1.1.0 version of common #22

Workflow file for this run

name: Release Charts
on:
push:
branches:
- main
jobs:
# test:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v2
# with:
# fetch-depth: 0
# - name: Set up Helm
# uses: azure/setup-helm@v3
# with:
# version: v3.10.0
# - name: lint
# run: |
# for x in ./stable/*; do
# pushd $x
# helm dependency update .
# helm lint . \
# --set global.org=core \
# --set global.serviceName=test \
# --with-subcharts \
# --strict
# popd
# done
# - name: validate
# run: |
# for x in ./stable/*; do
# if [[ "$x" != "./stable/k8s-common" ]]; then
# pushd $x
# helm template . \
# --debug \
# --generate-name \
# --namespace test \
# --dependency-update \
# --set global.org=core \
# --set global.serviceName=test \
# --values values.yaml
# popd
# fi
# done
release:
permissions:
contents: write
runs-on: ubuntu-latest
# needs: test
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
- name: Install Helm
uses: azure/setup-helm@v3
- name: Run chart-releaser for commons
uses: helm/[email protected]
with:
charts_dir: global
skip_existing: true
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
- name: Run chart-releaser
uses: helm/[email protected]
with:
charts_dir: stable
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"