Page MenuHomePhabricator

Run lint in check pipeline for Urbanecm's tools
Closed, DeclinedPublic

Description

Hi,

it'll be good to run tox -e lint in check pipeline. This will have jenkins always vote somehow.

The question is: How to change integration/config.git to behave it like this?

Martin

List of repositories

  • labs/tools/wikinity
  • labs/tools/map-of-monuments
  • labs/tools/commons-mass-description
  • labs/tools/weapon-of-mass-description
  • labs/tools/harvesting-data-refinery
  • wikimedia-cz/tracker
  • wikimedia-cz/events
  • wikimedia-cz/mediawiki-config
  • wikimedia-cz/tools

Event Timeline

No. Those tools are in Python, composer is for PHP. Anyway, this question is more generic. The question is how to get jenkins to run tox -e lint or other lint command like composer lint for non whitelisted users (check pipeline).

I know how to configure jenkins to run full test for whitelisted users, I need to run only lint part. How?

The Zuul check pipeline is for users which have not been whitelisted to have code running for them, it only runs jobs that are fairly simple and do not execute code from the patch (eg php -l). Eventually the pipeline has to be removed entirely T192217 , most of the repositories now use CI entry point (composer test, npm test ..) which make it easy to reproduce on a local machine.