Skip to content

Commit

Permalink
Run dockerhub and ecr together
Browse files Browse the repository at this point in the history
Signed-off-by: Divya Madala <divyaasm@amazon.com>
  • Loading branch information
Divyaasm committed Jun 11, 2024
1 parent d87af0e commit 608173e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/run_validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ def main() -> int:

with TemporaryDirectory() as work_dir:
if args.distribution == "docker":
test_result = ValidationTestRunner.dispatch(args, args.distribution, work_dir)
for result in test_result:
test_result = test_result.run()
test_results = ValidationTestRunner.dispatch(args, args.distribution, work_dir)
for result in test_results:
test_result = result.run()
else:
test_result = ValidationTestRunner.dispatch(args, args.distribution, work_dir).run()
logging.info(f'final test_result = {test_result}')
Expand Down

0 comments on commit 608173e

Please sign in to comment.