Page MenuHomePhabricator

Create deployment playbook for wmde/github-webhook
Closed, DeclinedPublic3 Estimated Story Points

Description

Create a Playbook that does the following steps on the deployment machine:

  • Install nginx and php-fpm
  • Create Vhost for the web directory of https://github.com/wmde/github-webhooks. Nice to have: vhost/firewall only allows github and WMDE IP addresses (the latter for testing).
  • install incron and configure it to run the deployment scripts (in cli folder) when some file changes.
  • Install a cronjob that also triggers the cli scripts. This is for cases where there were multiple push requests for the same branch and the deployments are queued. In these cases, incron won't work.
  • Add deploy hooks to https://github.com/wmde/github-webhooks so it can be deployed with our wmde-atomicdeploy Ansible role.

Event Timeline

gabriel-wmde updated the task description. (Show Details)May 10 2017, 3:28 PM
gabriel-wmde changed the point value for this task from 2 to 3.
Pablo-WMDE closed this task as Declined.EditedJun 2 2017, 10:31 AM
Pablo-WMDE added a subscriber: Pablo-WMDE.

After an off-the-record prototype and discussion inside the team we decided to terminate the DIY webhook project and go the jenkins (T167096 + T157577) way.