demo: the tutorial's six steps as a weekly job against forgejo-warden's sandbox (#84) - #105
Merged
Merged
Conversation
…'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.
10 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #84.
scripts/demo.sh: cutsgovernance.tsout ofdocs/content/try-it/_index.mdand runs the six steps against warden's e2e stack (org and empty repo by API, dry run in--config-mode check, apply, drift byPATCH, dry run, apply), reading the wiki flag back after each apply. Run locally three times today, the last one from this page against forgejo-warden3e20374: all six held..github/workflows/demo.yml: Mondays andworkflow_dispatch, forgejo-warden pinned by full SHA, same shape ascorpus.yml.my-organd an emptyapifirst (warden never creates an org, andrepo-settingsruns beforerepo-baseline), the policy names that org, step 5 gives the API alternative, and the page links the workflow.typescriptinto the CLI, which reads__filename); fixed there and pinned here.