Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 1.12 KB

overview.md

File metadata and controls

32 lines (21 loc) · 1.12 KB

This extension provides a build task to interact with Mesos Marathon API.

This extension installs the following component:

  • A build task to call Marathon Api in order to deploy docker application.

Create a generic Connection to your Marathon Url

  • Make sure your Marathon is exposed and can be reached over the network.
  1. Open the Services page in your Visual Studio Team Services Control Panel
  2. In the New Service Endpoint list, choose "Generic"
  3. Specify your Marathon URL, and optionnaly username and password (if you want to use a PAT instead of username/password, set the PAT as password).

Add the Marathon Deploy task to your build or release

  1. Edit the build or release you want to update
  2. Select the build task "MarathonDeploy" available in the "Deploy" category.
  3. Set the parameters :
    • marathonEndpoint
    • marathon identifier (If not set , this identifier is read from marathon.json file)
    • jsonFilePath which contains deployment configuration
    • Checkbox to fail the task when the application was previously scaled to 0

Enjoy!

Credits : Alban Kimor, Alm Team, Cdiscount France.