blob: dc72ef28124bef3eee28925a51dc1391f56e6416 [file] [log] [blame]
giolekvab49feed2020-05-13 22:01:16 +04001#!/bin/bash
2
3set -e
4
5trap "exit" INT TERM ERR
6trap "kill 0" EXIT
7
8kubectl -n dgraph port-forward svc/dgraph-alpha 8080 &
9sleep 1
10curl -X POST http://localhost:8080/admin/schema -d 'enum EventState { NEW PROCESSING DONE } type Ignore { x: Int }'