Project is in deep dev and I don't recommend anyone to to use it before the first major version is released.
It is a plugin for TeamCity CI to provide Digital Ocean cloud integration support.
| State | Version | Sources | Binary distr |
|---|---|---|---|
released |
0.2 | 0.2-release | tc-digitalocean-plugin-0.2.zip |
in dev |
0.3-SNAPSHOT | master |
Copy tc-digitalocean-plugin-0.2.zip into the ~/.BuildServer/plugins directory and restart teamcity.
You need to prepare droplet image to be used by the plugin for on demand droplets creation. There are three requirements for the image:
- Teamcity agent must be installed and configured to be autostarted once operation system is loaded.
- Teamcity server must be specified as the value of serverUrl property in buildAgent/conf/buildAgent.properties
- The value of the authorizationToken in buildAgent/conf/buildAgent.properties must be empty
- Open Administration -> Agent Cloud
- Press Create new profile
- Choose cloud type Digital Ocean
- Java 5
- Maven
- Teamcity 9
To build the project you need to setup TEAMCITY_HOME env variable. Please provide a path to the teamcity installation as the value for the variable. Once variable is configured just execute the following command
mvn clean installIf everything is fine, the plugin will be packed to tcdop/tc-digitalocean-plugin/target/tc-digitalocean-plugin-${version}.zip
- tcdop-server - main project module. Server's part of the module
- tcdop-model - project's domain model. Used by server's and agent's parts of the plugin
- tcdop-agent - agent's part of the plugin. It isn't used currently
- tc-digitalocean-plugin - assembly module. Produces .zip file according to the Teamcity plugin spec.
- int-tests - integration test for digital ocean client
- tcdop-ssh-client - module is used by the integration test