Compare commits

..

3 Commits

Author SHA1 Message Date
volker.raschek d3e7543814 fix(httpRoute): avoid Argo CD drift
Helm / helm-lint (push) Successful in 6s
Helm / helm-unittest (push) Successful in 15s
Release / publish-chart (push) Successful in 2m18s
The following patch avoids a drift in Argo CD. Argo CD detects the missing
`group` of the backendRef.
2026-06-01 22:45:23 +02:00
volker.raschek eb907f6b8a fix(ci): respect rc pattern
Helm / helm-lint (push) Successful in 12s
Helm / helm-unittest (push) Successful in 14s
Release / publish-chart (push) Successful in 1m51s
2026-06-01 22:35:55 +02:00
volker.raschek 2237090669 fix(scripts): adapt regexp for release candidates
Helm / helm-lint (push) Successful in 6s
Helm / helm-unittest (push) Successful in 15s
Release / publish-chart (push) Successful in 2m30s
2026-06-01 22:12:37 +02:00
4 changed files with 9 additions and 6 deletions
+3 -3
View File
@@ -1,6 +1,6 @@
#!/bin/bash
set -e
set -eo pipefail
CHART_FILE="Chart.yaml"
if [ ! -f "${CHART_FILE}" ]; then
@@ -8,9 +8,9 @@ if [ ! -f "${CHART_FILE}" ]; then
exit 1
fi
rc_pattern='-rc(\.[0-9]+)?$'
rc_pattern="\-rc([-\.][0-9]+)?$"
# Exclude prerelease tags (matching -rc or -rc-<digits>) from default tag selection
# 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)"
+3 -2
View File
@@ -71,8 +71,9 @@ jobs:
- name: Add Artifacthub.io annotations
run: |
NEW_TAG="$(git tag --sort=-version:refname | head -n 1)"
OLD_TAG="$(git tag --sort=-version:refname | head -n 2 | tail -n 1)"
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}"
- name: Extract meta information
+2 -1
View File
@@ -24,7 +24,8 @@ spec:
{{- end }}
rules:
- backendRefs:
- kind: Service
- group: ''
kind: Service
name: {{ include "athens-proxy.service.name" . }}
namespace: {{ .Release.Namespace }}
port: {{ .Values.service.port }}
+1
View File
@@ -92,6 +92,7 @@ tests:
- contains:
path: spec.rules[0].backendRefs
content:
group: ''
kind: Service
name: athens-proxy-unittest
namespace: testing