-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdeploy.yml
More file actions
33 lines (27 loc) · 946 Bytes
/
deploy.yml
File metadata and controls
33 lines (27 loc) · 946 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# npm install -g @udx/worker-deployment
# worker config
# worker run
---
kind: workerDeployConfig
version: udx.io/worker-v1/deploy
config:
# Docker image to run
image: "usabilitydynamics/udx-worker:latest"
env:
TEST_ENV_SECRET: "gcp/rabbit-ci-dev/worker-secret-test"
TEST_ENV_JSON_KEY: "gcp/rabbit-ci-dev/worker-secret-json-key"
# Volume mounts (optional)
# Format: "host_path:container_path" or "host_path:container_path:ro"
# volumes:
# - "./worker.yaml:/home/udx/.config/worker/worker.yaml"
# Ports to expose (optional)
# ports:
# - "80:80"
# Command to run (optional - if not specified, uses container default)
# Tip: keep command to the executable and put complex values in args
# command: "/usr/local/bin/init.sh"
# args:
# - "--example-flag"
# Service account impersonation (requires gcloud auth on host)
service_account:
email: "worker-site@rabbit-ci-dev.iam.gserviceaccount.com"