feat: repo task

This commit is contained in:
Janik von Rotz committed 2025-03-13 17:27:53 +01:00
1 parent 9de79ad174
commit 8d1189003e
2 files changed
+12 -6

No files matched your search

+1 -1
View File
@@ -76,7 +76,7 @@ task package
Update index file.
```bash
task index
task index-repo
```
### Show log files
+11 -5
View File
@@ -35,9 +35,10 @@ function help() {
printf "$COLUMN" "version" "" "Show version of required tools."
printf "$COLUMN" "update-with-llm" "[path][prompt]" "Update files with LLM prompt."
printf "$COLUMN" "package" "" "Package Helm Chart."
printf "$COLUMN" "index" "" "Index Helm Chart."
printf "$COLUMN" "publish" "" "Copy Helm Chart packages and repo index."
printf "$COLUMN" "add" "" "Add the kubernetes-buld repo."
printf "$COLUMN" "index-repo" "" "Index Helm Chart."
printf "$COLUMN" "publish" "" "Copy Helm Chart files to dist."
printf "$COLUMN" "add-repo" "" "Add the kubernetes-buld repo."
printf "$COLUMN" "remove-repo" "" "Remove the kubernetes-buld repo."
echo
}
@@ -116,7 +117,7 @@ function package() {
helm package .
}
function index() {
function index-repo() {
echo "Update index.yaml"
helm repo index .
}
@@ -127,11 +128,16 @@ function publish() {
cp index.yaml .vitepress/dist
}
function add(){
function add-repo(){
echo "Add the kubernetes-build repo."
helm repo add kubernetes-build https://kubernetes.build
}
function remove-repo(){
echo "Remove the kubernetes-build repo."
helm repo remove kubernetes-build
}
# LLM Commands
function update-with-llm() {