Gitiles
Code Review
Sign In
code.v1.dodo.cloud
/
pcloud
/
53a6bef48c985f5506e1c188145a9f231e389568
/
.
/
controller
/
bootstrap-schema.sh
blob: d258fe1cb44b265f206ca53cc6a1c5ecc5718822 [
file
] [
log
] [
blame
]
#!/bin/bash
# set -e
# trap "exit" INT TERM ERR
# trap "kill 0" EXIT
kubectl
-
n dgraph port
-
forward svc
/
dgraph
-
alpha
8080
&
sleep
1
curl
-
X POST http
://
localhost
:
8080
/
admin
/
schema
-
d
'enum EventState { NEW PROCESSING DONE } type Ignore { x: Int }'