Easy Deploy Mendix API
Overview
Documentation
Description
This Module can be imported into any project and can be used to create and deploy the latest package of a branch. It doesn't have to be the same app that the module has been imported in. So you can use a simple local app to deploy all your apps.
Typical usage scenario
You want to deploy the latest revision of a branch to the Test environment but don't want to use the Mendix portal and wait for the package to be build, transported and the app to be restarted
Features and limitations
- It is possible to deploy to both Test and Acceptance at once (for now they run in series)
- You can only deploy to Test or Acceptance. Production might be added after some positive feedback (since that stuff is dangerous). Custom Environments are also not supported
Dependencies [optional]
- Mendix 7.16.0
- CommunityCommons
Configuration [optional]
1. Changes the four constants in your project settings:
- MendixUserApi (required, this is your personal API key, which can be obtained through the "MyProfile" page of Mendix)
- MendixUsername (required, this is your email)
- AppName (optional)
- Branchname (optional)
2. Place the SNP_Deploy somewhere on a page
3. Set up the security so someone has rights to use the Module
4. Import the CommunityCommons Module
This module was inspired by the Github project https://github.com/bizzomate/cicd-powershell.git created by Bart Poelmans