File tree Expand file tree Collapse file tree 3 files changed +2
-11
lines changed Expand file tree Collapse file tree 3 files changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -189,7 +189,7 @@ appdb-init-image:
189
189
# Not setting a parallel-factor will default to 0 which will lead to using all CPUs, that can cause docker to die.
190
190
# Here we are defaulting to 6, a higher value might work for you.
191
191
agent-image :
192
- @ scripts/evergreen/run_python.sh scripts/release/pipeline_main.py --all-agents -- parallel --parallel-factor 6 agent
192
+ @ scripts/evergreen/run_python.sh scripts/release/pipeline_main.py --parallel --parallel-factor 6 agent
193
193
194
194
agent-image-slow :
195
195
@ scripts/evergreen/run_python.sh scripts/release/pipeline_main.py --parallel-factor 1 agent
Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ class BuildConfiguration:
14
14
parallel_factor : int = 0
15
15
platforms : Optional [List [str ]] = None
16
16
sign : bool = False
17
- all_agents : bool = False
18
17
19
18
def is_release_step_executed (self ) -> bool :
20
19
return self .scenario == BuildScenario .RELEASE
Original file line number Diff line number Diff line change @@ -133,13 +133,7 @@ def main():
133
133
"--registry" ,
134
134
help = "Override the base registry instead of resolving from build scenario" ,
135
135
)
136
-
137
- # Agent specific arguments
138
- parser .add_argument (
139
- "--all-agents" ,
140
- action = "store_true" ,
141
- help = "Build all agent variants instead of only the latest." ,
142
- )
136
+ # For agent builds
143
137
parser .add_argument (
144
138
"--parallel-factor" ,
145
139
default = 0 ,
@@ -180,7 +174,6 @@ def build_config_from_args(args):
180
174
version = args .version or build_context .get_version ()
181
175
registry = args .registry or build_context .get_base_registry ()
182
176
sign = args .sign or build_context .signing_enabled
183
- all_agents = args .all_agents or bool (os .environ .get ("all_agents" , False ))
184
177
185
178
return BuildConfiguration (
186
179
scenario = scenario ,
@@ -189,7 +182,6 @@ def build_config_from_args(args):
189
182
parallel = args .parallel ,
190
183
platforms = platforms ,
191
184
sign = sign ,
192
- all_agents = all_agents ,
193
185
parallel_factor = args .parallel_factor ,
194
186
)
195
187
You can’t perform that action at this time.
0 commit comments