[Engineering] Scap 3.5.1-1 is live

Tyler Cipriani tcipriani at wikimedia.org
Mon Jan 30 22:11:34 UTC 2017


Hi all,

Scap version 3.5.1-1 has been released and with it comes a few changes.

tl;dr highlights:

== MediaWiki Deploys ==

* Subcommands are the only way to scap (e.g., scap sync-file vs. sync-file) Old
  stub entry points for scap (e.g., sync-file, sync-dir, mwversionsinuse, etc)
  are gone. Formerly old binstubs simply exited with a non-zero exit code.

* MediaWiki canary deploys now check for both hhvm and mediawiki errors

* scap sync-file and scap sync-dir are now the same command internally.  scap
  sync-dir is now deprecated

== Scap3/Service Deploys ==

* Scap's rollback behavior has been greatly improved. Scap supports a global
  `failure_limit` and a per-group `failure_limit` -- if a deployment exceeds the
  number or percentage of failures specified by this limit a deploy will fail and
  you will be prompted to rollback. Also, if you opt to *not* continue a
  deployment on remaining deploy groups, you will receive the option to rollback.
  (Fixes T149008)

* Scap3: This scap release has some rollback logic fixes. First, if there is
  initial ssh failure for a host, scap will no longer attempt a rollback on that
  host (since the same ssh failure will likely cause a rollback failure). Next,
  all previously deployed groups of servers will now be rolled-back -- not just
  the group of servers that had failures. (Fixes T150267, T145460)

You can see the full changelog in the repo[0].

<3 -- The Scap Folks

[0]. <https://phabricator.wikimedia.org/source/scap/browse/release/debian/changelog>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.wikimedia.org/pipermail/engineering/attachments/20170130/fffed721/attachment.sig>


More information about the Engineering mailing list