Skip to content

Commit 4ae4034

Browse files
committed
Remove --all-agents
1 parent 972b23c commit 4ae4034

File tree

3 files changed

+2
-11
lines changed

3 files changed

+2
-11
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ appdb-init-image:
189189
# Not setting a parallel-factor will default to 0 which will lead to using all CPUs, that can cause docker to die.
190190
# Here we are defaulting to 6, a higher value might work for you.
191191
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
193193

194194
agent-image-slow:
195195
@ scripts/evergreen/run_python.sh scripts/release/pipeline_main.py --parallel-factor 1 agent

scripts/release/build_configuration.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ class BuildConfiguration:
1414
parallel_factor: int = 0
1515
platforms: Optional[List[str]] = None
1616
sign: bool = False
17-
all_agents: bool = False
1817

1918
def is_release_step_executed(self) -> bool:
2019
return self.scenario == BuildScenario.RELEASE

scripts/release/pipeline_main.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -133,13 +133,7 @@ def main():
133133
"--registry",
134134
help="Override the base registry instead of resolving from build scenario",
135135
)
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
143137
parser.add_argument(
144138
"--parallel-factor",
145139
default=0,
@@ -180,7 +174,6 @@ def build_config_from_args(args):
180174
version = args.version or build_context.get_version()
181175
registry = args.registry or build_context.get_base_registry()
182176
sign = args.sign or build_context.signing_enabled
183-
all_agents = args.all_agents or bool(os.environ.get("all_agents", False))
184177

185178
return BuildConfiguration(
186179
scenario=scenario,
@@ -189,7 +182,6 @@ def build_config_from_args(args):
189182
parallel=args.parallel,
190183
platforms=platforms,
191184
sign=sign,
192-
all_agents=all_agents,
193185
parallel_factor=args.parallel_factor,
194186
)
195187

0 commit comments

Comments
 (0)