Skip to content

Commit

Permalink
Merge pull request #194 from Cortey/e2e
Browse files Browse the repository at this point in the history
Move tests to separate file outside of release.sh
  • Loading branch information
kyma-bot authored Jun 5, 2023
2 parents 59ef107 + c80b0ea commit c1194ce
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,28 +36,6 @@ MODULE_VERSION=${PULL_BASE_REF} make render-manifest
echo "Generated keda-manager.yaml:"
cat keda-manager.yaml

echo "Testing"

make kyma
make -C hack/common create-k3d

kubectl create namespace kyma-system
kubectl apply -f keda-manager.yaml

# check if deployment is available
while [[ $(kubectl get deployment/keda-manager -n kyma-system -o 'jsonpath={..status.conditions[?(@.type=="Available")].status}') != "True" ]];
do echo -e "\n---Waiting for deployment to be available"; sleep 5; done

echo -e "\n---Deployment available"

echo -e "\n---Installing Keda operator"
kubectl apply -f config/samples/operator_v1alpha1_keda.yaml

while [[ $(kubectl get keda/default -o 'jsonpath={..status.conditions[?(@.type=="Installed")].status}') != "True" ]];
do echo -e "\n---Waiting for Keda to be ready"; sleep 5; done

make -C hack/ci integration-test

echo "Updating github release with keda-manager.yaml"

echo "Finding release id for: ${PULL_BASE_REF}"
Expand Down

0 comments on commit c1194ce

Please sign in to comment.