Commit 4d964211e427
Changed files (1)
pkgs
scripts
bin
pkgs/scripts/bin/chos4
@@ -15,5 +15,36 @@ for machineset in $(oc get machineset -n openshift-machine-api -o name); do
oc scale --replicas=2 ${machineset} -n openshift-machine-api
done
+echo ">>> install tekton in the cluster"
+# This is needed when we want to test a non-released version
+# cat <<EOF | oc apply -f-
+# apiVersion: operators.coreos.com/v1
+# kind: OperatorSource
+# metadata:
+# name: sthaha-operators
+# namespace: openshift-marketplace
+# spec:
+# type: appregistry
+# endpoint: https://quay.io/cnr
+# registryNamespace: sthaha
+# displayName: "Sunil Operators"
+# publisher: "Sunil Thaha"
+# EOF
+#
+#sleep 10
+
+cat <<EOF | oc apply -f-
+apiVersion: operators.coreos.com/v1alpha1
+kind: Subscription
+metadata:
+ name: openshift-pipelines-subscription
+ namespace: openshift-operators
+spec:
+ channel: dev-preview
+ name: openshift-pipelines-operator
+ source: community-operators
+ sourceNamespace: openshift-marketplace
+EOF
+
echo ">>> your cluster is ready :)"
read