Cli/ref/mw docker mediawiki quibble

< Cli | ref

mw docker mediawiki quibble

edit

Runs commands in a ‘quibble’ container.

Synopsis

edit

MediaWiki Quibble

edit

Runs commands in a quibble container.

This integration is WORK IN PROGRESS

Gotchas:
    - This is a WORK IN PROGRESS integration, so don't expect all quibble features to work.
    - quibble will run tests for ALL checked out extensions by default.
    - If you let quibble touch your setup (missing --skip-install for example) it might break your environment.
    - quibble has various things hardcoded :(, for example the user and password for browser tests, you might find the below command helpful.

mw docker mediawiki exec php maintenance/createAndPromote.php -- --sysop WikiAdmin testwikijenkinspass

Documentation

edit
mw docker mediawiki quibble [flags] [quibble-commands]... -- [quibble-args]

Examples

edit
# Start an interactive terminal in the quibble container
quibble bash

# Get help for the quibble CLI tool
quibble quibble -- --help

# Run php-unit quibble stage using your mwdd LocalSettings.php, skipping anything that alters your installation
quibble quibble -- --skip-zuul --skip-deps --skip-install --db-is-external --run phpunit-unit

# Run composer phpunit:unit inside the quibble container
quibble quibble -- --skip-zuul --skip-deps --skip-install --db-is-external --command "composer phpunit:unit"

Options

edit
  -u, --user string   User to run as, defaults to current OS user uid:gid (default "0:0")

Options inherited from parent commands

edit
  -c, --context string   The context to use (default "default")
      --help             Help for this command
      --no-interaction   Do not ask any interactive questions
  -v, --verbose count    Increase output verbosity. Example: --verbose=2 or -vv

SEE ALSO

edit