You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14-3Lines changed: 14 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -2,11 +2,12 @@
2
2
3
3
📺 [Recording from live demo at PlanetScale Happy-Half-Hour](https://youtu.be/l3oe7srRUZw?t=610)
4
4
5
-
Ever wanted to accomplish a complex database workflow with [pscale CLI](https://github.com/planetscale/cli) and needed a way to automate asynchronous operations like [database branch](https://docs.planetscale.com/concepts/branching) creation or [schema change requests](https://planetscale.com/blog/building-planetscale-with-planetscale) merges? Interested in using the PlanetScale database branching, approval and merging features directly out of your pull/merge requests?
5
+
Ever wanted to accomplish a complex database workflow with [pscale CLI](https://github.com/planetscale/cli) and needed a way to automate operations like [database branch](https://docs.planetscale.com/concepts/branching) creation or [schema change requests](https://planetscale.com/blog/building-planetscale-with-planetscale) merges? Interested in using the PlanetScale database branching, approval and merging features directly out of your pull/merge requests?
This is a collection of helper scripts around the PlanetScale CLI to synchronously
9
+
This is a collection of helper scripts and building blocks around the PlanetScale CLI to
10
+
* control PlanetScale branches and deploy requests directly from your Pull Requests (see [IssueOps section](#issue-ops-based-workflows))
10
11
*[wait for branch creation to be completed](.pscale/cli-helper-scripts/wait-for-branch-readiness.sh)
11
12
*[wait for deploy requests to be successfully merged](.pscale/cli-helper-scripts/wait-for-deploy-request-merged.sh) (and get an update on the current migration status)
12
13
*[DB connection string creation/parsing and extending scope of service tokens](.pscale/cli-helper-scripts/create-database.sh)
@@ -17,6 +18,17 @@ This is a collection of helper scripts around the PlanetScale CLI to synchronous
17
18
18
19
## Issue-Ops based workflows
19
20
21
+
### Installation
22
+
23
+
To test out the IssueOps commands, either work on a [copy of this repo](https://github.com/jonico/pscale-cli-helper-scripts/generate) or run the following command in the root directory of your GitHub repo's workspace:
git commit -m "Add pscale helper scripts and IssueOps workflows"
29
+
git push
30
+
```
31
+
20
32
### /ps-create: Create PlanetScale Deploy Request from your PR
21
33
22
34
You can create a database branch and deploy request in an [already existing Pull Request](https://github.com/jonico/pscale-cli-helper-scripts/pull/2) using `/ps-create`:
@@ -54,7 +66,6 @@ Finally, you can delete the database branch associated with a Git branch using `
54
66
55
67
Stay tuned for updates and any feedbacks / PRs are welcome 😊
56
68
57
-
58
69
## Zero-setup Action workflows included :sparkles:
59
70
60
71
In case you like to see those helper scripts in action without any further manual configuration, just
0 commit comments