How to automate Mendix deployment using CICD ?

1
I created deployment package for my app using Mendix desktop modeler. And then using AWS IAM, i am deploying it on AWS. There is a API of Mendix using which you can create deployment package directly on Mendix cloud. Is there any way by which we can download it ? I want to automate the deployment using CICD. Also, has anyone tried CICD using Gitlab or any other repository manager ?
asked
2 answers
2

See the documentation: https://docs.mendix.com/apidocs-mxsdk/apidocs/build-api

Your looking for the Retrieve Package action. The result is a package you can use for the deployment.

Regards,

Ronald

 

answered
1

To go into further detail on Ronald’s answer I believe there is a way to download it using the API : https://docs.mendix.com/apidocs-mxsdk/apidocs/build-api#2-4-download-package  I have not tried this, so please let us know how it goes!  

HTTP Method: GET
URL: https://deploy.mendix.com/api/1/apps/<AppId>/packages/<PackageId>/download

 

answered