Skip to content

Observability - Helm chart releases (#63) #1

Observability - Helm chart releases (#63)

Observability - Helm chart releases (#63) #1

name: Main - Release Helm Charts - OtelCollection
on:
push:
branches:
- main
paths:
# Only run this when chart file is updated.
- 'deployment/helm/otelcollection/Chart.yaml'
jobs:
Release-Artifacts:
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 "[email protected]"
- name: Setup Helm
uses: azure/[email protected]
with:
version: v3.9.2
- name: Add Helm chart dependencies
run: |
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm repo add grafana https://grafana.github.io/helm-charts
- name: Run chart-releaser
uses: helm/[email protected]
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
with:
charts_dir: deployment/helm