Skip to content

Commit 88ff65a

Browse files
committed
fix fix fix fix pöplön
1 parent d6c5c84 commit 88ff65a

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/azure-kubernetes-service.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,12 @@ jobs:
9797
echo "Sleeping for 10 to wait for pod"
9898
sleep 10
9999
100-
echo "Deploying camunda bpmn into pod"
100+
echo "Forwarding port"
101101
camundaPod=$(kubectl get pods | grep 'soemi-moen' | awk '{print $1}')
102-
kubectl port-forward $camundaPod 8080:8080
102+
kubectl port-forward $camundaPod 8080:8080 &
103+
104+
echo "Deploying camunda bpmn into pod"
103105
curl -w "\n" -H "Content-Type: multipart/form-data" -F "deployment-name=soemi-moen-bpmn" -F "enable-duplicate-filtering=true" -F "deploy-changed-only=true" -F "deployment-source=process application" -F "data=@./soemi-moen/soemi-moen.bpmn" http://localhost:8080/engine-rest/deployment/create
106+
107+
echo "Killing port-forwarding"
108+
pkill -f "kubectl port-forward"

0 commit comments

Comments
 (0)