Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 1.28 KB

README.md

File metadata and controls

26 lines (21 loc) · 1.28 KB

TeamCity Cloud Openstack plugin

Installation

  1. clone current repository to your local computer
  2. run "mvn clean package"
  3. install resulted *.zip file to teamcity server

Agent Configuration

  1. create one or more Openstack machines
  2. install a standard TeamCity build agent on them, you only need to fill TEAMCITY_SERVER_URL WARNING: you shouldn't start build agent while preparing image
  3. create images from machines with installed agent.

Server Configuration

Fill cloud config with your openstack-instance parameters. Configuration example:

Once you have created a cloud profile in TeamCity with one or several images, TeamCity does a test start for all the new images to discover the environment of the build agents configured on them. If for a queued build there are no regular non-cloud agents available, TeamCity will find a matching cloud image with a compatible agent and start a new instance for the image. After that, a virtual agent acts as a regular agent. You can specify idle time on the agent cloud profile, after which the instance should be terminated or stopped, in case you have an EBS-based instance.

Usage

Use Openstack virtual agents as regular build agents