Skip to content
Snippets Groups Projects

Draft: Repair cluster-build pipeline

Merged Robert Schmidt requested to merge build-cluster-hotfix into develop
All threads resolved!
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -236,7+236,7 @@
@@ -236,7+236,7 @@
forceBaseImageBuild = True
forceBaseImageBuild = True
# logging to OC Cluster and then switch to corresponding project
# logging to OC Cluster and then switch to corresponding project
mySSH.command(f'oc login -u {ocUserName} -p {ocPassword} --server {self.OCUrl}', '\$', 31)
mySSH.command(f'oc login -u {ocUserName} -p {ocPassword} --server {self.OCUrl}', '\$', 31)
if mySSH.getBefore().count('Login successful.') == 0:
if mySSH.getBefore().count('Login successful.') == 0:
logging.error('\u001B[1m OC Cluster Login Failed\u001B[0m')
logging.error('\u001B[1m OC Cluster Login Failed\u001B[0m')
mySSH.close()
mySSH.close()
@@ -255,7+255,7 @@
@@ -255,7+255,7 @@
status = True # flag to abandon compiling if any image fails
status = True # flag to abandon compiling if any image fails
attemptedImages = []
attemptedImages = []
self._recreate_is_tag(mySSH, 'ran-base', baseTag, 'openshift/ran-base-is.yaml')
if forceBaseImageBuild:
if forceBaseImageBuild:
 
self._recreate_is_tag(mySSH, 'ran-base', baseTag, 'openshift/ran-base-is.yaml')
self._recreate_bc(mySSH, 'ran-base', baseTag, 'openshift/ran-base-bc.yaml')
self._recreate_bc(mySSH, 'ran-base', baseTag, 'openshift/ran-base-bc.yaml')
ranbase_job = self._start_build(mySSH, 'ran-base')
ranbase_job = self._start_build(mySSH, 'ran-base')
attemptedImages += ['ran-base']
attemptedImages += ['ran-base']
Loading