Move the Helm charts to a seperate Charts repo
This commit is contained in:
parent
bb191362f6
commit
12a37f3aab
|
@ -1,8 +1,10 @@
|
||||||
owner: truecharts
|
owner: truecharts
|
||||||
git-repo: apps
|
git-repo: charts
|
||||||
|
repo: charts
|
||||||
charts-dir: charts/*
|
charts-dir: charts/*
|
||||||
charts_repo_url: "https://truecharts.org"
|
charts_repo_url: "https://charts.truecharts.org"
|
||||||
excluded-charts: common-test
|
excluded-charts: common-test
|
||||||
pages-branch: "master"
|
pages-branch: "master"
|
||||||
SkipExisting: true
|
SkipExisting: true
|
||||||
index-path: "docs/index.yaml"
|
skipExisting: true
|
||||||
|
index-path: "chartsrepo/index.yaml"
|
||||||
|
|
|
@ -21,6 +21,13 @@ jobs:
|
||||||
fetch-depth: 100
|
fetch-depth: 100
|
||||||
token: ${{ secrets.BOT_TOKEN }}
|
token: ${{ secrets.BOT_TOKEN }}
|
||||||
|
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # tag=v3
|
||||||
|
with:
|
||||||
|
repository: truecharts/charts
|
||||||
|
token: ${{ secrets.BOT_TOKEN }}
|
||||||
|
path: chartsrepo
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # tag=v3
|
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # tag=v3
|
||||||
with:
|
with:
|
||||||
|
@ -37,7 +44,7 @@ jobs:
|
||||||
|
|
||||||
- name: build-and-run
|
- name: build-and-run
|
||||||
run: |
|
run: |
|
||||||
tools/build-release.sh -p --config .github/cr.yaml
|
tools/build-release.sh -p --config .github/cr.yaml SkipExisting: true
|
||||||
env:
|
env:
|
||||||
CR_TOKEN: ${{ secrets.BOT_TOKEN }}
|
CR_TOKEN: ${{ secrets.BOT_TOKEN }}
|
||||||
|
|
||||||
|
@ -52,6 +59,17 @@ jobs:
|
||||||
cd -
|
cd -
|
||||||
rm -rf catalog
|
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
|
- name: Commit and Push new Docker-hub-locked App releases
|
||||||
run: |
|
run: |
|
||||||
cd dh_catalog
|
cd dh_catalog
|
||||||
|
|
|
@ -48,3 +48,4 @@ charts/**/charts/*.tgz
|
||||||
charts/**/render/*
|
charts/**/render/*
|
||||||
catalog/
|
catalog/
|
||||||
dh_catalog/
|
dh_catalog/
|
||||||
|
chartsrepo/
|
||||||
|
|
Loading…
Reference in New Issue