Deploying BPMN diagram with CI CD via Github

Hi Team,

I am looking for ways to deploy BPMN diagram via source control while it is not sitting in camunda engine to avoid restart on every deployment.
I believe there is a way to use camunda client which can deploy on boot using rest api, not sure if that 's the best possible way.

Thankyou

Hey @Sumant_Kumar! I love you question :+1:

So in general it makes a lot of sense to deploy a BPMN diagram via REST instead restarting the application for every deployment. I linked the documentation about the relevant API endpoint down below:

I really can imagine that it makes sense to have a CI/CD pipeline to run a script which deploys the newest BPMN models when (for instance) they are merged to the main branch.
As far as I know people are actually doing such a things. :slight_smile:

Let me know if you have any further questions. :slight_smile:
Best,
Thomas

Thankyou @Hafflgav
So i believe i will need to write a hook or script to make the rest call and deploy. Thankyou

Exactly @Sumant_Kumar! :slight_smile:
So I used a script which was executed by a GitLab Runner once.

1 Like