Skip to content

Commit a7c63c9

Browse files
committed
Cleanup
1 parent 7c9967a commit a7c63c9

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

scripts/release/atomic_pipeline.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@
1717
from packaging.version import Version
1818

1919
from lib.base_logger import logger
20-
from scripts.evergreen.release.agent_matrix import (
21-
get_supported_operator_versions,
22-
)
2320
from scripts.evergreen.release.images_signing import (
2421
sign_image,
2522
verify_signature,
@@ -32,7 +29,6 @@
3229
from .optimized_operator_build import build_operator_image_fast
3330

3431
TRACER = trace.get_tracer("evergreen-agent")
35-
DEFAULT_NAMESPACE = "default"
3632

3733

3834

@@ -507,10 +503,10 @@ def build_agent_default_case(build_configuration: BuildConfiguration):
507503
with ProcessPoolExecutor(max_workers=max_workers) as executor:
508504
logger.info(f"running with factor of {max_workers}")
509505
print(f"======= Versions to build {agent_versions_to_build} =======")
510-
for agent_version in agent_versions_to_build:
506+
for idx, agent_version in enumerate(agent_versions_to_build):
511507
# We don't need to keep create and push the same image on every build.
512508
# It is enough to create and push the non-operator suffixed images only during releases to ecr and quay.
513-
print(f"======= Building Agent {agent_version} =======")
509+
print(f"======= Building Agent {agent_version} ({idx}/{len(agent_versions_to_build)})")
514510
_build_agent_operator(
515511
agent_version,
516512
build_configuration,

0 commit comments

Comments
 (0)