tmforum-oda / oda-canvas

Apache License 2.0
19 stars 52 forks source link

Chart releaser fails #286

Open ferenc-hechler opened 2 months ago

ferenc-hechler commented 2 months ago

When merging PR#282 the chart releaser GitHub Action was triggered and failed: https://github.com/tmforum-oda/oda-canvas/actions/runs/10215376055/job/28264670442

The error is caused by the canvas-vault chart, which references the hashicorp helm registry:

Error: no repository definition for https://helm.releases.hashicorp.com/

ferenc-hechler commented 2 months ago

Looks like in the release.yaml the hashicorp repo has to be added:

https://github.com/tmforum-oda/oda-canvas/blob/6d527c6bd10b6f274e9ac12bcb59bee89e1ebb40/.github/workflows/release.yml#L22-L32

name: Release Charts
...
      - name: Configure Helm
        run: |
          helm repo add jetstack https://charts.jetstack.io
          helm repo add bitnami https://charts.bitnami.com/bitnami
[+]       helm repo add hashicorp https://helm.releases.hashicorp.com
          helm repo update
          cd ./charts/cert-manager-init
          helm dependency update
          cd ../canvas-vault
          helm dependency update
          cd ../canvas-oda
          helm dependency update
...
ferenc-hechler commented 2 months ago

created PR #287