Skip to content

Commit

Permalink
Fix function get_raw_url
Browse files Browse the repository at this point in the history
Signed-off-by: Petr "Stone" Hracek <[email protected]>
  • Loading branch information
phracek committed Jul 31, 2024
1 parent 820aad2 commit ba8426e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions container_ci_suite/openshift.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,15 @@ def delete_tenant_namespace(self):
print(f"!!!!! TenantNamespace ${self.shared_random_name} was not delete properly."
f"But it does not block CI.!!!!")

def get_raw_url_for_json(self, container: str, dir: str, filename: str, branch: str = "master"):
return utils.get_raw_url_for_json(container=container, dir=dir, filename=filename, branch=branch)

def is_s2i_pod_running(self, pod_name_prefix: str):
return self.openshift_ops.is_s2i_pod_running(pod_name_prefix=pod_name_prefix)

def is_pod_running(self, pod_name_prefix: str):
return self.openshift_ops.is_pod_running(pod_name_prefix=pod_name_prefix)

def delete_project(self):
if not self.delete_prj:
# project is not deleted by request user
Expand Down

0 comments on commit ba8426e

Please sign in to comment.