Skip to content

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

License

Notifications You must be signed in to change notification settings

ionuttulai/vsts-buildtask-marathon

 
 

Repository files navigation

This repository contains the code of a Tfs build task that interact with Marathon API from a build or a release definition.

This build task deploys a docker application to Marathon

Use Visual studio code to work on this extension

  1. Execute the following command to install vscode:
    choco install visualstudiocode
    
  2. clone this repository:
    cd <myParentGitFolder>
    git clone <repoAddress>
    cd vsts-buildtask-marathon
    
  3. Retrieve the npm package to allow compilation under vscode:
    cd \Tasks\MarathonDeploy\
    npm update
    
  4. Start vscode, you can use the following command:
    code .
    
  5. Then in vscode [CTRL+SHIFT+B] should compile without error.
  • note: if it doesn't compile correctly, verify that you do not have a path to a bad typescript version (remove path like "C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0; " from your PATH (system&user) environment variables).

Create the extension and publish it

  1. If you update the task/extension (not needed on creation) : increment the version number in the task.json file.
  2. If you update the task/extension (not needed on creation) : increment the version number in the vss-extension.json file.
  3. use the tfx framework, in the root folder of the git repository (where the file vss-extension.json is located), execute:
    tfx extension create
    
  4. upload it to tfs or vsts via the GUI (on tfs : http:///tfs/_gallery/manage).

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%