@@ -7,8 +7,20 @@ _templates:
7
7
limit : 10
8
8
- exit_status : " *"
9
9
limit : 2
10
+ common_60_tl : &common_60_tl
11
+ timeout_in_minutes : 60
12
+ retry :
13
+ automatic :
14
+ - exit_status : -1
15
+ limit : 10
16
+ - exit_status : " *"
17
+ limit : 2
10
18
source_test : &source_test
11
19
if : build.env("STAGED_BINARIES") == null
20
+ source_test_presubmit : &source_test_presubmit
21
+ if : build.env("STAGED_BINARIES") == null && build.branch != "master"
22
+ source_test_continuous : &source_test_continuous
23
+ if : build.env("STAGED_BINARIES") == null && build.branch == "master"
12
24
platform_specific_agents : &platform_specific_agents {}
13
25
kvm_agents : &kvm_agents {kvm: "true"}
14
26
ubuntu_agents : &ubuntu_agents {os: "ubuntu"}
@@ -76,23 +88,32 @@ steps:
76
88
label : " :fire: Smoke race tests"
77
89
command : make smoke-race-tests
78
90
79
- # Build everything .
91
+ # Build runsc and pkg (presubmits only) .
80
92
- << : *common
81
- << : *source_test
82
- label : " :world_map: Build everything (AMD64)"
83
- command : " make build OPTIONS=--build_tag_filters=-nogo TARGETS=//..."
93
+ << : *source_test_presubmit
94
+ label : " :world_map: Build runsc and pkg (AMD64)"
95
+ commands :
96
+ - " make build OPTIONS=--build_tag_filters=-nogo TARGETS=//pkg/..."
97
+ - " make build OPTIONS=--build_tag_filters=-nogo TARGETS=//runsc/..."
84
98
agents :
85
99
arch : " amd64"
86
100
87
101
- << : *common
88
- << : *source_test
89
- label : " :world_map: Build everything (ARM64)"
102
+ << : *source_test_presubmit
103
+ label : " :world_map: Build runsc and pkg (ARM64)"
90
104
commands :
91
105
- " make build OPTIONS=--build_tag_filters=-nogo TARGETS=//pkg/..."
92
106
- " make build OPTIONS=--build_tag_filters=-nogo TARGETS=//runsc/..."
93
107
agents :
94
108
arch : " arm64"
95
109
110
+ # Build everything (continuous only).
111
+ - << : *common_60_tl
112
+ << : *source_test_continuous
113
+ label : " :world_map: Build everything"
114
+ commands :
115
+ - " make build OPTIONS=--build_tag_filters=-nogo TARGETS=//..."
116
+
96
117
# Check that the Go branch builds. This is not technically required, as this build is maintained
97
118
# as a GitHub action in order to preserve this maintaince across forks. However, providing the
98
119
# action here may provide easier debuggability and diagnosis on failure.
0 commit comments