-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathrun.yaml
31 lines (28 loc) · 822 Bytes
/
run.yaml
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
# Config for https://github.com/adrianchifor/run-marathon
project: your_project
region: your_region
allow-invoke:
- user:[email protected]
bigbucket-api:
dir: ..
image: gcr.io/${project}/bigbucket:latest
concurrency: 50
timeout: 30
env:
BUCKET: gs://your_bucket
iam-roles:
# Create/assign role manually if you want more granularity
# SA will be bigbucket-api-sa@your_project.iam.gserviceaccount.com
- roles/storage.objectAdmin
bigbucket-cleaner:
image: gcr.io/${project}/bigbucket:latest
max-instances: 1
cron:
schedule: 0 * * * *
env:
BUCKET: gs://your_bucket
CLEANER_HTTP: "true"
iam-roles:
# Create/assign role manually if you want more granularity
# SA will be bigbucket-cleaner-sa@your_project.iam.gserviceaccount.com
- roles/storage.objectAdmin