Deployment tooling/Cabal/2016-10-24

2016-10-17

 * checks for different environments:
 * currently join?
 * we'd need overwrite or something similar, let's discuss


 * Scap targets live in repo
 * creates depooling problems for ops
 * canaries should be under control of repos/repo owners
 * Link targets to pooling information
 * TODO: Make task

Next release/blocking

 * Should probably happen soon. We're sitting on too many changes currently.
 * ✅ scap3 service restart failure
 * ✅ scap3 should announce all deploys
 * ✅ Remove unnecessary sudo execution and simplify context
 * ??? Scap3 submodule space issues (all users, no workaround, enhancement)
 * scap deploy-local should make fewer assumptions (debt)
 * Will try a feature flag this week
 * ✅ (scap part) Scap SWAT automate patch merging & testing during a swat deployment (new functionality)
 * sub sub-commands
 * done
 * mw-config part, does not block scap release
 * ✅ man page and doc updates

Needs review from scap dev

 * Scap SWAT (mw-config) - Probably needs a +1 before a SWAT window

Tasks

 * Scap config management: Jinja2 fills templates with Pythonic values (all users, ugly workaround, incorrect functionality)
 * Scap3 config references to deployed directory (all users, no workaround, incorrect/non-obvious functionality)
 * 2 parts: modifications to deployed directory and what directory that refers to
 * done documentation for scap plugins
 * Define your own deploy workflow via plugins in extreme cases (but you're on your own)
 * Automate beta scap3/keyholder setup (debt)
 * Easy, but dumb to do manually
 * Tricky to automate
 * Oh how I've pined for a version flag (new functionality)
 * Low priority

Updates

 * plugin docs merged:
 * https://doc.wikimedia.org/mw-tools-scap/dev/plugins.html#plugins
 * https://doc.wikimedia.org/mw-tools-scap/api.html#scap.cli.command

As Always

 * Phase 2
 * Phase 1
 * Workboard https://phabricator.wikimedia.org/tag/scap3/
 * Etherpad backed up to https://www.mediawiki.org/wiki/Deployment_tooling/Cabal
 * Future document https://www.mediawiki.org/wiki/Deployment_tooling/Future
 * Spreadsheet: https://docs.google.com/spreadsheets/d/1MlEsFxrLvdZdV_G82WEAIvBXr7ArO7nCEKaFClHhJEw/edit#gid=0