Skip to content

Commit bc0172e

Browse files
committed
add fix for task to use ibm-pak; specify the right cluster to check for availability
1 parent b400b25 commit bc0172e

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

9.0.x/pipeline.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,9 @@ spec:
164164
oc patch configmap/pipeline-output -p '{"data":{"Status":"Deployment Pipeline completed to install mas core."}}'
165165
tasks:
166166
- name: check-container-registry
167+
taskRef:
168+
kind: Task
169+
name: ibm-pak
167170
params:
168171
- name: SCRIPT
169172
value: |
@@ -181,7 +184,7 @@ spec:
181184
sleep 10
182185
183186
# Update status
184-
status=$(oc get config -o jsonpath='{.items[0].status.conditions[?(@.type=="Available")].reason}')
187+
status=$(oc get configs.imageregistry.operator.openshift.io cluster -o jsonpath='{.status.conditions[?(@.type=="Available")].reason}')
185188
done
186189
187190
if [[ "$status" == "Ready" ]]; then

0 commit comments

Comments
 (0)