Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/legal90/teamcity-cookbook

Chef cookbook for setting up TeamCity Build Agent
https://github.com/legal90/teamcity-cookbook

Last synced: about 1 month ago
JSON representation

Chef cookbook for setting up TeamCity Build Agent

Awesome Lists containing this project

README

        

# TeamCity Cookbook

This is a Chef Cookbook allowing to manage TeamCity Build Agent.
_(Teamcity Server is in progress)_.

## Requirements

### Platforms

- RHEL/CentOS 6
- RHEL/CentOS 7
- Debian 7
- Debian 8
- Ubuntu 14.04
- Ubuntu 16.04
- Windows 2012R2 (agent only)

### Chef

- Chef 12.6+

### Cookbooks

- `ark`
- `java`
- `chocolatey`

## Attributes


Key
Type
Description
Default


['teamcity']['version']
String
The version of TeamCity.
`"9.0"`


['teamcity']['username']
String
The username that TeamCity will be running under.
`"teamcity"`


['teamcity']['password']
String
The password that TeamCity will be running under.



['teamcity']['group']
String
The group that TeamCity will be running under.
`"teamcity"`


['teamcity']['install_prefix']
String
The parent directory path were TeamCity will be installed
Windows: `C:\` , Linux: `/opt`


['teamcity']['service_name']
String
The service name of TeamCity.
Windows: TCBuildAgent || Linux: teamcity


['teamcity']['server']['backup']
String
The URI of the TeamCity backup.



['teamcity']['server']['database']['username']
String
The database user name.



['teamcity']['server']['database']['password']
String
The database password.



['teamcity']['server']['database']['connection_url']
String
The JDBC connection URL.



['teamcity']['server']['database']['jar']
String
The URI of the database JAR file.



['teamcity']['agent']['name']
String
The agent name.



['teamcity']['agent']['server_uri']
String
The URI of the TeamCity server.



['teamcity']['agent']['own_address']
String
The IP address of the TeamCity Build Agent.
`nil` (will be set automatically)


['teamcity']['agent']['port']
String
The The port to use for the TeamCity Build Agent.
`9090`


['teamcity']['agent']['authorization_token']
String
The authorization token for the agent to be authorized on the TeamCity Server.
`nil`


['teamcity']['agent']['system_properties']
String
Build Script Properties.



['teamcity']['agent']['env_properties']
String
Environment Variables.



['teamcity']['agent']['work_dir']
String
The work directory of the TeamCity Build Agent.
`"../work"`


['teamcity']['agent']['temp_dir']
String
The temp directory of the TeamCity Build Agent.
`"../temp"`


['teamcity']['agent']['system_dir']
String
The main directory of the TeamCity Build Agent.
`"../system"`

## Recipes

- `teamcity::default` - sets up JRE and TeamCity Build Agent.
- `teamcity::agent` - sets up TeamCity Build Agent only. Use it if you want
to set up JRE by yourself.

## License and Authors

- Author:: Mikhail Zholobov ()
- Author:: Alex Falkowski ()

```
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
```