Skip to content

[castai-db-optimizer] deploy cache only on amd64 (#605) #976

[castai-db-optimizer] deploy cache only on amd64 (#605)

[castai-db-optimizer] deploy cache only on amd64 (#605) #976

Workflow file for this run

name: Release Charts
on:
push:
branches:
- main
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
# We need to manually add repos for deps due to bug in https://github.com/helm/chart-releaser/issues/135
- name: Add dependencies
run: |
helm repo add vector https://helm.vector.dev
- name: Install Helm
uses: azure/setup-helm@v1
with:
version: v3.5.2
- name: Set up chart-testing
uses: helm/chart-testing-action@v2.0.1
- name: Run chart-releaser
uses: helm/chart-releaser-action@6203d709ca237fb26b724837f2c53716f244ee8c
with:
charts_dir: charts
config: cr.yaml
skip_existing: true
env:
CR_TOKEN: "${{ secrets.PAT_CICD }}"
- name: Release evictor child charts
uses: helm/chart-releaser-action@6203d709ca237fb26b724837f2c53716f244ee8c
with:
charts_dir: charts/castai-evictor/child-charts
config: cr.yaml
skip_existing: true
env:
CR_TOKEN: "${{ secrets.PAT_CICD }}"
- name: Release cluster-controller child charts
uses: helm/chart-releaser-action@6203d709ca237fb26b724837f2c53716f244ee8c
with:
charts_dir: charts/castai-cluster-controller/child-charts
config: cr.yaml
skip_existing: true
env:
CR_TOKEN: "${{ secrets.PAT_CICD }}"
- name: Release pod pinner child charts
uses: helm/chart-releaser-action@6203d709ca237fb26b724837f2c53716f244ee8c
with:
charts_dir: charts/castai-pod-pinner/child-charts
config: cr.yaml
skip_existing: true
env:
CR_TOKEN: "${{ secrets.PAT_CICD }}"