forked from istio/istio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcloud_build.template.json
41 lines (41 loc) · 1.15 KB
/
cloud_build.template.json
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
37
38
39
40
41
{
"steps": [
{
"volumes": [
{
"name": "buildoutput",
"path": "/output"
}
],
"name": "gcr.io/istio-testing/istio-builder:0.5.4",
"args": [ "-c", "repo init -u \"$_MFEST_URL\" -m \"$_MFEST_FILE\" -b \"$_MFEST_VER\" && repo sync && cp .repo/manifest.xml /output/ && echo \"$_MFEST_VER\" > /output/green_build_sha.txt" ],
"entrypoint": "bash"
},
{
"volumes": [
{
"name": "buildoutput",
"path": "/output"
}
],
"name": "gcr.io/istio-testing/istio-builder:0.5.4",
"dir": "go/src/istio.io/istio",
"args": [ "./release/cloud_builder.sh", "-p", "$_GCS_PATH", "-q", "$_GCR_PATH", "-t", "$_VER_STRING", "-o", "/output" ]
},
{
"volumes": [
{
"name": "buildoutput",
"path": "/output"
}
],
"name": "gcr.io/istio-testing/istio-builder:0.5.4",
"dir": "go/src/istio.io/istio",
"args": [ "./release/store_artifacts.sh", "-p", "$_GCS_PATH", "-q", "$_GCR_PATH", "-v", "$_VER_STRING", "-o", "/output", "-i", "$BUILD_ID" ]
}
],
"options": {
"machineType": "N1_HIGHCPU_8"
},
"timeout": "3600s",
}