From 70f013139d225ce35fbc72a4b10dadff5916cc9c Mon Sep 17 00:00:00 2001 From: Sanket Sudake Date: Wed, 22 Nov 2023 18:35:26 +0530 Subject: [PATCH] fix workflow Signed-off-by: Sanket Sudake --- .github/workflows/ci.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index af8a975..947ffaa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -50,23 +50,21 @@ jobs: - name: Deploy Kafka Cluster run: | - cd kafka-http-connector/test/kubernetes/ kubectl create namespace kafka curl -L http://strimzi.io/install/latest | sed 's/namespace: .*/namespace: kafka/' | kubectl create -f - -n kafka sleep 10s kubectl create -f kafka-http-connector/test/kubernetes/kafka-cluster.yaml echo "Kafka Cluster is getting up." - kubectl wait -f kafka-cluster.yaml --for=condition=ready --timeout=-1s -n kafka + kubectl wait -f kafka-http-connector/test/kubernetes/kafka-cluster.yaml --for=condition=ready --timeout=-1s -n kafka sleep 2m kubectl get pods -n kafka kubectl wait pod -l app.kubernetes.io/name=zookeeper --for=condition=ready --timeout=-1s -n kafka - name: Create Kafka topics run: | - cd kafka-http-connector/test/kubernetes/ - kubectl apply -f kafka-req-topic.yaml - kubectl apply -f kafka-err-topic.yaml - kubectl apply -f kafka-res-topic.yaml + kubectl apply -f kafka-http-connector/test/kubernetes/kafka-req-topic.yaml + kubectl apply -f kafka-http-connector/test/kubernetes/kafka-err-topic.yaml + kubectl apply -f kafka-http-connector/test/kubernetes/kafka-res-topic.yaml - name: Deploy Kafka Keda Connector and Keda ScaledObject run: |