Bump version #21
Workflow file for this run
This file contains hidden or 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: Check Generated Files | |
| on: | |
| push: | |
| branches-ignore: | |
| - '**master' | |
| - '**main' | |
| paths: | |
| - 'charts/nr-k8s-otel-collector/**' | |
| jobs: | |
| check-generated-files: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Helm | |
| uses: azure/setup-helm@v3 | |
| with: | |
| version: v3.12.0 | |
| - name: Add Helm repositories | |
| run: | | |
| helm repo add newrelic https://helm-charts.newrelic.com | |
| helm repo add k8s-agents-operator https://newrelic.github.io/k8s-agents-operator | |
| helm repo add k8s-metadata-injection https://newrelic.github.io/k8s-metadata-injection | |
| helm repo add newrelic-infra-operator https://newrelic.github.io/newrelic-infra-operator | |
| helm repo add newrelic-k8s-metrics-adapter https://newrelic.github.io/newrelic-k8s-metrics-adapter | |
| helm repo add newrelic-prometheus-configurator https://newrelic.github.io/newrelic-prometheus-configurator | |
| helm repo add nr-helm-charts https://newrelic.github.io/helm-charts | |
| helm repo add nri-kube-events https://newrelic.github.io/nri-kube-events | |
| helm repo add nri-kubernetes https://newrelic.github.io/nri-kubernetes | |
| helm repo add nri-prometheus https://newrelic.github.io/nri-prometheus | |
| helm repo add fluxcd-community https://fluxcd-community.github.io/helm-charts | |
| helm repo add pixie-operator https://pixie-operator-charts.storage.googleapis.com | |
| helm repo add prometheus-community https://prometheus-community.github.io/helm-charts | |
| helm repo update | |
| - name: Check generated example is up to date | |
| run: | | |
| make generate-examples | |
| if [ ! -z "$(git status --porcelain)" ]; then | |
| git diff | |
| exit 1 | |
| fi | |
| - name: Check README.md is up to date | |
| run: | | |
| go install github.com/norwoodj/helm-docs/cmd/[email protected] | |
| make generate-nr-k8s-chart-docs | |
| if [ ! -z "$(git status --porcelain)" ]; then | |
| git diff | |
| exit 1 | |
| fi |