Suites publish and take up npm packages on Forgejo #157
No reviewers
Labels
No labels
bug
dependencies
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
invalid
question
queue
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
romaine-life/pipeline-templates!157
Loading…
Reference in a new issue
No description provided.
Delete branch "PIPT-32-npm-packages"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
PR 2 of 10. A release whose root package.json names an
@romaine-life/package publishes it to Forgejo's npm registry at the release's version, then sends a take-up PR to every fleet repo whose package.json uses it, found by reading their package.json files instead of fzt-browser's and string-box's hand-kept dispatch lists (removed from fleet.json). CI jobs read and publish packages with their own short-lived token through Forgejo's authorized integrations (nelsong6/forgejo#88); ci-check uses the token OpenBao signs for the PC (nelsong6/openbao#60); Docker builds get it as a build secret. Piloted on string-box: its v0.1.3 release published @romaine-life/string-box@0.1.3 with the job's own token. The old pinned-download staging stays only until landing-page, my-homepage and fzt-desktop move off it; a later PR removes it. https://openproject.home.romaine.life/wp/PIPT-32merge-queue stopped this at
d17fe78: conflicts with main. Push a fix, or once it is fixed outside this pull request, remove and re-add thequeuelabel.