move index.yaml to this repo (prepare to move website away)
This commit is contained in:
parent
96fca1e641
commit
d4d94808b2
|
@ -4,7 +4,6 @@ repo: apps
|
||||||
charts-dir: charts/*
|
charts-dir: charts/*
|
||||||
charts_repo_url: "https://charts.truecharts.org"
|
charts_repo_url: "https://charts.truecharts.org"
|
||||||
excluded-charts: common-test
|
excluded-charts: common-test
|
||||||
pages-branch: "master"
|
pages-branch: "gh-pages"
|
||||||
SkipExisting: true
|
SkipExisting: true
|
||||||
skipExisting: true
|
skipExisting: true
|
||||||
index-path: "chartsrepo/index.yaml"
|
|
||||||
|
|
|
@ -21,14 +21,6 @@ jobs:
|
||||||
fetch-depth: 100
|
fetch-depth: 100
|
||||||
token: ${{ secrets.BOT_TOKEN }}
|
token: ${{ secrets.BOT_TOKEN }}
|
||||||
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # tag=v3
|
|
||||||
with:
|
|
||||||
fetch-depth: 1
|
|
||||||
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:
|
||||||
|
|
|
@ -118,8 +118,8 @@ jobs:
|
||||||
|
|
||||||
- name: update helm repo cache
|
- name: update helm repo cache
|
||||||
run: |
|
run: |
|
||||||
helm repo add truecharts-old https://truecharts.org"
|
helm repo add truecharts-old https://truecharts.org
|
||||||
helm repo add truecharts https://charts.truecharts.org"
|
helm repo add truecharts https://charts.truecharts.org
|
||||||
helm repo add truecharts-library https://library-charts.truecharts.org
|
helm repo add truecharts-library https://library-charts.truecharts.org
|
||||||
helm repo add bitnami https://charts.bitnami.com/bitnami
|
helm repo add bitnami https://charts.bitnami.com/bitnami
|
||||||
helm repo add metallb https://metallb.github.io/metallb
|
helm repo add metallb https://metallb.github.io/metallb
|
||||||
|
|
|
@ -67,7 +67,6 @@ main() {
|
||||||
gen_dh_cat
|
gen_dh_cat
|
||||||
release_charts
|
release_charts
|
||||||
update_index
|
update_index
|
||||||
upload_index
|
|
||||||
fi
|
fi
|
||||||
validate_catalog
|
validate_catalog
|
||||||
upload_catalog
|
upload_catalog
|
||||||
|
@ -744,17 +743,4 @@ update_index() {
|
||||||
}
|
}
|
||||||
export -f update_index
|
export -f update_index
|
||||||
|
|
||||||
upload_index() {
|
|
||||||
cd chartsrepo
|
|
||||||
echo "uploading index.yaml..."
|
|
||||||
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
|
|
||||||
}
|
|
||||||
export -f upload_index
|
|
||||||
|
|
||||||
main "$@"
|
main "$@"
|
||||||
|
|
Loading…
Reference in New Issue