feat: add tgz

This commit is contained in:
Janik von Rotz committed 2025-03-13 17:02:26 +01:00
1 parent 4b41b1662c
commit fded546fcb
6 files changed
+28 -21

No files matched your search

+1 -2
View File
@@ -2,5 +2,4 @@ node_modules
.vitepress/dist
.vitepress/cache
tmp
manifest.yaml
*.tgz
manifest.yaml
+13 -3
View File
@@ -21,7 +21,7 @@ hero:
## Usage
Install this Helm repository.
Install [this Helm repository](/index.yaml).
```bash
helm repo add kubernetes-build https://kubernetes.build
@@ -65,9 +65,19 @@ task forward-odoo
### Release
Create new release for this repository.
Adjust the version in `Chart.yaml`.
#FIXME
Create new package for this repository.
```bash
task package
```
Update index file.
```bash
task index
```
### Show log files
+3 -3
View File
@@ -3,12 +3,12 @@ entries:
odoo:
- apiVersion: v2
appVersion: 1.0.0
created: "2025-03-13T16:45:29.965470644+01:00"
created: "2025-03-13T17:01:53.80074207+01:00"
description: Mint System Odoo
digest: b0cffc6c3410beab397cbdddde2baa444999501f0ef46a64052f7daf6e73d978
digest: 4419c9279d57aa8fb149f5927f1cd4c74be02c033d0f043bce9d974956408c1a
name: odoo
type: application
urls:
- odoo-0.1.0.tgz
version: 0.1.0
generated: "2025-03-13T16:45:29.963998722+01:00"
generated: "2025-03-13T17:01:53.770579802+01:00"
BIN
View File
Binary file not shown.
+2 -2
View File
@@ -3,9 +3,9 @@
"vitepress": "^1.6.3"
},
"scripts": {
"build": "./task build",
"docs:dev": "vitepress dev",
"docs:build": "vitepress build",
"docs:preview": "vitepress preview"
"docs:preview": "vitepress preview",
"publish": "./task publish"
}
}
+9 -11
View File
@@ -36,7 +36,7 @@ function help() {
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" "build" "" "Package Helm Chart and site."
printf "$COLUMN" "publish" "" "Copy Helm Chart packages and repo index."
echo
}
@@ -85,12 +85,6 @@ function start-minikube() {
}
function apply-odoo() {
# echo "Template the manifest files."
# helm template odoo . > manifest.yaml
# echo "Apply manifest files."
# kubectl apply -f manifest.yaml
echo "Install release odoo with Helm."
helm install odoo .
@@ -117,13 +111,21 @@ function forward-odoo() {
# Helm Commands
function package() {
echo "Package Helm Chart."
helm package .
}
function index() {
echo "Update index.yaml"
helm repo index .
}
function publish() {
build-vitepress
cp *.tgz .vitepress/dist
cp index.yaml .vitepress/dist
}
# LLM Commands
function update-with-llm() {
@@ -221,10 +223,6 @@ if declare -f "$1" > /dev/null; then
"$1" "${@:2}"
else
case "$1" in
build)
build-vitepress
package
;;
*)
echo "Unknown command: $1"
help