Easy Deploy Mendix API

Content Type: Module
Categories:

Overview

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.

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

 

Releases

Version: 1.0.0
Framework Version: 7.16.0
Release Notes: - Upgraded the styling - Added validations on the user input - Added logging so you can see how the deployment is going - Added the Dutch language
Version: 1.0.0-beta
Framework Version: 7.16.0
Release Notes: In this version it is possible to create the latest package from a branch and deploy it to Test and/or Acceptance