Deploy all camunda processes (#14936)
* Deploy all camunda processes * Add debug config for camunda workers
This commit is contained in:
parent
01d921c150
commit
f457e9788d
|
@ -20,6 +20,16 @@
|
||||||
"args": ["${workspaceFolder}/packages/worker/src/index.ts"],
|
"args": ["${workspaceFolder}/packages/worker/src/index.ts"],
|
||||||
"cwd": "${workspaceFolder}/packages/worker"
|
"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",
|
"type": "chrome",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
|
|
|
@ -17,15 +17,12 @@ echo "waiting for Camunda to be ready..."
|
||||||
|
|
||||||
while is_camunda_ready -eq 0; do sleep 1; done
|
while is_camunda_ready -eq 0; do sleep 1; done
|
||||||
|
|
||||||
cd src/main/resources/models
|
|
||||||
|
|
||||||
echo "deploy processes..."
|
echo "deploy processes..."
|
||||||
zbctl deploy resource offboarding.bpmn --insecure
|
for file in src/main/resources/models/*; do
|
||||||
zbctl deploy resource onboarding.bpmn --insecure
|
zbctl deploy resource $file --insecure
|
||||||
zbctl deploy resource free_trial.bpmn --insecure
|
done
|
||||||
zbctl deploy resource verify_sso_login.bpmn --insecure
|
|
||||||
|
|
||||||
cd ../../../../../budibase/packages/pro
|
cd ../budibase/packages/pro
|
||||||
yarn && yarn build
|
yarn && yarn build
|
||||||
|
|
||||||
cd ../account-portal/packages/server
|
cd ../account-portal/packages/server
|
||||||
|
|
Loading…
Reference in New Issue