Compare commits

..
Author SHA1 Message Date
volker.raschek 5d05af1682 fix(ci): upload prov file to gitea
Helm / helm-lint (push) Successful in 7s
Helm / helm-unittest (push) Successful in 25s
Release / publish-chart (push) Failing after 2m1s
2026-10-18 17:19:10 +02:00
volker.raschek 941c715ef2 fix(deployment): template initContainers
Helm / helm-lint (push) Successful in 13s
Helm / helm-unittest (push) Successful in 19s
2026-10-18 17:10:29 +02:00
CSRBot 1bb4aa34a5 Merge pull request 'chore(deps): update dependency helm to v4.3.1' (#209) from renovate/helm-4.x into master
Helm / helm-lint (push) Successful in 8s
Helm / helm-unittest (push) Successful in 24s
2026-10-15 04:10:04 +00:00
CSRBot f4021ccb1c chore(deps): update dependency helm to v4.3.1
Helm / helm-lint (push) Successful in 7s
Helm / helm-lint (pull_request) Successful in 6s
Helm / helm-unittest (push) Successful in 25s
Helm / helm-unittest (pull_request) Successful in 17s
2026-10-15 04:09:24 +00:00
CSRBot a23845f9e7 Merge pull request 'chore(deps): update dependency helm/helm to v4.3.1' (#208) from renovate/helm-helm-4.x into master
Helm / helm-lint (push) Successful in 6s
Helm / helm-unittest (push) Successful in 24s
2026-10-15 01:20:18 +00:00
CSRBot f1cdde6c22 chore(deps): update dependency helm/helm to v4.3.1
Helm / helm-lint (pull_request) Successful in 10s
Helm / helm-unittest (push) Successful in 29s
Helm / helm-unittest (pull_request) Successful in 16s
Helm / helm-lint (push) Successful in 11s
2026-10-15 01:19:29 +00:00
CSRBot 7b8f86045d Merge pull request 'chore(deps): update docker.io/library/node docker tag to v26.12.0' (#207) from renovate/update-docker.iolibrarynode into master
Helm / helm-unittest (push) Successful in 20s
Helm / helm-lint (push) Successful in 13s
2026-10-14 22:11:44 +00:00
CSRBot 6ae4641b78 chore(deps): update docker.io/library/node docker tag to v26.12.0
Helm / helm-lint (push) Successful in 11s
Helm / helm-lint (pull_request) Successful in 14s
Helm / helm-unittest (push) Successful in 16s
Helm / helm-unittest (pull_request) Successful in 17s
2026-10-14 22:10:45 +00:00
CSRBot 999e3c2e16 Merge pull request 'chore(deps): update docker.io/library/node docker tag to v26.11.1' (#206) from renovate/update-docker.iolibrarynode into master
Helm / helm-lint (push) Successful in 7s
Helm / helm-unittest (push) Successful in 23s
2026-10-09 01:17:52 +00:00
CSRBot 5d825aa750 chore(deps): update docker.io/library/node docker tag to v26.11.1
Helm / helm-unittest (push) Successful in 16s
Helm / helm-lint (push) Successful in 11s
Helm / helm-lint (pull_request) Successful in 12s
Helm / helm-unittest (pull_request) Successful in 15s
2026-10-09 01:16:47 +00:00
CSRBot fdf9a1c45c Merge pull request 'chore(deps): update update helm plugins to v1.2.1' (#205) from renovate/update-helm-plugins into master
Helm / helm-lint (push) Successful in 7s
Helm / helm-unittest (push) Successful in 24s
2026-10-03 16:16:58 +00:00
CSRBot ca22f6740d chore(deps): update update helm plugins to v1.2.1
Helm / helm-unittest (pull_request) Successful in 16s
Helm / helm-lint (pull_request) Successful in 7s
Helm / helm-unittest (push) Successful in 17s
Helm / helm-lint (push) Successful in 7s
2026-10-03 16:15:22 +00:00
CSRBot 12d2bb5ea9 Merge pull request 'chore(deps): update volker-raschek/ah-annotations action to v0.2.4' (#204) from renovate/volker-raschek-ah-annotations-0.x into master
Helm / helm-lint (push) Successful in 7s
Helm / helm-unittest (push) Successful in 30s
2026-09-30 07:23:37 +00:00
CSRBot bad8eb8181 chore(deps): update volker-raschek/ah-annotations action to v0.2.4
Helm / helm-lint (push) Successful in 11s
Helm / helm-unittest (push) Successful in 22s
Helm / helm-lint (pull_request) Successful in 13s
Helm / helm-unittest (pull_request) Successful in 20s
2026-09-30 07:22:35 +00:00
CSRBot bfac1b45a2 Merge pull request 'chore(deps): update oras-project/setup-oras action to v2.0.2' (#203) from renovate/oras-project-setup-oras-2.x into master
Helm / helm-lint (push) Successful in 12s
Helm / helm-unittest (push) Successful in 22s
2026-09-29 19:08:25 +00:00
CSRBot d51629af6d chore(deps): update oras-project/setup-oras action to v2.0.2
Helm / helm-lint (push) Successful in 8s
Helm / helm-unittest (push) Successful in 21s
Helm / helm-unittest (pull_request) Successful in 23s
Helm / helm-lint (pull_request) Successful in 7s
2026-09-29 19:07:05 +00:00
CSRBot 9b8cc3922d Merge pull request 'chore(deps): update docker.io/library/node docker tag to v26.10.0' (#202) from renovate/update-docker.iolibrarynode into master
Helm / helm-lint (push) Successful in 8s
Helm / helm-unittest (push) Successful in 14s
2026-09-22 22:04:54 +00:00
CSRBot d3c04e1b5e chore(deps): update docker.io/library/node docker tag to v26.10.0
Helm / helm-lint (push) Successful in 12s
Helm / helm-unittest (push) Successful in 14s
Helm / helm-lint (pull_request) Successful in 11s
Helm / helm-unittest (pull_request) Successful in 14s
2026-09-22 22:04:03 +00:00
CSRBot 5609942592 Merge pull request 'chore(deps): update docker.io/library/node docker tag to v26.9.0' (#201) from renovate/update-docker.iolibrarynode into master
Helm / helm-lint (push) Successful in 6s
Helm / helm-unittest (push) Successful in 28s
2026-09-17 01:04:36 +00:00
CSRBot 9d07f9092a chore(deps): update docker.io/library/node docker tag to v26.9.0
Helm / helm-lint (push) Successful in 11s
Helm / helm-unittest (push) Successful in 20s
Helm / helm-lint (pull_request) Successful in 11s
Helm / helm-unittest (pull_request) Successful in 17s
2026-09-17 01:03:51 +00:00
CSRBot fc579e3849 Merge pull request 'chore(deps): update actions/checkout action to v7' (#200) from renovate/actions-checkout-7.x into master
Helm / helm-lint (push) Successful in 12s
Helm / helm-unittest (push) Successful in 25s
2026-09-15 15:57:02 +00:00
CSRBot 7008ab149e Merge pull request 'chore(deps): update volker-raschek/ah-annotations action to v0.2.3' (#199) from renovate/volker-raschek-ah-annotations-0.x into master
Helm / helm-lint (push) Successful in 11s
Helm / helm-unittest (push) Successful in 25s
2026-09-15 15:54:20 +00:00
CSRBot ec8bf9b866 chore(deps): update actions/checkout action to v7
Helm / helm-unittest (push) Successful in 26s
Helm / helm-lint (pull_request) Successful in 12s
Helm / helm-lint (push) Successful in 11s
Helm / helm-unittest (pull_request) Successful in 17s
2026-09-15 15:30:06 +00:00
CSRBot b1b067ce25 chore(deps): update volker-raschek/ah-annotations action to v0.2.3
Helm / helm-lint (push) Successful in 11s
Helm / helm-unittest (push) Successful in 26s
Helm / helm-lint (pull_request) Successful in 12s
Helm / helm-unittest (pull_request) Successful in 24s
2026-09-15 15:27:55 +00:00
volker.raschek fe9818d92b revert(ci): enable upload of helm signature file
Helm / helm-lint (push) Successful in 12s
Helm / helm-unittest (push) Successful in 18s
This reverts commit 2cfe8ddb2c.
2026-09-15 13:07:30 +02:00
volker.raschek 2cfe8ddb2c fix(ci): enable upload of helm signature file
Helm / helm-lint (push) Successful in 12s
Helm / helm-unittest (push) Successful in 18s
Release / publish-chart (push) Failing after 2m5s
2026-09-15 12:53:49 +02:00
CSRBot 96d0a5abcc Merge pull request 'chore(deps): update dependency helm to v4.3.0' (#197) from renovate/helm-4.x into master
Helm / helm-unittest (push) Successful in 14s
Helm / helm-lint (push) Successful in 11s
2026-09-10 00:07:27 +00:00
CSRBot d1473b59e1 chore(deps): update dependency helm to v4.3.0
Helm / helm-unittest (push) Successful in 33s
Helm / helm-unittest (pull_request) Successful in 20s
Helm / helm-lint (push) Successful in 11s
Helm / helm-lint (pull_request) Successful in 8s
2026-09-10 00:06:34 +00:00
CSRBot 42d392605a Merge pull request 'chore(deps): update docker.io/library/node docker tag to v26.8.2' (#196) from renovate/update-docker.iolibrarynode into master
Helm / helm-lint (push) Successful in 9s
Helm / helm-unittest (push) Successful in 24s
2026-09-10 00:06:10 +00:00
CSRBot f55a350fbd chore(deps): update docker.io/library/node docker tag to v26.8.2
Helm / helm-lint (push) Successful in 11s
Helm / helm-unittest (push) Successful in 16s
Helm / helm-lint (pull_request) Successful in 11s
Helm / helm-unittest (pull_request) Successful in 15s
2026-09-10 00:05:22 +00:00
CSRBot f39b69cf8a Merge pull request 'chore(deps): update dependency oras-project/oras to v1.3.4' (#195) from renovate/oras-project-oras-1.x into master
Helm / helm-lint (push) Successful in 7s
Helm / helm-unittest (push) Successful in 25s
2026-08-27 21:05:20 +00:00
CSRBot 1717c06c93 chore(deps): update dependency oras-project/oras to v1.3.4
Helm / helm-lint (push) Successful in 11s
Helm / helm-unittest (push) Successful in 19s
Helm / helm-lint (pull_request) Successful in 11s
Helm / helm-unittest (pull_request) Successful in 15s
2026-08-27 21:04:30 +00:00
CSRBot 2e4b835722 Merge pull request 'chore(deps): update docker.io/library/node docker tag to v26.8.1' (#194) from renovate/update-docker.iolibrarynode into master
Helm / helm-unittest (push) Successful in 18s
Helm / helm-lint (push) Successful in 6s
2026-08-27 18:06:53 +00:00
CSRBot cc5be2ff10 chore(deps): update docker.io/library/node docker tag to v26.8.1
Helm / helm-lint (push) Successful in 11s
Helm / helm-unittest (push) Successful in 20s
Helm / helm-lint (pull_request) Successful in 13s
Helm / helm-unittest (pull_request) Successful in 17s
2026-08-27 18:06:02 +00:00
CSRBot 9b531133b8 Merge pull request 'chore(deps): update dependency losisin/helm-values-schema-json to v2.6.0' (#193) from renovate/update-helm-plugins into master
Helm / helm-lint (push) Successful in 14s
Helm / helm-unittest (push) Successful in 22s
2026-08-24 12:06:36 +00:00
CSRBot 50ee92487a chore(deps): update dependency losisin/helm-values-schema-json to v2.6.0
Helm / helm-lint (push) Successful in 15s
Helm / helm-lint (pull_request) Successful in 14s
Helm / helm-unittest (push) Successful in 1m11s
Helm / helm-unittest (pull_request) Successful in 50s
2026-08-24 12:05:04 +00:00
CSRBot 6edadecfe8 Merge pull request 'chore(deps): update volker-raschek/ah-annotations action to v0.2.2' (#192) from renovate/volker-raschek-ah-annotations-0.x into master
Helm / helm-lint (push) Successful in 8s
Helm / helm-unittest (push) Successful in 13s
2026-08-20 15:05:10 +00:00
CSRBot 38f81bbbda chore(deps): update volker-raschek/ah-annotations action to v0.2.2
Helm / helm-lint (push) Successful in 11s
Helm / helm-unittest (push) Successful in 15s
Helm / helm-lint (pull_request) Successful in 12s
Helm / helm-unittest (pull_request) Successful in 15s
2026-08-20 15:04:25 +00:00
CSRBot 2616bbc07d Merge pull request 'chore(deps): update volker-raschek/ah-annotations action to v0.2.1' (#191) from renovate/volker-raschek-ah-annotations-0.x into master
Helm / helm-lint (push) Successful in 11s
Helm / helm-unittest (push) Successful in 13s
2026-08-19 06:05:47 +00:00
CSRBot 0d449ef5ae chore(deps): update volker-raschek/ah-annotations action to v0.2.1
Helm / helm-lint (push) Successful in 11s
Helm / helm-unittest (push) Successful in 18s
Helm / helm-lint (pull_request) Successful in 12s
Helm / helm-unittest (pull_request) Successful in 14s
2026-08-19 06:05:01 +00:00
CSRBot 29e900d32d Merge pull request 'chore(deps): update volker-raschek/ah-annotations action to v0.2.0' (#190) from renovate/volker-raschek-ah-annotations-0.x into master
Helm / helm-lint (push) Successful in 6s
Helm / helm-unittest (push) Successful in 25s
2026-08-17 21:05:59 +00:00
CSRBot 42be4f664b chore(deps): update volker-raschek/ah-annotations action to v0.2.0
Helm / helm-lint (push) Successful in 11s
Helm / helm-unittest (push) Successful in 19s
Helm / helm-lint (pull_request) Successful in 12s
Helm / helm-unittest (pull_request) Successful in 18s
2026-08-17 21:05:08 +00:00
CSRBot b88c651333 Merge pull request 'chore(deps): pin volker-raschek/ah-annotations action to d5154c8' (#189) from renovate/pin-dependencies into master
Helm / helm-lint (push) Successful in 6s
Helm / helm-unittest (push) Successful in 27s
2026-08-16 21:09:23 +00:00
CSRBot e5c35ae783 chore(deps): pin volker-raschek/ah-annotations action to d5154c8
Helm / helm-lint (push) Successful in 8s
Helm / helm-lint (pull_request) Successful in 12s
Helm / helm-unittest (push) Successful in 22s
Helm / helm-unittest (pull_request) Successful in 29s
2026-08-16 21:05:52 +00:00
volker.raschek 3047c7cc73 chore(deps): update action volker-raschek/ah-annotations to v0.1.2
Helm / helm-lint (push) Successful in 7s
Helm / helm-unittest (push) Successful in 29s
Release / publish-chart (push) Successful in 3m15s
2026-08-16 22:31:01 +02:00
volker.raschekandCopilot a10b2801d2 refactor(ci): replace inline annotation script with ah-annotations action
Helm / helm-lint (push) Successful in 7s
Helm / helm-unittest (push) Successful in 28s
Release / publish-chart (push) Successful in 2m56s
Remove the local add-annotations.sh script and the inline tag detection
logic from the release workflow. Use the reusable GitHub Action
volker-raschek/ah-annotations@v0.1.1 which handles tag detection and
changelog generation internally.

Co-authored-by: Copilot <copilot@github.com>
2026-08-16 21:58:47 +02:00
9 changed files with 51 additions and 172 deletions

No files matched your search

-133
View File
@@ -1,133 +0,0 @@
#!/bin/bash
# ============================================================================
# Generate ArtifactHub changelog annotations from git commit history
# ============================================================================
set -euo pipefail
readonly CHART_FILE="Chart.yaml"
readonly RC_PATTERN="\-rc([-\.][0-9]+)?$"
CHANGE_LOG_YAML=""
cleanup() {
if [[ -n "${CHANGE_LOG_YAML:-}" && -f "${CHANGE_LOG_YAML}" ]]; then
rm -f "${CHANGE_LOG_YAML}"
fi
}
trap cleanup EXIT
if [[ ! -f "${CHART_FILE}" ]]; then
echo "ERROR: ${CHART_FILE} not found!" >&2
exit 1
fi
# Exclude prerelease tags (matching -rc or -rc.<digits>) from default tag selection
DEFAULT_NEW_TAG="$(git tag --sort=-version:refname | grep --invert-match --perl-regexp "${RC_PATTERN}" | head --lines 1)"
DEFAULT_OLD_TAG="$(git tag --sort=-version:refname | grep --invert-match --perl-regexp "${RC_PATTERN}" | head --lines 2 | tail --lines 1)"
if [[ -z "${1:-}" ]]; then
read -rp "Enter start tag [${DEFAULT_OLD_TAG}]: " OLD_TAG
if [[ -z "${OLD_TAG}" ]]; then
OLD_TAG="${DEFAULT_OLD_TAG}"
fi
while [[ -z "$(git tag --list "${OLD_TAG}")" ]]; do
echo "ERROR: Tag '${OLD_TAG}' not found!" >&2
read -rp "Enter start tag [${DEFAULT_OLD_TAG}]: " OLD_TAG
if [[ -z "${OLD_TAG}" ]]; then
OLD_TAG="${DEFAULT_OLD_TAG}"
fi
done
else
OLD_TAG="${1}"
if [[ -z "$(git tag --list "${OLD_TAG}")" ]]; then
echo "ERROR: Tag '${OLD_TAG}' not found!" >&2
exit 1
fi
fi
if [[ -z "${2:-}" ]]; then
read -rp "Enter end tag [${DEFAULT_NEW_TAG}]: " NEW_TAG
if [[ -z "${NEW_TAG}" ]]; then
NEW_TAG="${DEFAULT_NEW_TAG}"
fi
while [[ -z "$(git tag --list "${NEW_TAG}")" ]]; do
echo "ERROR: Tag '${NEW_TAG}' not found!" >&2
read -rp "Enter end tag [${DEFAULT_NEW_TAG}]: " NEW_TAG
if [[ -z "${NEW_TAG}" ]]; then
NEW_TAG="${DEFAULT_NEW_TAG}"
fi
done
else
NEW_TAG="${2}"
if [[ -z "$(git tag --list "${NEW_TAG}")" ]]; then
echo "ERROR: Tag '${NEW_TAG}' not found!" >&2
exit 1
fi
fi
if [[ "${NEW_TAG}" =~ ${RC_PATTERN} ]]; then
echo "INFO: Tag '${NEW_TAG}' is a prerelease, setting prerelease annotation and skipping changelog."
yq --no-colors --inplace ".annotations.\"artifacthub.io/prerelease\" = \"true\" | sort_keys(.)" "${CHART_FILE}"
exit 0
fi
CHANGE_LOG_YAML="$(mktemp)"
echo "[]" > "${CHANGE_LOG_YAML}"
map_type_to_kind() {
case "${1}" in
feat)
echo "added"
;;
fix)
echo "fixed"
;;
chore|style|test|ci|docs|refac)
echo "changed"
;;
revert)
echo "removed"
;;
sec)
echo "security"
;;
*)
echo "skip"
;;
esac
}
COMMIT_TITLES="$(git log --pretty=format:"%s" "${OLD_TAG}..${NEW_TAG}")"
echo "INFO: Generate change log entries from ${OLD_TAG} until ${NEW_TAG}"
while IFS= read -r line; do
if [[ "${line}" =~ ^([a-zA-Z]+)(\([^\)]+\))?\:\ (.+)$ ]]; then
TYPE="${BASH_REMATCH[1]}"
KIND="$(map_type_to_kind "${TYPE}")"
if [[ "${KIND}" == "skip" ]]; then
continue
fi
DESC="${BASH_REMATCH[3]}"
echo "- ${KIND}: ${DESC}"
jq --arg kind "${KIND}" --arg description "${DESC}" '. += [ $ARGS.named ]' < "${CHANGE_LOG_YAML}" > "${CHANGE_LOG_YAML}.new"
mv "${CHANGE_LOG_YAML}.new" "${CHANGE_LOG_YAML}"
fi
done <<< "${COMMIT_TITLES}"
if [[ -s "${CHANGE_LOG_YAML}" ]]; then
yq --inplace --input-format json --output-format yml "${CHANGE_LOG_YAML}"
yq --no-colors --inplace ".annotations.\"artifacthub.io/changes\" |= loadstr(\"${CHANGE_LOG_YAML}\") | sort_keys(.)" "${CHART_FILE}"
else
echo "ERROR: Changelog file is empty: ${CHANGE_LOG_YAML}" >&2
exit 1
fi
+3 -3
View File
@@ -10,15 +10,15 @@ jobs:
name: "Upload artifacthub-repo.yml to OCI registry"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0
with:
registry: ${{ github.server_url }}
username: ${{ github.repository_owner }}
password: ${{ secrets.GIT_CRYPTIC_SYSTEMS_PACKAGE_REGISTRY_TOKEN }}
- uses: oras-project/setup-oras@1d808f7d7f6995cc68b7bf507bfe5c5446e1dc9d # v2.0.1
- uses: oras-project/setup-oras@005458ad77f1c8facd38a094e4af2e69e5607ff4 # v2.0.2
with:
version: 1.3.3 # renovate: datasource=github-tags depName=oras-project/oras extractVersion='^v?(?<version>.*)$'
version: 1.3.4 # renovate: datasource=github-tags depName=oras-project/oras extractVersion='^v?(?<version>.*)$'
- name: Extract meta information
run: |
echo "GITEA_SERVER_HOSTNAME=$(echo "${GITHUB_SERVER_URL}" | cut -d '/' -f 3)" >> $GITHUB_ENV
+2 -2
View File
@@ -15,14 +15,14 @@ on:
jobs:
generate-parameters:
container:
image: docker.io/library/node:26.7.0-alpine
image: docker.io/library/node:26.12.0-alpine
runs-on: ubuntu-latest
steps:
- name: Install tooling
run: |
apk update
apk add git npm
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Generate parameter section in README
run: |
npm install
+4 -4
View File
@@ -14,10 +14,10 @@ jobs:
helm-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: azure/setup-helm@9bc31f4ebc9c6b171d7bfbaa5d006ae7abdb4310 # v5.0.1
with:
version: v4.2.4 # renovate: datasource=github-releases depName=helm/helm
version: v4.3.1 # renovate: datasource=github-releases depName=helm/helm
- name: Lint helm files
run: |
helm lint --values values.yaml .
@@ -25,10 +25,10 @@ jobs:
helm-unittest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: azure/setup-helm@9bc31f4ebc9c6b171d7bfbaa5d006ae7abdb4310 # v5.0.1
with:
version: v4.2.4 # renovate: datasource=github-releases depName=helm/helm
version: v4.3.1 # renovate: datasource=github-releases depName=helm/helm
- env:
HELM_UNITTEST_VERSION: v1.0.0 #renovate: datasource=github-releases depName=helm-unittest/helm-unittest
name: Install helm-unittest
+4 -4
View File
@@ -15,14 +15,14 @@ on:
jobs:
markdown-link-checker:
container:
image: docker.io/library/node:26.7.0-alpine
image: docker.io/library/node:26.12.0-alpine
runs-on: ubuntu-latest
steps:
- name: Install tooling
run: |
apk update
apk add git npm
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Verify links in markdown files
run: |
npm install
@@ -30,14 +30,14 @@ jobs:
markdown-lint:
container:
image: docker.io/library/node:26.7.0-alpine
image: docker.io/library/node:26.12.0-alpine
runs-on: ubuntu-latest
steps:
- name: Install tooling
run: |
apk update
apk add git
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Lint markdown files
run: |
npm install
+14 -25
View File
@@ -20,13 +20,13 @@ jobs:
- uses: azure/setup-helm@9bc31f4ebc9c6b171d7bfbaa5d006ae7abdb4310 # v5.0.1
with:
version: "v4.2.4" # renovate: datasource=github-tags depName=helm/helm
version: "v4.3.1" # renovate: datasource=github-tags depName=helm/helm
- name: Install helm plugins
env:
HELM_SIGSTORE_VERSION: "0.3.0" # renovate: datasource=github-tags depName=sigstore/helm-sigstore extractVersion='^v(?<version>\d+\.\d+\.\d+)$'
HELM_SCHEMA_VALUES_VERSION: "2.5.0" # renovate: datasource=github-tags depName=losisin/helm-values-schema-json extractVersion='^v(?<version>\d+\.\d+\.\d+)$'
HELM_UNITTEST_VERSION: "1.1.2" # renovate: datasource=github-tags depName=helm-unittest/helm-unittest extractVersion='^v(?<version>\d+\.\d+\.\d+)$'
HELM_SCHEMA_VALUES_VERSION: "2.6.0" # renovate: datasource=github-tags depName=losisin/helm-values-schema-json extractVersion='^v(?<version>\d+\.\d+\.\d+)$'
HELM_UNITTEST_VERSION: "1.2.1" # renovate: datasource=github-tags depName=helm-unittest/helm-unittest extractVersion='^v(?<version>\d+\.\d+\.\d+)$'
run: |
helm plugin install --verify=false https://github.com/sigstore/helm-sigstore.git --version "${HELM_SIGSTORE_VERSION}" 1> /dev/null
helm plugin install --verify=false https://github.com/losisin/helm-values-schema-json.git --version "${HELM_SCHEMA_VALUES_VERSION}" 1> /dev/null
@@ -65,16 +65,11 @@ jobs:
gpg --batch --yes --export "${GPG_PRIVATE_KEY_FINGERPRINT}" 1> "${HOME}/.gnupg/pubring.gpg"
gpg --batch --yes --passphrase-fd 0 --export-secret-keys "${GPG_PRIVATE_KEY_FINGERPRINT}" 1> "${HOME}/.gnupg/secring.gpg" <<< "${GPG_PRIVATE_KEY_PASSPHRASE}"
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0
- name: Add Artifacthub.io annotations
run: |
rc_pattern="\-rc([-\.][0-9]+)?$"
NEW_TAG="$(git tag --sort=-version:refname | grep --invert-match --perl-regexp "${rc_pattern}" | head --lines 1)"
OLD_TAG="$(git tag --sort=-version:refname | grep --invert-match --perl-regexp "${rc_pattern}" | head --lines 2 | tail --lines 1)"
.gitea/scripts/add-annotations.sh "${OLD_TAG}" "${NEW_TAG}"
- uses: volker-raschek/ah-annotations@5b4361f7865c1e71a9ce2263df1c780871e0fee8 # v0.2.4
- name: Extract meta information
run: |
@@ -122,21 +117,15 @@ jobs:
--upload-file "${REPOSITORY_NAME}-${PACKAGE_VERSION}.tgz" \
https://${GITEA_SERVER_HOSTNAME}/api/packages/${REPOSITORY_OWNER}/helm/api/charts
# NOTE:
# Gitea does currently not support uploading Helm chart provenance files, so we skip this step for now. Once
# Gitea supports this, we can simply uncomment the following lines to upload the provenance file as well.
#
# https://github.com/helm/helm/issues/31866
#
# if [ -f "${REPOSITORY_NAME}-${PACKAGE_VERSION}.tgz.prov" ]; then
# curl \
# --fail \
# --show-error \
# --request POST \
# --user "${CHARTMUSEUM_USERNAME}:${CHARTMUSEUM_PASSWORD}" \
# --upload-file "${REPOSITORY_NAME}-${PACKAGE_VERSION}.tgz.prov" \
# https://${GITEA_SERVER_HOSTNAME}/api/packages/${REPOSITORY_OWNER}/helm/api/prov
# fi
if [ -f "${REPOSITORY_NAME}-${PACKAGE_VERSION}.tgz.prov" ]; then
curl \
--fail \
--show-error \
--request POST \
--user "${CHARTMUSEUM_USERNAME}:${CHARTMUSEUM_PASSWORD}" \
--upload-file "${REPOSITORY_NAME}-${PACKAGE_VERSION}.tgz.prov" \
https://${GITEA_SERVER_HOSTNAME}/api/packages/${REPOSITORY_OWNER}/helm/api/prov
fi
- name: Upload Chart to Chartmuseum (Helm)
env:
+1 -1
View File
@@ -1,6 +1,6 @@
{
"yaml.schemas": {
"https://raw.githubusercontent.com/helm-unittest/helm-unittest/v1.1.2/schema/helm-testsuite.json": [
"https://raw.githubusercontent.com/helm-unittest/helm-unittest/v1.2.1/schema/helm-testsuite.json": [
"/unittests/**/*.yaml"
]
},
+4
View File
@@ -105,6 +105,10 @@ spec:
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.deployment.initContainers }}
initContainers:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.deployment.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
+19
View File
@@ -129,6 +129,9 @@ tests:
- notExists:
path: spec.template.spec.imagePullSecrets
template: templates/deployment.yaml
- notExists:
path: spec.template.spec.initContainers
template: templates/deployment.yaml
- notExists:
path: spec.template.spec.nodeSelector
template: templates/deployment.yaml
@@ -463,6 +466,22 @@ tests:
- name: my-special-secret
template: templates/deployment.yaml
- it: Test initContainers
set:
# Ensure that the secrets and config maps are well configured.
# Normal test values
deployment.initContainers:
- name: busybox
image: docker.io/library/busybox:latest
asserts:
- contains:
path: spec.template.spec.initContainers
content:
name: busybox
image: docker.io/library/busybox:latest
template: templates/deployment.yaml
- it: Test nodeSelector
set:
# Ensure that the secrets and config maps are well configured.