Skip to content

darylrobbins/chef-teamcity-server

 
 

Repository files navigation

teamcity cookbook

Installs and configures a TeamCity server for 'production purposes' with a:

  • Database (PostgreSQL)
  • Git VCS support

Based on a pre-existing TeamCity server cookbook.

Tested on Ubuntu 12.04 x86_64.

Usage

Note manual steps are required to configure the TeamCity server that depend on the TeamCity version you choose to install. Should you need them, logs can be found in /opt/TeamCity/logs.

TeamCity 8

  1. Install default recipe
  2. Open the server homepage (http://configured-address:configured-port)
  3. Proceed with TeamCity initialization

TeamCity 7

  1. Install default recipe
  2. Open the server homepage (http://configured-address:configured-port)
  3. Proceed with TeamCity initialization but do not accept license agreement
  4. Restart the TeamCity server
sudo stop teamcity
# Wait until stopped
sudo start teamcity
  1. Reopen the server homepage
  2. Follow instructions to re-create the database

Attributes

default["teamcity"]["version"] = "8.1.4"
default["teamcity"]["address"] = "0.0.0.0"
default["teamcity"]["port"] = 8111
default["teamcity"]["postgresql"]["version"] = "9.2"
default["teamcity"]["postgresql"]["driver_version"] = "9.2-1002"
default["teamcity"]["postgresql"]["locale"] = "en_AU.UTF-8"
default["teamcity"]["git"]["version"] = "1.8.3"

Recipes

  • default: Installs Oracle Java, PostgreSQL, Git and the TeamCity server. Configures the TeamCity server and an Upstart service (teamcity).

Author

Author:: Matthew Ueckerman

Organisation:: MYOB

About

Installs and configures a TeamCity server for 'production purposes'

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%