This generates the transcript and shows the caption experience on the client side for media particles. It also simplifies other side effects that we must perform such as updating the `last_child_created_at` field for stream and container particles.
18 lines
555 B
YAML
18 lines
555 B
YAML
apiVersion: batch/v1
|
|
kind: Job
|
|
metadata:
|
|
name: migrations
|
|
spec:
|
|
template:
|
|
spec:
|
|
containers:
|
|
- name: migrations
|
|
image: migrations
|
|
command: ["migrate"]
|
|
args: ["-path", "/migrations", "-database", "$(LLINK_POSTGRES_CONNECTION_URL)", "up"]
|
|
env:
|
|
- name: "LLINK_POSTGRES_CONNECTION_URL"
|
|
value: "postgresql://neondb_owner:npg_ysiLkYo3Ez9G@ep-aged-feather-amfusyhe-pooler.c-5.us-east-1.aws.neon.tech/neondb?sslmode=require&channel_binding=require"
|
|
restartPolicy: Never
|
|
backoffLimit: 0
|