Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

chef-teamcity (6) Versions 1.0.0

Installs/Configures TeamCity agent/server.

Policyfile
Berkshelf
Knife
cookbook 'chef-teamcity', '~> 1.0.0', :supermarket
cookbook 'chef-teamcity', '~> 1.0.0'
knife supermarket install chef-teamcity
knife supermarket download chef-teamcity
README
Dependencies
Changelog
Quality 17%

chef-teamcity-cookbook

Gives you the ability to create TeamCity server/agent

Supported Platforms

  • CentOS 6.5
  • Redhat 6.5
  • Windows (agent only)

Depends

  • java
  • git
  • mercurial
  • subversion

Attributes

<table>
<tr>
<th>Key</th>
<th>Type</th>
<th>Description</th>
<th>Default</th>
</tr>
<tr>
<td><tt>['teamcity']['version']</tt></td>
<td>String</td>
<td>The version of TeamCity.</td>
<td><tt>8.1.5</tt></td>
</tr>
<tr>
<td><tt>['teamcity']['username']</tt></td>
<td>String</td>
<td>The username that TeamCity will be running under.</td>
<td><tt>teamcity</tt></td>
</tr>
<tr>
<td><tt>['teamcity']['password']</tt></td>
<td>String</td>
<td>The password that TeamCity will be running under.</td>
<td></td>
</tr>
<tr>
<td><tt>['teamcity']['group']</tt></td>
<td>String</td>
<td>The group that TeamCity will be running under.</td>
<td><tt>teamcity</tt></td>
</tr>
<tr>
<td><tt>['teamcity']['service_name']</tt></td>
<td>String</td>
<td>The service name of TeamCity.</td>
<td><tt>teamcity</tt></td>
</tr>
<tr>
<td><tt>['teamcity']['server']['backup']</tt></td>
<td>String</td>
<td>The URI of the TeamCity backup.</td>
<td><tt></tt></td>
</tr>
<tr>
<td><tt>['teamcity']['server']['database']['username']</tt></td>
<td>String</td>
<td>The database user name.</td>
<td><tt></tt></td>
</tr>
<tr>
<td><tt>['teamcity']['server']['database']['password']</tt></td>
<td>String</td>
<td>The database password.</td>
<td><tt></tt></td>
</tr>
<tr>
<td><tt>['teamcity']['server']['database']['connection_url']</tt></td>
<td>String</td>
<td>The JDBC connection URL.</td>
<td><tt></tt></td>
</tr>
<tr>
<td><tt>['teamcity']['server']['database']['jar']</tt></td>
<td>String</td>
<td>The URI of the database JAR file.</td>
<td><tt></tt></td>
</tr>
<tr>
<td><tt>['teamcity']['agent']['name']</tt></td>
<td>String</td>
<td>The agent name.</td>
<td><tt></tt></td>
</tr>
<tr>
<td><tt>['teamcity']['agent']['server_uri']</tt></td>
<td>String</td>
<td>The URI of the TeamCity server.</td>
<td><tt></tt></td>
</tr>
<tr>
<td><tt>['teamcity']['agent']['own_address']</tt></td>
<td>String</td>
<td>The IP address of the TeamCity agent.</td>
<td><tt>nil (will be set automatically)</tt></td>
</tr>
<tr>
<td><tt>['teamcity']['agent']['port']</tt></td>
<td>String</td>
<td>The The port to use for the teamcity agent.</td>
<td><tt>9090</tt></td>
</tr>
<tr>
<td><tt>['teamcity']['agent']['authorization_token']</tt></td>
<td>String</td>
<td>The authorization token for the agent to be authorized on the teamcity server.</td>
<td><tt>nil</tt></td>
</tr>
<tr>
<td><tt>['teamcity']['agent']['system_properties']</tt></td>
<td>String</td>
<td>Build Script Properties.</td>
<td><tt></tt></td>
</tr>
<tr>
<td><tt>['teamcity']['agent']['env_properties']</tt></td>
<td>String</td>
<td>Environment Variables.</td>
<td><tt></tt></td>
</tr>
<tr>
<td><tt>['teamcity']['agent']['work_dir']</tt></td>
<td>String</td>
<td>The work directory of the teamcity agent.</td>
<td><tt>windows: C:/teamcity/work || linux: ../work</tt></td>
</tr>
<tr>
<td><tt>['teamcity']['agent']['temp_dir']</tt></td>
<td>String</td>
<td>The temp directory of the teamcity agent.</td>
<td><tt>windows: C:/teamcity/temp || linux: ../temp</tt></td>
</tr>
<tr>
<td><tt>['teamcity']['agent']['system_dir']</tt></td>
<td>String</td>
<td>The main directory of the teamcity agent.</td>
<td><tt>windows: C:/teamcity || linux: ../system</tt></td>
</tr>
</table>

Usage

chef-teamcity::server

Include chef-teamcity in your node's run_list:

{
  "run_list": [
    "recipe[chef-teamcity::server]"
  ]
}

chef-teamcity::agent

Include chef-teamcity in your node's run_list:

{
  "run_list": [
    "recipe[chef-teamcity::agent]"
  ]
}

License and Authors

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.

Dependent cookbooks

java >= 0.0.0
git >= 0.0.0
mercurial >= 0.0.0
subversion >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

0.1.0

  • Initial release of chef-teamcity

0.2.0

  • Fix groups - 7.

0.3.0

  • Add java recipes - 8.
  • Added stove gem with version 3.2.3 - 9.

0.4.0

  • Don't regenerate the properties file if it already exists. Teamcity stores the authorizationToken there. - 10.

0.5.0

  • Make sure we don't process the same backup. - 11.

0.6.0

  • Make sure we specify the creation of a home directory. - 14.
  • Added git, mercurial and subversion.. - 15.

0.7.0

  • Removed duplication between agent and server. - 16
  • Added support for Teamcity 9.0 - 16

Collaborator Number Metric
            

1.0.0 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

1.0.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file

Foodcritic Metric
            

1.0.0 failed this metric

FC009: Resource attribute not recognised: chef-teamcity/recipes/default.rb:36
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric
            

1.0.0 passed this metric

Testing File Metric
            

1.0.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file

Version Tag Metric
            

1.0.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number