fix(ci): fix repo for charts (#16742)

**Description**
<!--
Please include a summary of the change and which issue is fixed. Please
also include relevant motivation and context. List any dependencies that
are required for this change.
-->
⚒️ Fixes  # <!--(issue)-->

**⚙️ 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?**
<!--
Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details
for your test configuration
-->

**📃 Notes:**
<!-- Please enter any other relevant information here -->

**✔️ 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._
This commit is contained in:
Stavros Kois
2024-01-01 23:26:55 +01:00
committed by GitHub
parent 2a6bca86cc
commit e6f9b2cdf5
+48 -48
View File
@@ -152,28 +152,28 @@ jobs:
helm repo add cnpg https://cloudnative-pg.github.io/charts helm repo add cnpg https://cloudnative-pg.github.io/charts
helm repo add metallb https://metallb.github.io/metallb helm repo add metallb https://metallb.github.io/metallb
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm repo add openebs https://openebs.github.io/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-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 csi-driver-nfs https://raw.githubusercontent.com/kubernetes-csi/csi-driver-nfs/master/charts
helm repo update helm repo update
- name: Add Dependencies - name: Add Dependencies
run: | run: |
if [[ "${{ matrix.chart }}" == "charts/operators/metallb-config" ]]; then 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 fi
## TODO: Only add when required ## TODO: Only add when required
if [[ "${{ matrix.chart }}" == "charts/enterprise/clusterissuer" ]]; then 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 fi
if [[ "${{ matrix.chart }}" != "charts/operators/cloudnative-pg" ]]; then 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 fi
if [[ "${{ matrix.chart }}" != "charts/operators/prometheus-operator" ]]; then 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 fi
if [[ "${{ matrix.chart }}" != "charts/enterprise/traefik" ]]; then 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 fi
- name: Run chart-testing (install) - name: Run chart-testing (install)
@@ -228,28 +228,28 @@ jobs:
helm repo add cnpg https://cloudnative-pg.github.io/charts helm repo add cnpg https://cloudnative-pg.github.io/charts
helm repo add metallb https://metallb.github.io/metallb helm repo add metallb https://metallb.github.io/metallb
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm repo add openebs https://openebs.github.io/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-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 csi-driver-nfs https://raw.githubusercontent.com/kubernetes-csi/csi-driver-nfs/master/charts
helm repo update helm repo update
- name: Add Dependencies - name: Add Dependencies
run: | run: |
if [[ "${{ matrix.chart }}" == "charts/operators/metallb-config" ]]; then 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 fi
## TODO: Only add when required ## TODO: Only add when required
if [[ "${{ matrix.chart }}" == "charts/enterprise/clusterissuer" ]]; then 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 fi
if [[ "${{ matrix.chart }}" != "charts/operators/cloudnative-pg" ]]; then 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 fi
if [[ "${{ matrix.chart }}" != "charts/operators/prometheus-operator" ]]; then 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 fi
if [[ "${{ matrix.chart }}" != "charts/enterprise/traefik" ]]; then 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 fi
- name: Run chart-testing (install) - name: Run chart-testing (install)
@@ -304,28 +304,28 @@ jobs:
helm repo add cnpg https://cloudnative-pg.github.io/charts helm repo add cnpg https://cloudnative-pg.github.io/charts
helm repo add metallb https://metallb.github.io/metallb helm repo add metallb https://metallb.github.io/metallb
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm repo add openebs https://openebs.github.io/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-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 csi-driver-nfs https://raw.githubusercontent.com/kubernetes-csi/csi-driver-nfs/master/charts
helm repo update helm repo update
- name: Add Dependencies - name: Add Dependencies
run: | run: |
if [[ "${{ matrix.chart }}" == "charts/operators/metallb-config" ]]; then 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 fi
## TODO: Only add when required ## TODO: Only add when required
if [[ "${{ matrix.chart }}" == "charts/enterprise/clusterissuer" ]]; then 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 fi
if [[ "${{ matrix.chart }}" != "charts/operators/cloudnative-pg" ]]; then 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 fi
if [[ "${{ matrix.chart }}" != "charts/operators/prometheus-operator" ]]; then 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 fi
if [[ "${{ matrix.chart }}" != "charts/enterprise/traefik" ]]; then 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 fi
- name: Run chart-testing (install) - name: Run chart-testing (install)
@@ -380,28 +380,28 @@ jobs:
helm repo add cnpg https://cloudnative-pg.github.io/charts helm repo add cnpg https://cloudnative-pg.github.io/charts
helm repo add metallb https://metallb.github.io/metallb helm repo add metallb https://metallb.github.io/metallb
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm repo add openebs https://openebs.github.io/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-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 csi-driver-nfs https://raw.githubusercontent.com/kubernetes-csi/csi-driver-nfs/master/charts
helm repo update helm repo update
- name: Add Dependencies - name: Add Dependencies
run: | run: |
if [[ "${{ matrix.chart }}" == "charts/operators/metallb-config" ]]; then 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 fi
## TODO: Only add when required ## TODO: Only add when required
if [[ "${{ matrix.chart }}" == "charts/enterprise/clusterissuer" ]]; then 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 fi
if [[ "${{ matrix.chart }}" != "charts/operators/cloudnative-pg" ]]; then 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 fi
if [[ "${{ matrix.chart }}" != "charts/operators/prometheus-operator" ]]; then 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 fi
if [[ "${{ matrix.chart }}" != "charts/enterprise/traefik" ]]; then 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 fi
- name: Run chart-testing (install) - name: Run chart-testing (install)
@@ -456,28 +456,28 @@ jobs:
helm repo add cnpg https://cloudnative-pg.github.io/charts helm repo add cnpg https://cloudnative-pg.github.io/charts
helm repo add metallb https://metallb.github.io/metallb helm repo add metallb https://metallb.github.io/metallb
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm repo add openebs https://openebs.github.io/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-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 csi-driver-nfs https://raw.githubusercontent.com/kubernetes-csi/csi-driver-nfs/master/charts
helm repo update helm repo update
- name: Add Dependencies - name: Add Dependencies
run: | run: |
if [[ "${{ matrix.chart }}" == "charts/operators/metallb-config" ]]; then 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 fi
## TODO: Only add when required ## TODO: Only add when required
if [[ "${{ matrix.chart }}" == "charts/enterprise/clusterissuer" ]]; then 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 fi
if [[ "${{ matrix.chart }}" != "charts/operators/cloudnative-pg" ]]; then 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 fi
if [[ "${{ matrix.chart }}" != "charts/operators/prometheus-operator" ]]; then 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 fi
if [[ "${{ matrix.chart }}" != "charts/enterprise/traefik" ]]; then 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 fi
- name: Run chart-testing (install) - name: Run chart-testing (install)
@@ -532,28 +532,28 @@ jobs:
helm repo add cnpg https://cloudnative-pg.github.io/charts helm repo add cnpg https://cloudnative-pg.github.io/charts
helm repo add metallb https://metallb.github.io/metallb helm repo add metallb https://metallb.github.io/metallb
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm repo add openebs https://openebs.github.io/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-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 csi-driver-nfs https://raw.githubusercontent.com/kubernetes-csi/csi-driver-nfs/master/charts
helm repo update helm repo update
- name: Add Dependencies - name: Add Dependencies
run: | run: |
if [[ "${{ matrix.chart }}" == "charts/operators/metallb-config" ]]; then 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 fi
## TODO: Only add when required ## TODO: Only add when required
if [[ "${{ matrix.chart }}" == "charts/enterprise/clusterissuer" ]]; then 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 fi
if [[ "${{ matrix.chart }}" != "charts/operators/cloudnative-pg" ]]; then 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 fi
if [[ "${{ matrix.chart }}" != "charts/operators/prometheus-operator" ]]; then 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 fi
if [[ "${{ matrix.chart }}" != "charts/enterprise/traefik" ]]; then 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 fi
- name: Run chart-testing (install) - name: Run chart-testing (install)