Skip to content

Commit c7a9c57

Browse files
HelpersTask682: Modify run_tests() calls (#683)
Pre-commit checks: - 'check_master' passed - 'check_author' passed - 'check_file_size' passed - 'check_python_compile' passed - 'check_gitleaks' passed All checks passed ✅
1 parent 27b38c4 commit c7a9c57

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

helpers/lib_tasks_docker_release.py

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -568,10 +568,10 @@ def docker_release_dev_image( # type: ignore
568568
ctx,
569569
stage,
570570
dev_version,
571-
skip_tests,
572-
fast_tests,
573-
slow_tests,
574-
superslow_tests,
571+
skip_tests=skip_tests,
572+
fast_tests=fast_tests,
573+
slow_tests=slow_tests,
574+
superslow_tests=superslow_tests,
575575
qa_tests=False,
576576
)
577577
# 3) Promote the "local" image to "dev".
@@ -710,11 +710,11 @@ def docker_release_multi_build_dev_image( # type: ignore
710710
ctx,
711711
stage,
712712
dev_version,
713-
skip_tests,
714-
fast_tests,
715-
slow_tests,
716-
superslow_tests,
717-
qa_tests,
713+
skip_tests=skip_tests,
714+
fast_tests=fast_tests,
715+
slow_tests=slow_tests,
716+
superslow_tests=superslow_tests,
717+
qa_tests=qa_tests,
718718
)
719719
# 4) Tag the image as dev image and push it to the target registries.
720720
for target_registry in target_registries:
@@ -1100,17 +1100,18 @@ def docker_release_multi_arch_prod_image(
11001100
multi_arch="linux/amd64,linux/arm64",
11011101
)
11021102
# 2) Run tests.
1103+
stage = "prod"
11031104
_run_tests(
11041105
ctx,
1105-
stage="prod",
1106-
version=version,
1106+
stage,
1107+
version,
11071108
skip_tests=skip_tests,
11081109
fast_tests=fast_tests,
11091110
slow_tests=slow_tests,
11101111
superslow_tests=superslow_tests,
11111112
qa_tests=qa_tests,
11121113
)
1113-
# 4) Push prod image.
1114+
# 3) Push prod image.
11141115
for registry in docker_registry:
11151116
docker_tag_push_multi_arch_prod_image(
11161117
ctx,

0 commit comments

Comments
 (0)