File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11stages :
22 - verify
33 - build
4+ - approve
45 - publish
56
67verify_release_projection :
78 stage : verify
8- image : node:24-alpine
99 script :
1010 - node --version
11- - npm ci
1211 - npm run verify
1312
1413generate_wiki_projection :
1514 stage : build
16- image : python:3.12-alpine
1715 script :
1816 - python3 tools/handbook_to_wiki.py --root . --out .build/wiki
1917 - test -f .build/wiki/gitlab/home.md
@@ -27,16 +25,23 @@ generate_wiki_projection:
2725 - .build/wiki/
2826 expire_in : 7 days
2927
28+ approve_public_projection :
29+ stage : approve
30+ rules :
31+ - if : ' $CI_COMMIT_BRANCH == "release" && $CI_COMMIT_REF_PROTECTED == "true"'
32+ when : manual
33+ script :
34+ - echo "Manual approval gate before publishing public wiki projections."
35+
3036publish_wiki_projection :
3137 stage : publish
32- image : alpine:3.20
3338 needs :
3439 - job : generate_wiki_projection
3540 artifacts : true
41+ - job : approve_public_projection
3642 rules :
3743 - if : ' $CI_COMMIT_BRANCH == "release" && $CI_COMMIT_REF_PROTECTED == "true"'
3844 before_script :
39- - apk add --no-cache git curl bash python3
4045 - git config --global user.name "codex-hooks GitLab CI"
4146 - git config --global user.email "ci@codex-hooks.local"
4247 script :
You can’t perform that action at this time.
0 commit comments