Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
maddyblue committed Mar 16, 2023
1 parent 6806ae3 commit 72833ad
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 85 deletions.
1 change: 0 additions & 1 deletion .gcloudignore

This file was deleted.

18 changes: 1 addition & 17 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,5 @@
# sqlfmt

Experimental SQL formatter with width-aware output

Based on http://homepages.inf.ed.ac.uk/wadler/papers/prettier/prettier.pdf.

Requires having the master branch of https://github.com/cockroachdb/cockroach checked out at `$GOPATH/src/github.com/cockroachdb/cockroach`, and running `make` in that directory.

# Deployment

To deploy:

1. Ensure your kubectl creds for the desired cluster are present.
* See https://github.com/cockroachlabs/h2hello
2. Run `./build.sh`
3. If everything went well, kill current pods so they will be redeployed from the new docker image:
`kubectl get po | grep sqlfmt | awk '{print $1}' | xargs kubectl delete pod`
* Note that this will work only if your branch is the same branch used by
the service. You can use the below command to set the image:
* `kubectl set image deployment/sqlfmt sqlfmt=gcr.io/cockroach-dev-inf/cockroachlabs/sqlfmt:master`

Note that step 8 will only work if you're on the master branch.
8 changes: 0 additions & 8 deletions build.sh

This file was deleted.

10 changes: 0 additions & 10 deletions cloudbuild.yaml

This file was deleted.

49 changes: 0 additions & 49 deletions sqlfmt.yaml

This file was deleted.

0 comments on commit 72833ad

Please sign in to comment.