Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

Commit

Permalink
Do not force the project to use (#160)
Browse files Browse the repository at this point in the history
Signed-off-by: Sergio Arroutbi <[email protected]>
  • Loading branch information
sarroutbi authored Sep 28, 2023
1 parent abe4d69 commit 78232a9
Showing 1 changed file with 12 additions and 18 deletions.
30 changes: 12 additions & 18 deletions tools/index_tools/tang_install_catalog.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,15 @@ do
esac
done

echo "-------------------------------------"
echo "oc project openshift-operators"
oc project openshift-operators
echo "-------------------------------------"
echo "oc status"
oc status
if [ -z "${list_only}" ];
then
sleep 1
echo "-------------------------------------"
echo "oc create -f tang_catalog_source.yaml"
oc create -f tang_catalog_source.yaml
echo "oc create -f tang_catalog_source.yaml -n openshift-operators"
oc create -f tang_catalog_source.yaml -n openshift-operators
fi
echo "-------------------------------------"
sleep 1
Expand All @@ -62,20 +59,17 @@ if [ -z "${list_only}" ];
then
echo "-------------------------------------"
sleep 1
echo "oc create -f tang_subscription.yaml"
oc create -f tang_subscription.yaml
echo "oc create -f tang_subscription.yaml -n openshift-operators"
oc create -f tang_subscription.yaml -n openshift-operators
fi
echo "-------------------------------------"
echo "oc project"
oc project
echo "-------------------------------------"
sleep 1
echo "oc get sub"
oc get sub
echo "oc get sub -n openshift-operators"
oc get sub -n openshift-operators
echo "-------------------------------------"
sleep 1
echo "oc get ip"
oc get ip
echo "oc get ip -n openshift-operators"
oc get ip -n openshift-operators
echo "-------------------------------------"
sleep 1
echo "oc get jobs -nopenshift-marketplace"
Expand All @@ -86,11 +80,11 @@ echo "oc get pods -nopenshift-marketplace"
oc get pods -nopenshift-marketplace
echo "-------------------------------------"
sleep 1
echo "oc get csv"
oc get csv
echo "oc get csv -n openshift-operators"
oc get csv -n openshift-operators
echo "-------------------------------------"
sleep 1
echo "oc get pods"
oc get pods
echo "oc get pods -n openshift-operators"
oc get pods -n openshift-operators
echo "-------------------------------------"
sleep 1

0 comments on commit 78232a9

Please sign in to comment.