Include contents of the zed-server repo

We're going full monorepo.

Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
This commit is contained in:
Nathan Sobo 2021-07-12 14:14:39 -06:00
parent 34abda3a04
commit 1537500fcb
99 changed files with 7206 additions and 75 deletions

17
script/deploy Executable file
View file

@ -0,0 +1,17 @@
#!/bin/bash
# Prerequisites:
#
# - Log in to the DigitalOcean docker registry
# doctl registry login
#
# - Set the default K8s context to production
# doctl kubernetes cluster kubeconfig save zed-1
set -e
IMAGE_ID=registry.digitalocean.com/zed/zed-server
docker build . --tag $IMAGE_ID
docker push $IMAGE_ID
kubectl rollout restart deployment zed