Compare commits

..

1 Commits

Author SHA1 Message Date
CSRBot 6889bed1dd chore(deps): update dependency helm/helm to v4.2.0
Helm / helm-lint (push) Successful in 11s
Helm / helm-unittest (push) Successful in 17s
Helm / helm-lint (pull_request) Successful in 13s
Helm / helm-unittest (pull_request) Successful in 16s
2026-05-31 19:23:45 +00:00
7 changed files with 12 additions and 17 deletions
+5 -7
View File
@@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
set -eo pipefail set -e
CHART_FILE="Chart.yaml" CHART_FILE="Chart.yaml"
if [ ! -f "${CHART_FILE}" ]; then if [ ! -f "${CHART_FILE}" ]; then
@@ -8,11 +8,9 @@ if [ ! -f "${CHART_FILE}" ]; then
exit 1 exit 1
fi fi
rc_pattern="\-rc([-\.][0-9]+)?$" # 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(-[0-9]+)?$' | head --lines 1)"
# Exclude prerelease tags (matching -rc or -rc.<digits>) from default tag selection DEFAULT_OLD_TAG="$(git tag --sort=-version:refname | grep --invert-match --perl-regexp '\-rc(-[0-9]+)?$' | head --lines 2 | tail --lines 1)"
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 if [ -z "${1}" ]; then
read -p "Enter start tag [${DEFAULT_OLD_TAG}]: " OLD_TAG read -p "Enter start tag [${DEFAULT_OLD_TAG}]: " OLD_TAG
@@ -58,7 +56,7 @@ else
fi fi
# Check if NEW_TAG is a prerelease (matches -rc or -rc-<digits> suffix) # Check if NEW_TAG is a prerelease (matches -rc or -rc-<digits> suffix)
if [[ "${NEW_TAG}" =~ ${rc_pattern} ]]; then if [[ "${NEW_TAG}" =~ -rc(-[0-9]+)?$ ]]; then
echo "INFO: Tag '${NEW_TAG}' is a prerelease, setting prerelease annotation and skipping changelog." 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}" yq --no-colors --inplace ".annotations.\"artifacthub.io/prerelease\" = \"true\" | sort_keys(.)" "${CHART_FILE}"
exit 0 exit 0
+1 -1
View File
@@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v6.0.2 - uses: actions/checkout@v6.0.2
- uses: docker/login-action@v4.2.0 - uses: docker/login-action@v4.1.0
with: with:
registry: ${{ github.server_url }} registry: ${{ github.server_url }}
username: ${{ github.repository_owner }} username: ${{ github.repository_owner }}
+1 -1
View File
@@ -15,7 +15,7 @@ on:
jobs: jobs:
generate-parameters: generate-parameters:
container: container:
image: docker.io/library/node:26.2.0-alpine image: docker.io/library/node:25.9.0-alpine
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Install tooling - name: Install tooling
+2 -2
View File
@@ -15,7 +15,7 @@ on:
jobs: jobs:
markdown-link-checker: markdown-link-checker:
container: container:
image: docker.io/library/node:26.2.0-alpine image: docker.io/library/node:25.9.0-alpine
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Install tooling - name: Install tooling
@@ -30,7 +30,7 @@ jobs:
markdown-lint: markdown-lint:
container: container:
image: docker.io/library/node:26.2.0-alpine image: docker.io/library/node:25.9.0-alpine
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Install tooling - name: Install tooling
+2 -3
View File
@@ -71,9 +71,8 @@ jobs:
- name: Add Artifacthub.io annotations - name: Add Artifacthub.io annotations
run: | run: |
rc_pattern="\-rc([-\.][0-9]+)?$" NEW_TAG="$(git tag --sort=-version:refname | head -n 1)"
NEW_TAG="$(git tag --sort=-version:refname | grep --invert-match --perl-regexp "${rc_pattern}" | head --lines 1)" OLD_TAG="$(git tag --sort=-version:refname | head -n 2 | tail -n 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}" .gitea/scripts/add-annotations.sh "${OLD_TAG}" "${NEW_TAG}"
- name: Extract meta information - name: Extract meta information
+1 -2
View File
@@ -24,8 +24,7 @@ spec:
{{- end }} {{- end }}
rules: rules:
- backendRefs: - backendRefs:
- group: '' - kind: Service
kind: Service
name: {{ include "athens-proxy.service.name" . }} name: {{ include "athens-proxy.service.name" . }}
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
port: {{ .Values.service.port }} port: {{ .Values.service.port }}
-1
View File
@@ -92,7 +92,6 @@ tests:
- contains: - contains:
path: spec.rules[0].backendRefs path: spec.rules[0].backendRefs
content: content:
group: ''
kind: Service kind: Service
name: athens-proxy-unittest name: athens-proxy-unittest
namespace: testing namespace: testing