Skip to content

Commit

Permalink
add print statements
Browse files Browse the repository at this point in the history
Signed-off-by: Divya Madala <[email protected]>
  • Loading branch information
Divyaasm committed Sep 20, 2023
1 parent 09eea1e commit 63d207d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/validation_workflow/docker/validation_docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,10 @@ def validation(self) -> bool:
self.image_names_list = [x for x in self.image_names_list if (os.path.basename(x) 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

print(self.image_names_list + ": image_names_list")
print(self.image_digests + ":image_digests")
print(": image_names_list")
print(self.image_names_list)
print(self.image_digests)
print(":image_digests")

if all(self.image_digests):
logging.info('Image digest is validated.\n\n')
Expand Down Expand Up @@ -256,7 +258,8 @@ def run_container(self, image_ids: dict, version: str) -> Any:

self.replacements = [(f'opensearchproject/{key}:{self.major_version_number}', value) for key, value in image_ids.items()]

print(self.replacements + ": replacements")
print("self.replacements")
print(self.replacements)

list(map(lambda r: self.inplace_change(self.target_yml_file, r[0], r[1]), self.replacements))

Expand Down

0 comments on commit 63d207d

Please sign in to comment.