Skip to content

softasap/sa-teamcity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SA-TEAMCITY

Build Status

Example of infrastructure to deploy on a single dedicated ubuntu 14.04 LTS box:

https://github.com/softasap/sa-teamcity/tree/master/box-example

  1. init dependencies (bootstrap.sh / bootstrap_mac.sh)

  2. initialize dependencies ( run init.sh)

  3. use box.yml as a template to adjust your configuration (see possible variables below)

  4. Using provision_box.sh as an example, configure your own box.

Note: user for deployment should be sudoer without password.

This script: http://bit.ly/sudoer can be used to make user a temporary sudoer.

=====================================================================================

Example of use:

  • hosts: www

    vars:

    • root_dir: "{{playbook_dir}}/../"

    pre_tasks:

    • debug: msg="Pre tasks section"

    roles:

    • { role: "sa-teamcity" }

    tasks:

    • debug: msg="Tasks section"

Possible overrides:

option_install_postgres: true

option_install_nginx: true

option_install_java: true

teamcity_install_dir: /opt/teamcity teamcity_version: 9.1.6 teamcity_domain: teamcity.vagrant.dev

JAVA SECTION

java_version: 7

/ JAVA SECTION

POSTGRES SECTION

option_create_app_user: true

postgresql_version: 9.3

postgresql_listen_addresses: localhost # * for any address

postgresql_port: 5432

Set remotely to allow listening

#postgres_app_network: "192.168.0.1/32" #postgres_app_network_regex: "192.168.0.1/32"

Set remotely to allow listening

#postgres_dev_network: "192.168.0.1/32"

db_host: localhost db_user: teamcity db_password: BDa29Ia3BAROci66DQ99 db_name: teamcity

#/ POSTGRES SECTION

About

Jetbrains teamcity cd ci server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages