Bug 225060

Summary: Automate deployment of customized Bugzilla code
Product: Services Reporter: Oleksandr Tymoshenko <gonzo>
Component: Bug TrackerAssignee: Bugmeister <bugmeister>
Status: New ---    
Severity: Affects Only Me CC: lwhsu
Priority: ---    
Version: unspecified   
Hardware: Any   
OS: Any   

Description Oleksandr Tymoshenko freebsd_committer freebsd_triage 2018-01-10 23:58:07 UTC
At the moment deploying Bugzilla with FreeBSD's customizations requires several manual steps which is error-prone and requires manual rollback if things doesn't work out. 

bugmeister@ team needs to come up with automated way of single-command deployment and single-command rollback to previous working version. Using this command git version can be deployed to test instance and if it passes smoke test it can be deployed on main instance.

This will make deploying new features and fixes a low-risk task unlike with the current state of affairs.

I had some positive experience with Ansible[1] tool for automated deployments. And did some very basic prototyping[2] for Bugzilla setup. It's primitive at the moment but provides a general overview what playbook might look like. I'd like to get a feedback from team members before continuing this work.


[1] https://www.ansible.com
[2] http://people.freebsd.org/~gonzo/bugzilla.yml