helm chart build & push
CI Git-Pages Main / Load git-pages.gitea-env.conf to pipeline env (push) Successful in 30s
CI Git-Pages Main / Report Summary (push) Successful in 4s
acc-tests Cucumber test report
CI Feature / Load example-gitea-env.conf to pipeline env (push) Successful in 24s
CI Git-Pages Main / Check existing artifact (push) Failing after 15s
CI Git-Pages Main / Build & Push Helm chart (push) Has been skipped
CI Feature / Cucumber tests (push) Successful in 1m1s
unit-tests Bats test report
CI Feature / Bats tests (push) Successful in 1m29s
CI Feature / Report Summary (push) Successful in 4s

This commit is contained in:
moilanik
2026-06-19 07:25:09 +03:00
parent 15e8cdc562
commit a731b62a52
7 changed files with 782 additions and 505 deletions
+3 -3
View File
@@ -33,6 +33,8 @@ jobs:
if [ -n "${VERSION_FILE}" ]; then
if echo "${VERSION_FILE}" | grep -q '\.json$'; then
RAW_VERSION=$(jq -r '.version' "${VERSION_FILE}")
elif echo "${VERSION_FILE}" | grep -q -E '\.ya?ml$'; then
RAW_VERSION=$(grep -oP '^version:\s*\K\S+' "${VERSION_FILE}")
else
RAW_VERSION=$(cat "${VERSION_FILE}" | tr -d '[:space:]')
fi
@@ -42,10 +44,8 @@ jobs:
RAW_VERSION=$(jq -r '.version' package.json)
elif [ -f pom.xml ]; then
RAW_VERSION=$(grep -oP '<version>\K[^<]+' pom.xml | head -1)
elif [ -f Chart.yaml ]; then
RAW_VERSION=$(grep -oP '^version:\s*\K\S+' Chart.yaml)
else
echo "ERROR: No VERSION file, package.json, pom.xml, or Chart.yaml found" >&2
echo "ERROR: No VERSION file, package.json, Chart.yaml or pom.xml found" >&2
exit 1
fi
BASE_VERSION=$(echo "$RAW_VERSION" | cut -d'.' -f1-2)