Skip to content
This repository has been archived by the owner on Aug 5, 2024. It is now read-only.

Templates to deploy a TeamCity server with custom agents.

Notifications You must be signed in to change notification settings

unicolored/cicd-teamcity-server

Repository files navigation

CI/CD withTeamcity

Setup a private host with Ansible, to run Teamcity server and agents.

Start a Teamcity agent locally and connect it to the server.
https://hub.docker.com/r/jetbrains/teamcity-agent/

A PostGres database is required for the Teamcity server.

Prerequisites

  • Configure the hosts.ini file with the hostname and ip of the server.
  • Add you aws credentials in both agent and server if needed
  • Add an ssh key to the agent if needed
  • Update the ansible vault variables: remote-server/ansible/group_vars/teamcity.vars.yml
  • Add public and private cert for https on the nginx proxy

Run ansible

cd remote-server/ansible

# sh play.sh OR
ansible-playbook -e @group_vars/teamcity.vault.yml --vault-password-file .vault_passwd ./play-teamcity.yml -i ./hosts.ini

About

Templates to deploy a TeamCity server with custom agents.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published