GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — ci: add consistency gate to validate stage [CUBEOS-44] · cubeos-app/.github@53c0b8a

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .gitlab-ci.yml
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.gitlab-ci.yml‎

Copy file name to clipboard
+39Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# =============================================================================
2+
# CubeOS dot-github Pipeline — Consistency check only
3+
# =============================================================================
4+
stages:
5+
- validate
6+
7+
# -----------------------------------------------------------------------------
8+
# CONSISTENCY CHECK — CubeOS critical rules gate (minimal: traceability only)
9+
# -----------------------------------------------------------------------------
10+
lint:consistency:
11+
stage: validate
12+
image: alpine:latest
13+
tags: [docker]
14+
variables:
15+
GIT_DEPTH: 50
16+
before_script:
17+
- apk add --no-cache git bash
18+
script:
19+
- |
20+
bash <<'CONSISTENCY_CHECK'
21+
WARNINGS=()
22+
if ! echo "$CI_COMMIT_MESSAGE" | grep -qE '\[CUBEOS-[0-9]+\]'; then
23+
if ! echo "$CI_COMMIT_MESSAGE" | grep -qE '^chore: bump version'; then
24+
WARNINGS+=("Traceability: commit has no [CUBEOS-XX] reference")
25+
fi
26+
fi
27+
echo ""
28+
echo "=== Consistency Check: dot-github ==="
29+
if [ ${#WARNINGS[@]} -gt 0 ]; then
30+
echo "WARNINGS (review recommended):"
31+
for w in "${WARNINGS[@]}"; do echo " [WARN] $w"; done
32+
else
33+
echo " All checks passed."
34+
fi
35+
echo "PASSED"
36+
CONSISTENCY_CHECK
37+
rules:
38+
- when: always
39+
allow_failure: true

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.