Giter Site home page Giter Site logo

digitalocean-teamcity-plugin's Introduction

This is a TeamCity Cloud Plugin that provides integration with Digital Ocean and allows running build agents in Cloud.

Install and configure plugin on the client

  • Setup your testing environment and install build agent as described in TeamCity's documentation
  • Edit file $BUILD_AGENT_INSTALL_PATH/conf/buildAgent.properties ** Find digitalocean-cloud.image.id property and set it to the specific image (aka DigitalOcean's snapshot) that you gonna use. Use name of your snapshot as Image Id. ** Setup URL to your TeamCity server ** Make sure that authorization_token is not set ** Setup any other properties as you want
  • Run buildAgent and wait until it connects to the server. During the first run it may download a plenty of plugins from TeamCity server.
  • When you are sure that agent and instance are configured properly, shutdown agent and instance.
  • Edit buildAgent.properties and remove clean-up authorization_token and name
  • Shutdown instance and run it again to ferify that agent run automatically with system start
  • Edit buildAgent.properties and remove clean-up authorization_token and name =) Do not forget check it
  • Shutdown instance
  • Make snapshot and name it the same title as digitalocean-cloud.image.id is You have just set up an cloud agent, have fun!

Install and setup plugin on the server

  • Shutdown TeamCity
  • Copy digitalocean-cloud.zip to the folder $TEAM_CITY_HOME/plugins
  • Start TeamCity again
  • Go to cloud clients setting
  • Click create new client ** Specify build agent idle time ** Select Digital Ocean Cloud ** Enter you API key ** Enter Client ID ** Enter Image name, use your image name from DigitalOcean snapshot ** Enter ssh key name that you want to install on the client ** Select region where you instance will be running ** Select size of your future instance ** Click Save and make sure that there are no errors
  • For the first time client created TeamCity tries to create an instance in cloud, so verify that everything is OK and new instance has actually appeared in your Digital Ocean's account.

License

You may do what ever you like with those sources. or I could also say the license is MIT.

digitalocean-teamcity-plugin's People

Contributors

graf avatar sandcastle avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.