feat!: Relocate repository

This commit is contained in:
Bernd Schorgers 2025-05-01 11:21:18 +02:00
parent d3bd21cf8a
commit ad087dee99
No known key found for this signature in database
40 changed files with 107 additions and 445 deletions

View file

@ -47,7 +47,7 @@ jobs:
- name: Get chart details for PR
id: chart-details-pr
uses: bjw-s-labs/helm-charts-actions/get-chart-details@main
uses: bjw-s-labs/helm-charts-actions/get-chart-details@2025.2.0
with:
path: pull/charts/${{ matrix.chart }}
validateChartYaml: true
@ -55,7 +55,7 @@ jobs:
- name: Get chart details for default branch
id: chart-details-default
uses: bjw-s-labs/helm-charts-actions/get-chart-details@main
uses: bjw-s-labs/helm-charts-actions/get-chart-details@2025.2.0
with:
path: default/charts/${{ matrix.chart }}
allowChartToNotExist: true
@ -127,8 +127,8 @@ jobs:
COMMON_LIBRARY_LOCATION: ${{ github.workspace }}/charts/library/common
working-directory: charts/${{ matrix.chart }}
run: |
yq -i '. |= .dependencies |= map(select(.name == "common" and .repository == "https://bjw-s.github.io/helm-charts").version = ">0.0.0-0")' Chart.yaml
yq -i '. |= .dependencies |= map(select(.name == "common" and .repository == "https://bjw-s.github.io/helm-charts").repository = "file://${{ env.COMMON_LIBRARY_LOCATION }}")' Chart.yaml
yq -i '. |= .dependencies |= map(select(.name == "common" and .repository == "https://bjw-s-labs.github.io/helm-charts").version = ">0.0.0-0")' Chart.yaml
yq -i '. |= .dependencies |= map(select(.name == "common" and .repository == "https://bjw-s-labs.github.io/helm-charts").repository = "file://${{ env.COMMON_LIBRARY_LOCATION }}")' Chart.yaml
echo "::group::Modified Chart.yaml"
cat Chart.yaml
echo "::endgroup::"