skill päivitetty! uusi conventio cunsumer pipeline toteutukseen
CI Feature / Load example-gitea-env.conf to pipeline env (push) Successful in 19s
acc-tests Link to Cucumber reports
CI Feature / Cucumber tests (push) Successful in 1m12s
unit-tests Link to Bats reports
CI Feature / Bats tests (push) Successful in 1m37s
CI Feature / Report Summary (push) Successful in 5s

This commit is contained in:
moilanik
2026-06-18 10:37:37 +03:00
parent cf71134b75
commit 0f371adafa
3 changed files with 107 additions and 50 deletions
-13
View File
@@ -28,19 +28,6 @@ while IFS= read -r -d '' d; do
[ -f "$d/index.html" ] && SUBDIRS+=("$name")
done < <(find "$REPORT_DIR" -maxdepth 1 -type d ! -name . -print0 2>/dev/null || true)
echo "DEBUG[ci-report]: REPORT_DIR=$REPORT_DIR" >&2
echo "DEBUG[ci-report]: files found (${#FILES[@]}): ${FILES[*]:-}" >&2
echo "DEBUG[ci-report]: subdirs with index.html (${#SUBDIRS[@]}): ${SUBDIRS[*]:-}" >&2
echo "DEBUG[ci-report]: TOTAL=$(( ${#FILES[@]} + ${#SUBDIRS[@]} ))" >&2
echo "DEBUG[ci-report]: ls -la $REPORT_DIR/:" >&2
find "$REPORT_DIR" -maxdepth 2 -not -path '*/\.*' 2>/dev/null | while IFS= read -r p; do
if [ -f "$p" ]; then
echo " FILE $(basename "$p")" >&2
elif [ -d "$p" ] && [ "$p" != "$REPORT_DIR" ]; then
echo " DIR $(basename "$p")/ has-index.html=$([ -f "$p/index.html" ] && echo YES || echo NO)" >&2
fi
done
TOTAL=$(( ${#FILES[@]} + ${#SUBDIRS[@]} ))
if [ "$TOTAL" -eq 0 ]; then