feat: repo task
This commit is contained in:
2 files changed
+12
-6
No files matched your search
@@ -76,7 +76,7 @@ task package
|
||||
Update index file.
|
||||
|
||||
```bash
|
||||
task index
|
||||
task index-repo
|
||||
```
|
||||
|
||||
### Show log files
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in new issue
Block a user