Move the Helm charts to a seperate Charts repo

This commit is contained in:
kjeld Schouten-Lebbing 2022-03-29 20:44:14 +02:00
parent bb191362f6
commit 12a37f3aab
No known key found for this signature in database
GPG Key ID: 4CDAD4A532BC1EDB
3 changed files with 25 additions and 4 deletions

8
.github/cr.yaml vendored
View File

@ -1,8 +1,10 @@
owner: truecharts
git-repo: apps
git-repo: charts
repo: charts
charts-dir: charts/*
charts_repo_url: "https://truecharts.org"
charts_repo_url: "https://charts.truecharts.org"
excluded-charts: common-test
pages-branch: "master"
SkipExisting: true
index-path: "docs/index.yaml"
skipExisting: true
index-path: "chartsrepo/index.yaml"

View File

@ -21,6 +21,13 @@ jobs:
fetch-depth: 100
token: ${{ secrets.BOT_TOKEN }}
- name: Checkout
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # tag=v3
with:
repository: truecharts/charts
token: ${{ secrets.BOT_TOKEN }}
path: chartsrepo
- name: Checkout
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # tag=v3
with:
@ -37,7 +44,7 @@ jobs:
- name: build-and-run
run: |
tools/build-release.sh -p --config .github/cr.yaml
tools/build-release.sh -p --config .github/cr.yaml SkipExisting: true
env:
CR_TOKEN: ${{ secrets.BOT_TOKEN }}
@ -52,6 +59,17 @@ jobs:
cd -
rm -rf catalog
- name: Commit and Push new App releases
run: |
cd chartsrepo
git config user.name "TrueCharts-Bot"
git config user.email "bot@truecharts.org"
git add --all
git commit -sm "Commit new Chart releases for TrueCharts" || exit 0
git push
cd -
rm -rf chartsrepo
- name: Commit and Push new Docker-hub-locked App releases
run: |
cd dh_catalog

1
.gitignore vendored
View File

@ -48,3 +48,4 @@ charts/**/charts/*.tgz
charts/**/render/*
catalog/
dh_catalog/
chartsrepo/