From e6f9b2cdf5e8b8a5395b4f45d4955e6748a5ff1b Mon Sep 17 00:00:00 2001 From: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Date: Tue, 2 Jan 2024 00:26:55 +0200 Subject: [PATCH] fix(ci): fix repo for charts (#16742) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **Description** ⚒️ Fixes # **⚙️ Type of change** - [ ] ⚙️ Feature/App addition - [ ] 🪛 Bugfix - [ ] ⚠️ Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] 🔃 Refactor of current code **🧪 How Has This Been Tested?** **📃 Notes:** **✔️ Checklist:** - [ ] ⚖️ My code follows the style guidelines of this project - [ ] 👀 I have performed a self-review of my own code - [ ] #️⃣ I have commented my code, particularly in hard-to-understand areas - [ ] 📄 I have made corresponding changes to the documentation - [ ] ⚠️ My changes generate no new warnings - [ ] 🧪 I have added tests to this description that prove my fix is effective or that my feature works - [ ] ⬆️ I increased versions for any altered app according to semantic versioning **➕ App addition** If this PR is an app addition please make sure you have done the following. - [ ] 🪞 I have opened a PR on [truecharts/containers](https://github.com/truecharts/containers) adding the container to TrueCharts mirror repo. - [ ] 🖼️ I have added an icon in the Chart's root directory called `icon.png` --- _Please don't blindly check all the boxes. Read them and only check those that apply. Those checkboxes are there for the reviewer to see what is this all about and the status of this PR with a quick glance._ --- .github/workflows/charts-test.yaml | 96 +++++++++++++++--------------- 1 file changed, 48 insertions(+), 48 deletions(-) diff --git a/.github/workflows/charts-test.yaml b/.github/workflows/charts-test.yaml index d38c378b716..6427b15f7d6 100644 --- a/.github/workflows/charts-test.yaml +++ b/.github/workflows/charts-test.yaml @@ -152,28 +152,28 @@ jobs: helm repo add cnpg https://cloudnative-pg.github.io/charts helm repo add metallb https://metallb.github.io/metallb helm repo add prometheus-community https://prometheus-community.github.io/helm-charts - helm repo add openebs https://openebs.github.io/charts - helm repo add csi-driver-smb https://raw.githubusercontent.com/kubernetes-csi/csi-driver-smb/master/charts - helm repo add csi-driver-nfs https://raw.githubusercontent.com/kubernetes-csi/csi-driver-nfs/master/charts + helm repo add openebs https://openebs.github.io/charts + helm repo add csi-driver-smb https://raw.githubusercontent.com/kubernetes-csi/csi-driver-smb/master/charts + helm repo add csi-driver-nfs https://raw.githubusercontent.com/kubernetes-csi/csi-driver-nfs/master/charts helm repo update - name: Add Dependencies run: | if [[ "${{ matrix.chart }}" == "charts/operators/metallb-config" ]]; then - helm install metallb truecharts/metallb --namespace metallb --create-namespace --wait + helm install metallb oci://tccr.io/truecharts/metallb --namespace metallb --create-namespace --wait fi ## TODO: Only add when required if [[ "${{ matrix.chart }}" == "charts/enterprise/clusterissuer" ]]; then - helm install cert-manager truecharts/cert-manager --namespace cert-manager --create-namespace --wait + helm install cert-manager oci://tccr.io/truecharts/cert-manager --namespace cert-manager --create-namespace --wait fi if [[ "${{ matrix.chart }}" != "charts/operators/cloudnative-pg" ]]; then - helm install cloudnative-pg truecharts/cloudnative-pg --namespace cloudnative-pg --create-namespace --wait + helm install cloudnative-pg oci://tccr.io/truecharts/cloudnative-pg --namespace cloudnative-pg --create-namespace --wait fi if [[ "${{ matrix.chart }}" != "charts/operators/prometheus-operator" ]]; then - helm install prometheus-operator truecharts/prometheus-operator --namespace prometheus-operator --create-namespace --wait + helm install prometheus-operator oci://tccr.io/truecharts/prometheus-operator --namespace prometheus-operator --create-namespace --wait fi if [[ "${{ matrix.chart }}" != "charts/enterprise/traefik" ]]; then - helm install traefik truecharts/traefik --namespace traefik --create-namespace --wait + helm install traefik oci://tccr.io/truecharts/traefik --namespace traefik --create-namespace --wait fi - name: Run chart-testing (install) @@ -228,28 +228,28 @@ jobs: helm repo add cnpg https://cloudnative-pg.github.io/charts helm repo add metallb https://metallb.github.io/metallb helm repo add prometheus-community https://prometheus-community.github.io/helm-charts - helm repo add openebs https://openebs.github.io/charts - helm repo add csi-driver-smb https://raw.githubusercontent.com/kubernetes-csi/csi-driver-smb/master/charts - helm repo add csi-driver-nfs https://raw.githubusercontent.com/kubernetes-csi/csi-driver-nfs/master/charts + helm repo add openebs https://openebs.github.io/charts + helm repo add csi-driver-smb https://raw.githubusercontent.com/kubernetes-csi/csi-driver-smb/master/charts + helm repo add csi-driver-nfs https://raw.githubusercontent.com/kubernetes-csi/csi-driver-nfs/master/charts helm repo update - name: Add Dependencies run: | if [[ "${{ matrix.chart }}" == "charts/operators/metallb-config" ]]; then - helm install metallb truecharts/metallb --namespace metallb --create-namespace --wait + helm install metallb oci://tccr.io/truecharts/metallb --namespace metallb --create-namespace --wait fi ## TODO: Only add when required if [[ "${{ matrix.chart }}" == "charts/enterprise/clusterissuer" ]]; then - helm install cert-manager truecharts/cert-manager --namespace cert-manager --create-namespace --wait + helm install cert-manager oci://tccr.io/truecharts/cert-manager --namespace cert-manager --create-namespace --wait fi if [[ "${{ matrix.chart }}" != "charts/operators/cloudnative-pg" ]]; then - helm install cloudnative-pg truecharts/cloudnative-pg --namespace cloudnative-pg --create-namespace --wait + helm install cloudnative-pg oci://tccr.io/truecharts/cloudnative-pg --namespace cloudnative-pg --create-namespace --wait fi if [[ "${{ matrix.chart }}" != "charts/operators/prometheus-operator" ]]; then - helm install prometheus-operator truecharts/prometheus-operator --namespace prometheus-operator --create-namespace --wait + helm install prometheus-operator oci://tccr.io/truecharts/prometheus-operator --namespace prometheus-operator --create-namespace --wait fi if [[ "${{ matrix.chart }}" != "charts/enterprise/traefik" ]]; then - helm install traefik truecharts/traefik --namespace traefik --create-namespace --wait + helm install traefik oci://tccr.io/truecharts/traefik --namespace traefik --create-namespace --wait fi - name: Run chart-testing (install) @@ -304,28 +304,28 @@ jobs: helm repo add cnpg https://cloudnative-pg.github.io/charts helm repo add metallb https://metallb.github.io/metallb helm repo add prometheus-community https://prometheus-community.github.io/helm-charts - helm repo add openebs https://openebs.github.io/charts - helm repo add csi-driver-smb https://raw.githubusercontent.com/kubernetes-csi/csi-driver-smb/master/charts - helm repo add csi-driver-nfs https://raw.githubusercontent.com/kubernetes-csi/csi-driver-nfs/master/charts + helm repo add openebs https://openebs.github.io/charts + helm repo add csi-driver-smb https://raw.githubusercontent.com/kubernetes-csi/csi-driver-smb/master/charts + helm repo add csi-driver-nfs https://raw.githubusercontent.com/kubernetes-csi/csi-driver-nfs/master/charts helm repo update - name: Add Dependencies run: | if [[ "${{ matrix.chart }}" == "charts/operators/metallb-config" ]]; then - helm install metallb truecharts/metallb --namespace metallb --create-namespace --wait + helm install metallb oci://tccr.io/truecharts/metallb --namespace metallb --create-namespace --wait fi ## TODO: Only add when required if [[ "${{ matrix.chart }}" == "charts/enterprise/clusterissuer" ]]; then - helm install cert-manager truecharts/cert-manager --namespace cert-manager --create-namespace --wait + helm install cert-manager oci://tccr.io/truecharts/cert-manager --namespace cert-manager --create-namespace --wait fi if [[ "${{ matrix.chart }}" != "charts/operators/cloudnative-pg" ]]; then - helm install cloudnative-pg truecharts/cloudnative-pg --namespace cloudnative-pg --create-namespace --wait + helm install cloudnative-pg oci://tccr.io/truecharts/cloudnative-pg --namespace cloudnative-pg --create-namespace --wait fi if [[ "${{ matrix.chart }}" != "charts/operators/prometheus-operator" ]]; then - helm install prometheus-operator truecharts/prometheus-operator --namespace prometheus-operator --create-namespace --wait + helm install prometheus-operator oci://tccr.io/truecharts/prometheus-operator --namespace prometheus-operator --create-namespace --wait fi if [[ "${{ matrix.chart }}" != "charts/enterprise/traefik" ]]; then - helm install traefik truecharts/traefik --namespace traefik --create-namespace --wait + helm install traefik oci://tccr.io/truecharts/traefik --namespace traefik --create-namespace --wait fi - name: Run chart-testing (install) @@ -380,28 +380,28 @@ jobs: helm repo add cnpg https://cloudnative-pg.github.io/charts helm repo add metallb https://metallb.github.io/metallb helm repo add prometheus-community https://prometheus-community.github.io/helm-charts - helm repo add openebs https://openebs.github.io/charts - helm repo add csi-driver-smb https://raw.githubusercontent.com/kubernetes-csi/csi-driver-smb/master/charts - helm repo add csi-driver-nfs https://raw.githubusercontent.com/kubernetes-csi/csi-driver-nfs/master/charts + helm repo add openebs https://openebs.github.io/charts + helm repo add csi-driver-smb https://raw.githubusercontent.com/kubernetes-csi/csi-driver-smb/master/charts + helm repo add csi-driver-nfs https://raw.githubusercontent.com/kubernetes-csi/csi-driver-nfs/master/charts helm repo update - name: Add Dependencies run: | if [[ "${{ matrix.chart }}" == "charts/operators/metallb-config" ]]; then - helm install metallb truecharts/metallb --namespace metallb --create-namespace --wait + helm install metallb oci://tccr.io/truecharts/metallb --namespace metallb --create-namespace --wait fi ## TODO: Only add when required if [[ "${{ matrix.chart }}" == "charts/enterprise/clusterissuer" ]]; then - helm install cert-manager truecharts/cert-manager --namespace cert-manager --create-namespace --wait + helm install cert-manager oci://tccr.io/truecharts/cert-manager --namespace cert-manager --create-namespace --wait fi if [[ "${{ matrix.chart }}" != "charts/operators/cloudnative-pg" ]]; then - helm install cloudnative-pg truecharts/cloudnative-pg --namespace cloudnative-pg --create-namespace --wait + helm install cloudnative-pg oci://tccr.io/truecharts/cloudnative-pg --namespace cloudnative-pg --create-namespace --wait fi if [[ "${{ matrix.chart }}" != "charts/operators/prometheus-operator" ]]; then - helm install prometheus-operator truecharts/prometheus-operator --namespace prometheus-operator --create-namespace --wait + helm install prometheus-operator oci://tccr.io/truecharts/prometheus-operator --namespace prometheus-operator --create-namespace --wait fi if [[ "${{ matrix.chart }}" != "charts/enterprise/traefik" ]]; then - helm install traefik truecharts/traefik --namespace traefik --create-namespace --wait + helm install traefik oci://tccr.io/truecharts/traefik --namespace traefik --create-namespace --wait fi - name: Run chart-testing (install) @@ -456,28 +456,28 @@ jobs: helm repo add cnpg https://cloudnative-pg.github.io/charts helm repo add metallb https://metallb.github.io/metallb helm repo add prometheus-community https://prometheus-community.github.io/helm-charts - helm repo add openebs https://openebs.github.io/charts - helm repo add csi-driver-smb https://raw.githubusercontent.com/kubernetes-csi/csi-driver-smb/master/charts - helm repo add csi-driver-nfs https://raw.githubusercontent.com/kubernetes-csi/csi-driver-nfs/master/charts + helm repo add openebs https://openebs.github.io/charts + helm repo add csi-driver-smb https://raw.githubusercontent.com/kubernetes-csi/csi-driver-smb/master/charts + helm repo add csi-driver-nfs https://raw.githubusercontent.com/kubernetes-csi/csi-driver-nfs/master/charts helm repo update - name: Add Dependencies run: | if [[ "${{ matrix.chart }}" == "charts/operators/metallb-config" ]]; then - helm install metallb truecharts/metallb --namespace metallb --create-namespace --wait + helm install metallb oci://tccr.io/truecharts/metallb --namespace metallb --create-namespace --wait fi ## TODO: Only add when required if [[ "${{ matrix.chart }}" == "charts/enterprise/clusterissuer" ]]; then - helm install cert-manager truecharts/cert-manager --namespace cert-manager --create-namespace --wait + helm install cert-manager oci://tccr.io/truecharts/cert-manager --namespace cert-manager --create-namespace --wait fi if [[ "${{ matrix.chart }}" != "charts/operators/cloudnative-pg" ]]; then - helm install cloudnative-pg truecharts/cloudnative-pg --namespace cloudnative-pg --create-namespace --wait + helm install cloudnative-pg oci://tccr.io/truecharts/cloudnative-pg --namespace cloudnative-pg --create-namespace --wait fi if [[ "${{ matrix.chart }}" != "charts/operators/prometheus-operator" ]]; then - helm install prometheus-operator truecharts/prometheus-operator --namespace prometheus-operator --create-namespace --wait + helm install prometheus-operator oci://tccr.io/truecharts/prometheus-operator --namespace prometheus-operator --create-namespace --wait fi if [[ "${{ matrix.chart }}" != "charts/enterprise/traefik" ]]; then - helm install traefik truecharts/traefik --namespace traefik --create-namespace --wait + helm install traefik oci://tccr.io/truecharts/traefik --namespace traefik --create-namespace --wait fi - name: Run chart-testing (install) @@ -532,28 +532,28 @@ jobs: helm repo add cnpg https://cloudnative-pg.github.io/charts helm repo add metallb https://metallb.github.io/metallb helm repo add prometheus-community https://prometheus-community.github.io/helm-charts - helm repo add openebs https://openebs.github.io/charts - helm repo add csi-driver-smb https://raw.githubusercontent.com/kubernetes-csi/csi-driver-smb/master/charts - helm repo add csi-driver-nfs https://raw.githubusercontent.com/kubernetes-csi/csi-driver-nfs/master/charts + helm repo add openebs https://openebs.github.io/charts + helm repo add csi-driver-smb https://raw.githubusercontent.com/kubernetes-csi/csi-driver-smb/master/charts + helm repo add csi-driver-nfs https://raw.githubusercontent.com/kubernetes-csi/csi-driver-nfs/master/charts helm repo update - name: Add Dependencies run: | if [[ "${{ matrix.chart }}" == "charts/operators/metallb-config" ]]; then - helm install metallb truecharts/metallb --namespace metallb --create-namespace --wait + helm install metallb oci://tccr.io/truecharts/metallb --namespace metallb --create-namespace --wait fi ## TODO: Only add when required if [[ "${{ matrix.chart }}" == "charts/enterprise/clusterissuer" ]]; then - helm install cert-manager truecharts/cert-manager --namespace cert-manager --create-namespace --wait + helm install cert-manager oci://tccr.io/truecharts/cert-manager --namespace cert-manager --create-namespace --wait fi if [[ "${{ matrix.chart }}" != "charts/operators/cloudnative-pg" ]]; then - helm install cloudnative-pg truecharts/cloudnative-pg --namespace cloudnative-pg --create-namespace --wait + helm install cloudnative-pg oci://tccr.io/truecharts/cloudnative-pg --namespace cloudnative-pg --create-namespace --wait fi if [[ "${{ matrix.chart }}" != "charts/operators/prometheus-operator" ]]; then - helm install prometheus-operator truecharts/prometheus-operator --namespace prometheus-operator --create-namespace --wait + helm install prometheus-operator oci://tccr.io/truecharts/prometheus-operator --namespace prometheus-operator --create-namespace --wait fi if [[ "${{ matrix.chart }}" != "charts/enterprise/traefik" ]]; then - helm install traefik truecharts/traefik --namespace traefik --create-namespace --wait + helm install traefik oci://tccr.io/truecharts/traefik --namespace traefik --create-namespace --wait fi - name: Run chart-testing (install)