zed/server/migrate.yml
Nathan Sobo 1537500fcb Include contents of the zed-server repo
We're going full monorepo.

Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
2021-07-12 14:14:39 -06:00

18 lines
362 B
YAML

apiVersion: batch/v1
kind: Job
metadata:
name: migrate
spec:
template:
spec:
restartPolicy: Never
containers:
- name: migrator
image: registry.digitalocean.com/zed/zed-migrator
env:
- name: DATABASE_URL
valueFrom:
secretKeyRef:
name: database
key: url