Create physim BuildConfig and harmonize ImageStream filename

This commit is contained in:
Robert Schmidt
2022-09-05 15:29:32 +02:00
parent d524bbb0ed
commit 580b2f3263
3 changed files with 45 additions and 1 deletions
+1 -1
View File
@@ -173,7 +173,7 @@ class PhySim:
else:
logging.debug('\u001B[1m Podman Login to OC Cluster Registry Successfully\u001B[0m')
time.sleep(2)
mySSH.command('oc create -f openshift/oai-physim-image-stream.yml || true', '\$', 30)
mySSH.command('oc create -f openshift/oai-physim-is.yml || true', '\$', 30)
if mySSH.getBefore().count('(AlreadyExists):') == 0 and mySSH.getBefore().count('created') == 0:
logging.error(f'\u001B[1m Image Stream "oai-physim" Creation Failed on OC Cluster {ocProjectName}\u001B[0m')
mySSH.command('sudo podman logout https://default-route-openshift-image-registry.apps.oai.cs.eurecom.fr/', '\$', 6)