Skip to content

Commit 0e868ea

Browse files
authored
Merge pull request #10 from jonico/new-directory-structure
Adjust pointers to new directory structure
2 parents 505194d + 10295d0 commit 0e868ea

File tree

2 files changed

+26
-7
lines changed

2 files changed

+26
-7
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#!/bin/bash
2+
export ORG_NAME="jonico"
3+
echo "::set-output name=ORG_NAME::jonico"
4+
5+
export DB_NAME="matrix-demos-jonico"
6+
echo "::set-output name=DB_NAME::matrix-demos-jonico"
7+
8+
export BRANCH_NAME="new-directory-structure"
9+
echo "::set-output name=BRANCH_NAME::new-directory-structure"
10+
11+
export DEPLOY_REQUEST_NUMBER="2"
12+
echo "::set-output name=DEPLOY_REQUEST_NUMBER::2"
13+
14+
export DEPLOY_REQUEST_URL="https://app.planetscale.com/jonico/matrix-demos-jonico/deploy-requests/2"
15+
echo "::set-output name=DEPLOY_REQUEST_URL::https://app.planetscale.com/jonico/matrix-demos-jonico/deploy-requests/2"
16+
17+
export BRANCH_URL="https://app.planetscale.com/jonico/matrix-demos-jonico/new-directory-structure"
18+
echo "::set-output name=BRANCH_URL::https://app.planetscale.com/jonico/matrix-demos-jonico/new-directory-structure"
19+

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ Ever wanted to accomplish a complex database workflow with [pscale CLI](https://
55
![image](https://user-images.githubusercontent.com/1872314/144895567-85937eb8-25eb-4066-9863-8e834a108127.png)
66

77
This is a collection of helper scripts around the PlanetScale CLI to synchronously
8-
* [wait for branch creation to be completed](wait-for-branch-readiness.sh)
9-
* [wait for deploy requests to be successfully merged](wait-for-deploy-request-merged.sh) (and get an update on the current migration status)
10-
* [DB connection string creation/parsing and extending scope of service tokens](create-database.sh)
11-
* examples on how create branches and deploy requests ([branches](add-operation-column-and-index.sh), [credentials](create-database.sh), [deploy requests](merge-latest-open-deploy-request.sh))
12-
* [creating one-time links](https://github.com/jonico/pscale-cli-helper-scripts/blob/main/create-branch-connection-string.sh) with connection info for feature branches that correspond to your preview environments
13-
* [run pscale from a Docker container](https://github.com/jonico/pscale-cli-helper-scripts/blob/main/use-pscale-docker-image.sh) and still use your local config files, service tokens and port forwarding
14-
* [delete databases](https://github.com/jonico/pscale-cli-helper-scripts/blob/main/remove-database.sh)
8+
* [wait for branch creation to be completed](.pscale/cli-helper-scripts/wait-for-branch-readiness.sh)
9+
* [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)
10+
* [DB connection string creation/parsing and extending scope of service tokens](.pscale/cli-helper-scripts/create-database.sh)
11+
* examples on how create branches and deploy requests ([branches](.pscale/cli-helper-scripts/add-operation-column-and-index.sh), [credentials](.pscale/cli-helper-scripts/create-database.sh), [deploy requests](.pscale/cli-helper-scripts/merge-latest-open-deploy-request.sh))
12+
* [creating one-time links](.pscale/cli-helper-scripts/create-branch-connection-string.sh) with connection info for feature branches that correspond to your preview environments
13+
* [run pscale from a Docker container](.pscale/cli-helper-scripts/use-pscale-docker-image.sh) and still use your local config files, service tokens and port forwarding
14+
* [delete databases](.pscale/cli-helper-scripts/remove-database.sh)
1515

1616
### Examples from the community how to make use of those pscale workflows
1717

0 commit comments

Comments
 (0)