jenkins-bot has submitted this change and it was merged. Change subject: Enable submodules for operations/mediawiki-config phpunit tests ......................................................................
Enable submodules for operations/mediawiki-config phpunit tests This is required for I6743721f. The mediawiki/event-schemas submodule it being added to mediawiki-config to remove duplication of the schemas across multiple repositories. To pass the tests this submodule needs to be initialized. Override the scm for operations-mw-config-phpunit to have the Git plugin: - wipe the workspace - use a shallow clone (speed up) - explicity define we want submodules to be processed This has been tested against https://gerrit.wikimedia.org/r/#/c/255135/ and sets up the submodules appropriately. Signed-off-by: Antoine Musso <[email protected]> Change-Id: I27baf00f091567090bc766d47d1674ff291dcf6e --- M jjb/operations-misc.yaml 1 file changed, 11 insertions(+), 0 deletions(-) Approvals: Hashar: Looks good to me, approved jenkins-bot: Verified diff --git a/jjb/operations-misc.yaml b/jjb/operations-misc.yaml index 64667a0..6cca6e6 100644 --- a/jjb/operations-misc.yaml +++ b/jjb/operations-misc.yaml @@ -41,3 +41,14 @@ publishers: - phpunit-junit - archive-log-dir + scm: + # Override to wipe workspace/shallow clone and process submodules + - git: + url: '$ZUUL_URL/$ZUUL_PROJECT' + branches: + - '$ZUUL_COMMIT' + refspec: '$ZUUL_REF' + wipe-workspace: true + shallow-clone: true + submodule: + disable: false -- To view, visit https://gerrit.wikimedia.org/r/256979 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I27baf00f091567090bc766d47d1674ff291dcf6e Gerrit-PatchSet: 8 Gerrit-Project: integration/config Gerrit-Branch: master Gerrit-Owner: EBernhardson <[email protected]> Gerrit-Reviewer: Hashar <[email protected]> Gerrit-Reviewer: Legoktm <[email protected]> Gerrit-Reviewer: Thcipriani <[email protected]> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
