From d432bd47bffbc41e88062a4651ee15333ef2fd22 Mon Sep 17 00:00:00 2001 From: Juan Jose Jaramillo Date: Fri, 13 Oct 2023 21:05:30 -0700 Subject: [PATCH] fix: Fix 'Post-Release Tasks' workflow (#1157) #### Is this a new chart #### What this PR does / why we need it: #### Which issue this PR fixes *(optional, in `fixes #(, fixes #, ...)` format, will close that issue when PR gets merged)* - fixes # #### Special notes for your reviewer: #### Checklist [Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.] - [ ] Chart Version bumped - [ ] Variables are documented in the README.md - [ ] Title of the PR starts with chart name (e.g. `[mychartname]`) --- .github/workflows/post-release.yml | 19 ++++++++++++++++++- charts/nri-bundle/Chart.yaml | 2 +- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/.github/workflows/post-release.yml b/.github/workflows/post-release.yml index 4eff8e574..dce3fbff1 100644 --- a/.github/workflows/post-release.yml +++ b/.github/workflows/post-release.yml @@ -1,4 +1,4 @@ -name: Post Release Tasks +name: Post-Release Tasks on: release: @@ -24,7 +24,24 @@ jobs: - name: Set up Helm uses: azure/setup-helm@v3 + - name: Add Helm repositories + run: | + helm repo add newrelic-infrastructure https://newrelic.github.io/nri-kubernetes + helm repo add nri-prometheus https://newrelic.github.io/nri-prometheus + helm repo add newrelic-prometheus-configurator https://newrelic.github.io/newrelic-prometheus-configurator + helm repo add nri-metadata-injection https://newrelic.github.io/k8s-metadata-injection + helm repo add newrelic-k8s-metrics-adapter https://newrelic.github.io/newrelic-k8s-metrics-adapter + helm repo add prometheus-community https://prometheus-community.github.io/helm-charts + helm repo add nri-kube-events https://newrelic.github.io/nri-kube-events + helm repo add newrelic-helm-charts https://newrelic.github.io/helm-charts + helm repo add pixie-operator-chart https://pixie-operator-charts.storage.googleapis.com + helm repo add newrelic-infra-operator https://newrelic.github.io/newrelic-infra-operator + helm repo add kube-state-metrics https://kubernetes.github.io/kube-state-metrics + helm repo add newrelic-cdn-helm-charts https://helm-charts.newrelic.com + - name: Create release notes + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | scripts/write-release-notes.sh ${{ env.RELEASE_FILE }} ${{ env.SLACK_FILE }} gh release edit ${{ github.event.release.tag_name }} \ diff --git a/charts/nri-bundle/Chart.yaml b/charts/nri-bundle/Chart.yaml index 3b5168bc2..8997afb2f 100644 --- a/charts/nri-bundle/Chart.yaml +++ b/charts/nri-bundle/Chart.yaml @@ -16,7 +16,7 @@ sources: - https://github.com/newrelic/helm-charts/tree/master/charts/newrelic-pixie - https://github.com/newrelic/newrelic-infra-operator/tree/master/charts/newrelic-infra-operator -version: 5.0.29 +version: 5.0.30 dependencies: - name: newrelic-infrastructure