Skip to content

demo: the tutorial's six steps as a weekly job against forgejo-warden's sandbox (#84) - #105

Merged
lex00 merged 1 commit into
mainfrom
issue-84-demo
Sep 12, 2026
Merged

lex00 merged 1 commit into
mainfrom
issue-84-demo

Conversation

@lex00

@lex00 lex00 commented Sep 12, 2026

Copy link
Copy Markdown
Contributor

Closes #84.

  • scripts/demo.sh: cuts governance.ts out of docs/content/try-it/_index.md and runs the six steps against warden's e2e stack (org and empty repo by API, dry run in --config-mode check, apply, drift by PATCH, dry run, apply), reading the wiki flag back after each apply. Run locally three times today, the last one from this page against forgejo-warden 3e20374: all six held.
  • .github/workflows/demo.yml: Mondays and workflow_dispatch, forgejo-warden pinned by full SHA, same shape as corpus.yml.
  • Tutorial: the sandbox step creates my-org and an empty api first (warden never creates an org, and repo-settings runs before repo-baseline), the policy names that org, step 5 gives the API alternative, and the page links the workflow.
  • Running the job locally surfaced forgejo-warden#35 (the merged build bundled the reference and typescript into the CLI, which reads __filename); fixed there and pinned here.

…'s sandbox (#84)

scripts/demo.sh cuts governance.ts out of docs/content/try-it/_index.md
and runs the six steps against the e2e stack: org and empty repo by API,
dry run in --config-mode check, apply, drift by PATCH, dry run, apply,
with the repo's wiki flag read back after each apply. The page and the
job cannot say different things. demo.yml runs it on Mondays and on
dispatch, forgejo-warden pinned by SHA (3e20374, the build that folds
through the published reference), the same shape as corpus.yml.

The tutorial now creates the org and the repo first: warden keeps what
exists in a declared state and never creates an org, and repo-settings
runs before repo-baseline, so the page as written would have PATCHed a
repo that did not exist. The consumer roster says warden's loader is on
main.
@lex00
lex00 merged commit a9b845f into main Sep 12, 2026
2 checks passed
@lex00
lex00 deleted the issue-84-demo branch September 12, 2026 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Demo: the six-step tutorial against a local Forgejo, and the CI job that keeps it true

1 participant