Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

checklist & prune script field #338

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
107 changes: 107 additions & 0 deletions CHECKLIST.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
# Platform Release Checklist

## Dev

- [ ] `./pear.dev sidecar shutdown`
davidmarkclements marked this conversation as resolved.
Show resolved Hide resolved
- [ ] `git pull`
- **Build Update?**
- [ ] NO: continue
- [ ] YES:
- [ ] `npm install`
- [ ] `npm run bootstrap -- --dlruntime`
- [ ] `rm -fr node_modules`
- [ ] `npm install --omit=dev`
- [ ] `npm run prune`
mafintosh marked this conversation as resolved.
Show resolved Hide resolved
- [ ] `./pear.dev sidecar` (own terminal)
- [ ] `./pear.dev seed dev` (own terminal)
- [ ] `./pear.dev stage --dry-run dev`
- **Dry Run Correct?**
- [ ] - NO: diagnose, correct, [restart](./CHECKLIST.md)
- [ ] - YES:
- [ ] - [ SECOND MACHINE ] `pear sidecar --key=[devkey]`
- [ ] - [ SECOND MACHINE ] `pear sidecar`
- **Version is latest?**
- [ ] NO: wait for update, then `pear sidecar`
- [ ] YES: continue
- [ ] - [ SECOND MACHINE ] Open Keet
- [ ] - `./pear.dev stage dev`
- **[ SECOND MACHINE ] Update observed in Sidecar and Keet?**
- [ ] - NO: diagnose, correct, [restart](./CHECKLIST.md)
- [ ] - YES:
- **[ SECOND MACHINE ] Platform Restart via Keet Button successful?**
- [ ] - NO: diagnose, correct, [restart](./CHECKLIST.md)
- [ ] - YES:
- [ ] - `pear sidecar` (own terminal)
- **System Pear is Latest `dev`?**
- [ ] - NO: diagnose, correct, if platform issue resolved, [restart](./CHECKLIST.md), if system issue resolved, continue to **Staging**
- [ ] - YES: continue to **Staging**

## Staging

- **Staging RC Versioned?**
- [ ] - NO:
- [ ] - `npm version <major.minor.patch-rc.n>`, `git push --follow-tags`
- [ ] - Complete Dev Checklists to update
- [ ] - `pear seed staging` (own terminal)
- [ ] - `pear dump <devkey> .`
- [ ] - `pear stage --dry-run staging`
- **Dry Run Correct?**
- [ ] - NO: diagnose, correct, [restart](./CHECKLIST.md)
- [ ] - YES:
- [ ] - [ SECOND MACHINE ] `pear sidecar --key=[stagekey]`
- [ ] - [ SECOND MACHINE ] `pear sidecar`
- **Version is latest?**
- [ ] NO: wait for update, then `pear sidecar`
- [ ] YES: continue
- [ ] - [ SECOND MACHINE ] Open Keet
- [ ] - `pear stage staging`
- **[ SECOND MACHINE ] Update observed in Sidecar and Keet?**
- [ ] - NO: diagnose, correct, [restart](./CHECKLIST.md)
- [ ] - YES:
- **[ SECOND MACHINE ] Platform Restart via Keet Button successful?**
- [ ] - NO: diagnose, correct, [restart](./CHECKLIST.md)
- [ ] - YES:
- [ ] - `pear sidecar` (own terminal)
- **System Pear is Latest `staging`?**
- [ ] - NO: diagnose, correct, if platform issue resolved, [restart](./CHECKLIST.md)
- [ ] - YES:
- **Only Changelog and/or Version update?**
- [ ] NO: await QA Approval then continue
- [ ] YES: continue

## Release-Candidate

- **Changelog Updated & Versioned?**
- [ ] - NO:
- [ ] - Update Changelog, `git push`
- [ ] - `npm version <major.minor.patch>`, `git push --follow-tags`
- [ ] - Complete Dev & Stage Checklists to update
- [ ] - `pear seed rc` (own terminal)
- [ ] - `pear dump <stagekey> .`
- [ ] - `pear stage --dry-run rc`
- **Dry Run Correct?**
- [ ] - NO: diagnose, correct, [restart](./CHECKLIST.md)
- [ ] - YES:
- [ ] - [ SECOND MACHINE ] `pear sidecar --key=[stagekey]`
- [ ] - [ SECOND MACHINE ] `pear sidecar`
- **Version is latest?**
- [ ] NO: wait for update, then `pear sidecar`
- [ ] YES: continue
- [ ] - [ SECOND MACHINE ] Open Keet
- [ ] - `pear stage staging`
- **[ SECOND MACHINE ] Update observed in Sidecar and Keet?**
- [ ] - NO: diagnose, correct, [restart](./CHECKLIST.md)
- [ ] - YES:
- **[ SECOND MACHINE ] Platform Restart via Keet Button successful?**
- [ ] - NO: diagnose, correct, [restart](./CHECKLIST.md)
- [ ] - YES:
- [ ] - `pear sidecar` (own terminal)
- **System Pear is Latest Release-Candidate?**
- [ ] - NO: diagnose, correct, if platform issue resolved, [restart](./CHECKLIST.md)
- [ ] - YES: await QA Approval then continue to **Production**

## Production

- **Has Drive Watcher triggered in Keet Multisig Room and have two stakeholders signed blobs and drive?**
- [ ] - NO: await stakeholder signing
- [ ] - YES: use signatures to write to production hypercore [ TODO: SPECIFIC STEPS ]
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"lint": "standard",
"lint:fix": "standard --fix",
"archdump": "node scripts/bootstrap.js --archdump",
"bootstrap": "node scripts/bootstrap.js"
"bootstrap": "node scripts/bootstrap.js",
"prune": "node scripts/prune-dual-prebuilds.mjs"
},
"author": "Holepunch",
"pear": {
Expand Down