-
Notifications
You must be signed in to change notification settings - Fork 0
/
build_istio_with_submodules.yaml
36 lines (29 loc) · 1.11 KB
/
build_istio_with_submodules.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
32
33
34
35
36
# To execute a build:
# gcloud container builds submit --config build_istio_release.yaml --no-source
steps:
- name: 'gcr.io/cloud-builders/git'
args: [ 'clone', '--recursive', 'https://github.com/rvkubiak/istio' ]
id: 'Sync from Github'
- name: 'gcr.io/cloud-builders/bazel'
args: [ '--output_user_root=/tmp/istio/auth/bazel_root', 'test', '--test_output=errors', '//...' ]
dir: 'istio/auth'
id: 'Test istio/auth'
#waitFor: 'Sync from Github'
- name: 'gcr.io/cloud-builders/bazel'
args: [ '--output_user_root=/tmp/istio/mixer/bazel_root', 'test', '--test_output=errors', '//...' ]
dir: 'istio/mixer'
id: 'Test istio/mixer'
#waitFor: 'Sync from Github'
- name: 'gcr.io/cloud-builders/bazel'
args: [ '--output_user_root=/tmp/istio/pilot/bazel_root', 'test', '--test_output=errors', '//...' ]
dir: 'istio/pilot'
id: 'Test istio/pilot'
#waitFor: 'Sync from Github'
- name: 'gcr.io/cloud-builders/bazel'
args: [ 'build', '//...' ]
id: 'Build Istio'
dir: 'istio'
- name: 'gcr.io/$PROJECT_ID/istio-builder'
args: [ 'bash', './release/create_release_archives.sh' ]
dir: 'istio'
timeout: 1800s