Azure DevOps Extension for Cloud Foundry
Перейти к файлу
Lucas Killgore 5ad4ea13db
Updated versions for release (#35)
2020-01-09 17:31:05 -05:00
Extension Updated versions for release (#35) 2020-01-09 17:31:05 -05:00
images v0.1.0 CloudFoundry Build Extension 2016-05-05 12:06:52 -04:00
.gitignore ignore .js files 2019-01-07 15:35:26 -05:00
LICENSE.txt v0.1.0 CloudFoundry Build Extension 2016-05-05 12:06:52 -04:00
README.md Add status badge 2019-03-29 11:08:35 -04:00
azure-pipelines.yml Set up CI with Azure Pipelines [skip ci] 2019-03-29 10:58:04 -04:00
externals.json made changes per pull request feedback 2019-03-28 22:31:26 -06:00
gulpfile.js added azure-pipelines-tool-lib to vsix 2019-02-27 21:43:51 -05:00
package-lock.json Updated versions for release (#35) 2020-01-09 17:31:05 -05:00
package.js added azure-pipelines-tool-lib to vsix 2019-02-27 21:43:51 -05:00
package.json Updated versions for release (#35) 2020-01-09 17:31:05 -05:00
tsconfig.json adding Task to install CLI on to agent 2019-02-20 23:30:06 -07:00

README.md

vsts-cloudfoundry

Build Status

Build status

Cloud Foundry build extension for Azure DevOps allows you to automate the deployment process to any Cloud Foundry instance. This extension provides a build task to enable you to push applications to any Cloud Foundry instance. It also includes a Utility task to run any Cloud Foundry CLI commands as part of your build process.

Create a Cloud Foundry Connection

Create a Generic Service Endpoint and specify your Cloud Foundry API endpoint URL, email/username and password.

Open the settings/admin page for your account and go to Services tab.

Cloud Foundry Endpoint

Enter the endpoint details.

Generic Endpoint Details

Define your build process

Create a build definition to automate your build process. For detailed instructions on setting up a build definition, check this

Add the Cloud Foundry Build tasks to your build steps and setup the arguments. The Cloud Foundry build task to push applications to Cloud Foundry can be found under Deploy category. The Cloud Foundry CLI task to run any Cloud Foundry CLI command can be found under the Utility category.

Cloud Foundry Build Tasks

Install Cloud Foundry CLI on your build agent

Use the Cloud Foundry CLI Install task.

The task will look for the Cloud Foundry CLI in the PATH on the build machine. An alternate path to the Cloud Foundry CLI can be specified in the Advanced section of the task. This can be a local path on the build machine or a server path.

Contributing

We love and encourage community contributions. To contribute:

  1. Submit issues for bugs or suggestions to help us improve the extension
  2. Fork the code and submit pull requests for any bug fixes or features

Build pre-requisites

  1. This package requires node and npm

To compile, run

  1. npm install
  2. gulp

The vsix package will be produced in _package, and it can be uploaded to Azure DevOps Marketplace for sharing.