Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 1.34 KB

overview.md

File metadata and controls

34 lines (23 loc) · 1.34 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 optionally 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
    • Checkbox to verify SSL - Disable it if you have problems with a self signed cert.
    • Set the maximal container boot time in seconds - We will fail the task if your container doesn't start

Enjoy!

Credits : Alban Kimor, Folly ADJANOH, Alm Team, Cdiscount France and other contributors.