forked from GoogleContainerTools/distroless
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cloudbuild.yaml
123 lines (102 loc) · 4.64 KB
/
cloudbuild.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
timeout: 1800s
steps:
# Publishing base, cc, and static as latest is handled in a separate release process
- name: gcr.io/cloud-builders/bazel
args: ['run', '//base:static']
- name: gcr.io/cloud-builders/bazel
args: ['run', '//base:base']
- name: gcr.io/cloud-builders/bazel
args: ['run', '//base:debug']
- name: gcr.io/cloud-builders/docker
args: ['tag', 'bazel/base:debug', 'gcr.io/$PROJECT_ID/base:debug']
- name: gcr.io/cloud-builders/bazel
args: ['run', '//cc']
- name: gcr.io/cloud-builders/bazel
args: ['run', '//cc:debug']
- name: gcr.io/cloud-builders/docker
args: ['tag', 'bazel/cc:debug', 'gcr.io/$PROJECT_ID/cc:debug']
- name: gcr.io/cloud-builders/bazel
args: ['run', '//java:java8']
- name: gcr.io/cloud-builders/docker
args: ['tag', 'bazel/java:java8', 'gcr.io/$PROJECT_ID/java:latest']
- name: gcr.io/cloud-builders/docker
args: ['tag', 'bazel/java:java8', 'gcr.io/$PROJECT_ID/java:8']
- name: gcr.io/cloud-builders/bazel
args: ['run', '//java:java8_debug']
- name: gcr.io/cloud-builders/docker
args: ['tag', 'bazel/java:java8_debug', 'gcr.io/$PROJECT_ID/java:debug']
- name: gcr.io/cloud-builders/docker
args: ['tag', 'bazel/java:java8_debug', 'gcr.io/$PROJECT_ID/java:8-debug']
- name: gcr.io/cloud-builders/bazel
args: ['run', '//java:java11']
- name: gcr.io/cloud-builders/docker
args: ['tag', 'bazel/java:java11', 'gcr.io/$PROJECT_ID/java:11']
- name: gcr.io/cloud-builders/bazel
args: ['run', '//java:java11_debug']
- name: gcr.io/cloud-builders/docker
args: ['tag', 'bazel/java:java11_debug', 'gcr.io/$PROJECT_ID/java:11-debug']
- name: gcr.io/cloud-builders/bazel
args: ['run', '//java/jetty:jetty_java8']
- name: gcr.io/cloud-builders/docker
args: ['tag', 'bazel/java/jetty:jetty_java8', 'gcr.io/$PROJECT_ID/java/jetty:latest']
- name: gcr.io/cloud-builders/docker
args: ['tag', 'bazel/java/jetty:jetty_java8', 'gcr.io/$PROJECT_ID/java/jetty:java8']
- name: gcr.io/cloud-builders/bazel
args: ['run', '//java/jetty:jetty_java8_debug']
- name: gcr.io/cloud-builders/docker
args: ['tag', 'bazel/java/jetty:jetty_java8_debug', 'gcr.io/$PROJECT_ID/java/jetty:debug']
- name: gcr.io/cloud-builders/docker
args: ['tag', 'bazel/java/jetty:jetty_java8_debug', 'gcr.io/$PROJECT_ID/java/jetty:java8-debug']
- name: gcr.io/cloud-builders/bazel
args: ['run', '//experimental/python3:python3']
- name: gcr.io/cloud-builders/docker
args: ['tag', 'bazel/experimental/python3:python3', 'gcr.io/$PROJECT_ID/python3:latest']
- name: gcr.io/cloud-builders/bazel
args: ['run', '//experimental/python3:debug']
- name: gcr.io/cloud-builders/docker
args: ['tag', 'bazel/experimental/python3:debug', 'gcr.io/$PROJECT_ID/python3:debug']
- name: gcr.io/cloud-builders/bazel
args: ['run', '//experimental/python2.7:python27']
- name: gcr.io/cloud-builders/docker
args: ['tag', 'bazel/experimental/python2.7:python27', 'gcr.io/$PROJECT_ID/python2.7:latest']
- name: gcr.io/cloud-builders/bazel
args: ['run', '//experimental/python2.7:debug']
- name: gcr.io/cloud-builders/docker
args: ['tag', 'bazel/experimental/python2.7:debug', 'gcr.io/$PROJECT_ID/python2.7:debug']
- name: gcr.io/cloud-builders/bazel
args: ['run', '//experimental/nodejs']
- name: gcr.io/cloud-builders/docker
args: ['tag', 'bazel/experimental/nodejs:nodejs', 'gcr.io/$PROJECT_ID/nodejs:latest']
- name: gcr.io/cloud-builders/bazel
args: ['run', '//experimental/nodejs:debug']
- name: gcr.io/cloud-builders/docker
args: ['tag', 'bazel/experimental/nodejs:debug', 'gcr.io/$PROJECT_ID/nodejs:debug']
- name: gcr.io/cloud-builders/bazel
args: ['run', '//experimental/dotnet']
- name: gcr.io/cloud-builders/docker
args: ['tag', 'bazel/experimental/dotnet:dotnet', 'gcr.io/$PROJECT_ID/dotnet:latest']
- name: gcr.io/cloud-builders/bazel
args: ['run', '//experimental/dotnet:debug']
- name: gcr.io/cloud-builders/docker
args: ['tag', 'bazel/experimental/dotnet:debug', 'gcr.io/$PROJECT_ID/dotnet:debug']
images:
- 'gcr.io/$PROJECT_ID/base:debug'
- 'gcr.io/$PROJECT_ID/cc:debug'
- 'gcr.io/$PROJECT_ID/java:latest'
- 'gcr.io/$PROJECT_ID/java:8'
- 'gcr.io/$PROJECT_ID/java:debug'
- 'gcr.io/$PROJECT_ID/java:8-debug'
- 'gcr.io/$PROJECT_ID/java:11'
- 'gcr.io/$PROJECT_ID/java:11-debug'
- 'gcr.io/$PROJECT_ID/java/jetty:latest'
- 'gcr.io/$PROJECT_ID/java/jetty:java8'
- 'gcr.io/$PROJECT_ID/java/jetty:debug'
- 'gcr.io/$PROJECT_ID/java/jetty:java8-debug'
- 'gcr.io/$PROJECT_ID/python3:latest'
- 'gcr.io/$PROJECT_ID/python3:debug'
- 'gcr.io/$PROJECT_ID/python2.7:latest'
- 'gcr.io/$PROJECT_ID/python2.7:debug'
- 'gcr.io/$PROJECT_ID/nodejs:latest'
- 'gcr.io/$PROJECT_ID/nodejs:debug'
- 'gcr.io/$PROJECT_ID/dotnet:latest'
- 'gcr.io/$PROJECT_ID/dotnet:debug'