From e8f29b328d03921f6daef3d7e5ee6286beeeb049 Mon Sep 17 00:00:00 2001 From: Abhinandan Purkait Date: Wed, 22 Nov 2023 12:49:43 +0000 Subject: [PATCH] chore(ci): revert ci-test.sh changes Signed-off-by: Abhinandan Purkait --- ci/ci-test.sh | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/ci/ci-test.sh b/ci/ci-test.sh index 20a630d9..e15ce043 100755 --- a/ci/ci-test.sh +++ b/ci/ci-test.sh @@ -15,10 +15,24 @@ # shellcheck disable=SC1128 #!/usr/bin/env bash -CSTOR_OPERATOR="https://raw.githubusercontent.com/openebs/cstor-operators/HEAD/deploy/cstor-operator.yaml" +#OPENEBS_OPERATOR=https://raw.githubusercontent.com/openebs/openebs/HEAD/k8s/openebs-operator.yaml +NDM_OPERATOR=https://raw.githubusercontent.com/openebs/cstor-operators/HEAD/deploy/ndm-operator.yaml +CSTOR_RBAC=https://raw.githubusercontent.com/openebs/cstor-operators/HEAD/deploy/rbac.yaml +CSTOR_OPERATOR=https://raw.githubusercontent.com/openebs/cstor-operators/HEAD/deploy/cstor-operator.yaml +ALL_CRD=https://raw.githubusercontent.com/openebs/cstor-operators/HEAD/deploy/crds/all_cstor_crds.yaml -kubectl apply -f "$CSTOR_OPERATOR" -kubectl apply -f ./deploy/csi-operator.yaml +CSI_OPERATOR="$GOPATH/src/github.com/openebs/cstor-csi/deploy/csi-operator.yaml" +SNAPSHOT_CLASS="$GOPATH/src/github.com/openebs/cstor-csi/deploy/snapshot-class.yaml" + +#DST_PATH="$GOPATH/src/github.com/openebs" + +# Prepare env for runnging BDD tests +# Minikube is already running +kubectl apply -f $CSTOR_RBAC +kubectl apply -f $NDM_OPERATOR +kubectl apply -f $ALL_CRD +kubectl apply -f $CSTOR_OPERATOR +kubectl apply -f ./deploy/csi-operator.yaml kubectl apply -f ./deploy/snapshot-class.yaml function dumpCSINodeLogs() {