Project development environment for Continuous Deployment and Crash Monitoring. This set of roles includes:
- Drone.io
- Sentry
- PyPi Server
- Mail server
- Teamcity (not activated)
- Edit settings
inventory/group_vars/all/main.yml
- Edit secret settings in vault:
inventory/group_vars/all/vault.yml
- Provide sentry key and certificate in
playbook/roles/sentry/files/
. Encrypt key with openssl and{{sentry_ssl_passphrase}}
- Provide pypiserver key and certificate in
playbook/roles/pypiserver/files/
. Encrypt key with openssl and{{pypiserver_ssl_passphrase}}
- Run
ansible-playbook -i inventory/production playbook/site.yml --ask-vault-pass
All services are deployed to the single server. Check inventory/production
for details.
If basic domain is krasnoperov.me
, then services will be available at:
- ci.krasnoperov.me
- sentry.krasnoperov.me
- pypi.krasnoperov.me
- Configure DNS records (SPF/DKIM for mail and A/CNAME for each service)
- Configure Teamcity through it's web interface
- Configure Sentry through it's web interface
Feel free to contact me if you have any questions.