diff --git a/forgejo-runner/README.adoc b/forgejo-runner/README.adoc index 4024835..86fd72f 100644 --- a/forgejo-runner/README.adoc +++ b/forgejo-runner/README.adoc @@ -2,9 +2,9 @@ = forgejo-runner -image::https://img.shields.io/badge/Version-0.4.0-informational?style=flat-square[Version: 0.4.0] +image::https://img.shields.io/badge/Version-0.4.1-informational?style=flat-square[Version: 0.4.1] image::https://img.shields.io/badge/Version-application-informational?style=flat-square[Type: application] -image::https://img.shields.io/badge/AppVersion-5.0.0-informational?style=flat-square[AppVersion: 5.0.0] +image::https://img.shields.io/badge/AppVersion-5.0.1-informational?style=flat-square[AppVersion: 5.0.1] == Maintainers .Maintainers @@ -16,12 +16,15 @@ image::https://img.shields.io/badge/AppVersion-5.0.0-informational?style=flat-sq | |=== -== Accessing docker socket inside job containers +{{< callout type="warning" >}} +Me, wrenix, switch to woodpecker and maybe does not test every change. +{{< /callout >}} + +## Accessing docker socket inside job containers To access the docker socket inside the job containers, the following example values may be used (see `values-dind-bypass.yaml`): -[source,yaml] ----- +``` yaml {filename="values.yaml"} runner: config: create: true @@ -46,7 +49,7 @@ runner: valid_volumes: - /certs/client ----- +``` == Usage diff --git a/forgejo-runner/README.md b/forgejo-runner/README.md index e66d543..81fa6ee 100644 --- a/forgejo-runner/README.md +++ b/forgejo-runner/README.md @@ -7,7 +7,7 @@ description: "Deploy runner for an forgejo instance (default codeberg.org)" # forgejo-runner -![Version: 0.4.0](https://img.shields.io/badge/Version-0.4.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 5.0.0](https://img.shields.io/badge/AppVersion-5.0.0-informational?style=flat-square) +![Version: 0.4.1](https://img.shields.io/badge/Version-0.4.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 5.0.1](https://img.shields.io/badge/AppVersion-5.0.1-informational?style=flat-square) Deploy runner for an forgejo instance (default codeberg.org) @@ -17,12 +17,15 @@ Deploy runner for an forgejo instance (default codeberg.org) | ---- | ------ | --- | | WrenIX | | | -== Accessing docker socket inside job containers +{{< callout type="warning" >}} +Me, wrenix, switch to woodpecker and maybe does not test every change. +{{< /callout >}} + +## Accessing docker socket inside job containers To access the docker socket inside the job containers, the following example values may be used (see `values-dind-bypass.yaml`): -[source,yaml] ----- +``` yaml {filename="values.yaml"} runner: config: create: true @@ -47,7 +50,7 @@ runner: valid_volumes: - /certs/client ----- +``` ## Usage diff --git a/forgejo-runner/_docs.gotmpl b/forgejo-runner/_docs.gotmpl index 7df525c..42e2cf5 100644 --- a/forgejo-runner/_docs.gotmpl +++ b/forgejo-runner/_docs.gotmpl @@ -1,8 +1,9 @@ {{ define "chart.prerequirements" -}} +{{` {{< callout type="warning" >}} Me, wrenix, switch to woodpecker and maybe does not test every change. {{< /callout >}} - +`}} ## Accessing docker socket inside job containers To access the docker socket inside the job containers, the following example values may be used (see `values-dind-bypass.yaml`): diff --git a/publish.sh b/publish.sh index 69b1f23..3cd653f 100755 --- a/publish.sh +++ b/publish.sh @@ -40,7 +40,8 @@ for p in * ; do if [ "$tag" == "$lastTag" ]; then echo "changed helmchart should create new pkg - diff line count has:" echo $(git diff "${lastTag}" -- "${p}" | wc -l); - exit 1 + echo + continue; fi else echo "nothing todo" @@ -49,6 +50,7 @@ for p in * ; do fi fi + set -e echo "update docs" helm-docs -t ./README.md.gotmpl -t _docs.gotmpl -o README.md -g "${p}" helm-docs -t ./README.adoc.gotmpl -t _docs.gotmpl -o README.adoc -g "${p}" @@ -58,15 +60,18 @@ for p in * ; do helm push "${p}-${v}.tgz" "${HELM_REPO_URL}"; echo "update artifacthub.io" + set +e oras push "${HELM_REPO}/${p}:artifacthub.io" \ --config /dev/null:application/vnd.cncf.artifacthub.config.v1+yaml \ "${p}/artifacthub-repo.yml":application/vnd.cncf.artifacthub.repository-metadata.layer.v1.yaml echo "push to git" + set -e git add "${p}/" "docs/modules/charts/nav.adoc" "docs/modules/charts/pages/${p}.adoc" git commit -m "${COMMIT_SCOPE}(${p}): ${COMMIT_MESSAGE}" git tag "${tag}" --no-sign; git push --tags origin main; + set +e echo done