You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update `ab_test.py` with ability to accept custom artifacts for A and B
runs.
Additionally update `pipeline_perf.py` as well. Now REVISION_A_ARTIFACTS
and REVISION_B_ARTIFACTS environment variables specify custom artifacts
which will be used in A/B test
Signed-off-by: Egor Lazarchuk <yegorlz@amazon.co.uk>
help="Name of the artifacts directory in the build/artifacts to use for revision A test. If the directory does not exist, the name will be treated as S3 path and artifacts will be downloaded from there.",
462
+
# Type is string since it can be an s3 paht which if passed to `Path` constructor
463
+
# will be incorrectly modified
464
+
type=str,
465
+
required=False,
466
+
)
467
+
run_parser.add_argument(
468
+
"--artifacts-b",
469
+
help="Name of the artifacts directory in the build/artifacts to use for revision B test. If the directory does not exist, the name will be treated as S3 path and artifacts will be downloaded from there.",
470
+
# Type is string since it can be an s3 paht which if passed to `Path` constructor
471
+
# will be incorrectly modified
472
+
type=str,
473
+
required=False,
474
+
)
436
475
run_parser.add_argument(
437
476
"--pytest-opts",
438
477
help="Parameters to pass through to pytest, for example for test selection",
0 commit comments