-
Notifications
You must be signed in to change notification settings - Fork 441
Expand file tree
/
Copy pathcloudbuild_master.yaml
More file actions
36 lines (36 loc) · 1.23 KB
/
cloudbuild_master.yaml
File metadata and controls
36 lines (36 loc) · 1.23 KB
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
34
35
36
timeout: 1800s
substitutions:
_CLUSTER_NAME: trillian-opensource-ci
_MASTER_ZONE: us-central1-a
_MYSQL_TAG: "8.0"
_MYSQL_ROOT_PASSWORD: ""
_MYSQL_PASSWORD: ""
options:
machineType: E2_HIGHCPU_32
steps:
- id: build_db_server
name: gcr.io/kaniko-project/executor:v1.20.0
args:
- --dockerfile=examples/deployment/docker/db_server/Dockerfile
- --destination=gcr.io/${PROJECT_ID}/db_server:${COMMIT_SHA}
- --destination=gcr.io/${PROJECT_ID}/db_server:latest
- --cache=true
- --cache-dir= # Cache is in Google Container Registry
- id: build_log_server
name: gcr.io/kaniko-project/executor:v1.20.0
args:
- --dockerfile=examples/deployment/docker/log_server/Dockerfile
- --destination=gcr.io/${PROJECT_ID}/log_server:${COMMIT_SHA}
- --destination=gcr.io/${PROJECT_ID}/log_server:latest
- --cache=true
- --cache-dir= # Cache is in Google Container Registry
waitFor: ["-"]
- id: build_log_signer
name: gcr.io/kaniko-project/executor:v1.20.0
args:
- --dockerfile=examples/deployment/docker/log_signer/Dockerfile
- --destination=gcr.io/${PROJECT_ID}/log_signer:${COMMIT_SHA}
- --destination=gcr.io/${PROJECT_ID}/log_signer:latest
- --cache=true
- --cache-dir= # Cache is in Google Container Registry
waitFor: ["-"]