Last modified: 2014-08-21 13:13:01 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T71433, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 69433 - Jenkins: shared job php-composer-validate should use a shallow git clone
Jenkins: shared job php-composer-validate should use a shallow git clone
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Continuous integration (Other open bugs)
wmf-deployment
All All
: Normal enhancement (vote)
: ---
Assigned To: Antoine "hashar" Musso (WMF)
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-08-12 12:41 UTC by Antoine "hashar" Musso (WMF)
Modified: 2014-08-21 13:13 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Antoine "hashar" Musso (WMF) 2014-08-12 12:41:32 UTC
The Jenkins job php-composer-validate is shared among repositories.  The workspace thus get switched between repositories causing a full clone which can be quite slow.  The macro clean the workspace which should be fine.

To speed up operation when running the job on huge repositories, we should probably wipe the workspace and use a shallow git clone instead.  I am not sure whether it will use the branch specifier $ZUUL_COMMIT  though.
Comment 1 Antoine "hashar" Musso (WMF) 2014-08-12 12:42:18 UTC
The use case is to have the job triggered for any repositories under mediawiki/extensions/  and mediawiki/skins/  as well as have it run reasonably fast when being triggered for mediawiki/core/ and other huge extensions repos.
Comment 2 Gerrit Notification Bot 2014-08-21 13:10:19 UTC
Change 155534 had a related patch set uploaded by Hashar:
php-composer-validate now use a shallow clone

https://gerrit.wikimedia.org/r/155534
Comment 3 Gerrit Notification Bot 2014-08-21 13:12:42 UTC
Change 155534 merged by jenkins-bot:
php-composer-validate now use a shallow clone

https://gerrit.wikimedia.org/r/155534

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links