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 <[email protected]>
  • Loading branch information
Divyaasm committed Jun 11, 2024
1 parent 3379948 commit f0b98be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/run_validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def main() -> int:
for source in docker_source:
new_args = args
new_args.docker_source = source
logging.info(source)
logging.info(f'Validating ${source}\n')
test_result = ValidationTestRunner.dispatch(new_args, args.distribution, work_dir).run()
logging.info(f'final test_result = {test_result}')
return 0 if test_result else 1
Expand Down
4 changes: 2 additions & 2 deletions src/validation_workflow/docker/validation_docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def validation(self) -> bool:
self.image_names_list = ['opensearchproject/' + project for project in self.args.projects]
self.image_digests = list(map(lambda x: self.inspect_docker_image(x[0], x[1]), zip(self.image_ids.values(), self.image_names_list))) # type: ignore
if all(self.image_digests):
logging.info('Image digest is validated.\n\n')
logging.info('Image digest is validated.\n')
if self.args.validate_digest_only:
return True
else:
Expand Down Expand Up @@ -110,7 +110,7 @@ def cleanup(self) -> bool:
logging.error(f'An error occurred during cleanup: {e}')
return False
finally:
logging.info('Docker validation cleanup is complete')
logging.info('Docker validation cleanup is complete\n\n')

def cleanup_process(self) -> bool:
# stop the containers
Expand Down

0 comments on commit f0b98be

Please sign in to comment.