Page MenuHomePhabricator

Feature request: Quibble could output the one line command to reproduce locally at the start of a run
Open, Needs TriagePublic

Description

It would be awesome to just copy and paste a quibble docker command + all the required env variables from the console output of a jenkins job to then be able to reproduce it locally.

For example the first output from quibble could be something like:

To reproduce run: docker run -it --rm   -v "$(pwd)"/cache:/cache   -v "$(pwd)"/log:/workspace/log -e EXT_DEPENDENCIES='mediawiki/extensions/BetaFeatures\nmediawiki/extensions/Capiunto\nmediawiki/extensions/CentralAuth\nmediawiki/extensions/CirrusSearch\nmediawiki/extensions/Cite\nmediawiki/extensions/Echo\nmediawiki/extensions/EducationProgram\nmediawiki/extensions/Elastica\nmediawiki/extensions/EventLogging\nmediawiki/extensions/GeoData\nmediawiki/extensions/GuidedTour\nmediawiki/extensions/PdfHandler\nmediawiki/extensions/Scribunto\nmediawiki/extensions/SiteMatrix\nmediawiki/extensions/SyntaxHighlight_GeSHi\nmediawiki/extensions/TimedMediaHandler\nmediawiki/extensions/UniversalLanguageSelector\nmediawiki/extensions/VisualEditor\nmediawiki/extensions/WikiEditor\nmediawiki/extensions/Wikibase\nmediawiki/extensions/WikibaseLexeme\nmediawiki/extensions/WikibaseQuality\nmediawiki/extensions/WikibaseQualityConstraints\nmediawiki/extensions/WikimediaBadges\nmediawiki/extensions/cldr' -e ZUUL_PROJECT=mediawiki/extensions/ContentTranslation  -e ZUUL_CHANGE=449454 -e ZUUL_CHANGE_IDS="449453,1 449454,1" docker-registry.wikimedia.org/releng/quibble-stretch:latest --db=mysql

Alternatively it could produce a .env file with all the projects, patchsets etc.. required.