Deploy all camunda processes (#14936)

* Deploy all camunda processes

* Add debug config for camunda workers
This commit is contained in:
melohagan 2024-11-04 10:51:11 +00:00 committed by GitHub
parent 01d921c150
commit f457e9788d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 14 additions and 7 deletions

10
.vscode/launch.json vendored
View File

@ -20,6 +20,16 @@
"args": ["${workspaceFolder}/packages/worker/src/index.ts"],
"cwd": "${workspaceFolder}/packages/worker"
},
{
"name": "Camunda Worker",
"type": "node",
"request": "launch",
"runtimeArgs": ["--nolazy", "-r", "ts-node/register/transpile-only"],
"args": [
"${workspaceFolder}/packages/account-portal/packages/server/src/v2/run.ts"
],
"cwd": "${workspaceFolder}/packages/account-portal/packages/server"
},
{
"type": "chrome",
"request": "launch",

View File

@ -17,15 +17,12 @@ echo "waiting for Camunda to be ready..."
while is_camunda_ready -eq 0; do sleep 1; done
cd src/main/resources/models
echo "deploy processes..."
zbctl deploy resource offboarding.bpmn --insecure
zbctl deploy resource onboarding.bpmn --insecure
zbctl deploy resource free_trial.bpmn --insecure
zbctl deploy resource verify_sso_login.bpmn --insecure
for file in src/main/resources/models/*; do
zbctl deploy resource $file --insecure
done
cd ../../../../../budibase/packages/pro
cd ../budibase/packages/pro
yarn && yarn build
cd ../account-portal/packages/server