HomePhabricator

docker: add patch coverage utilities to Quibble

Authored by hashar on Jul 17 2018, 9:20 PM.

Description

docker: add patch coverage utilities to Quibble

The mediawiki/phpunit-patch-coverage package is an utility to generate
coverage reports for a git patch. It does not belong to MediaWiki and
we thus ship it in the container for Quibble.

We only generate report with php 7.0, so it is only needed in
releng/quibble-stretch container.

Use a temporary directory as composer home for cache etc.
Install phpunit-patch-coverage in its own directory under /opt and link
the binary to /usr/local/bin so it can be find via PATH.

Provide shell wrappers to be used instead of Quibbleto be used instead
of Quibble stages (via --commands).

Bug: T195918
Change-Id: I2fc86929ae9dfa5520f31c8852cef8ee67fdb560

Details

Committed
hasharJul 27 2018, 2:39 PM
Parents
rCICF2771e5635b63: Provide a container with pebble for certcentral
Branches
Unknown
Tags
Unknown
ChangeId
I2fc86929ae9dfa5520f31c8852cef8ee67fdb560