Hashar has uploaded a new change for review. https://gerrit.wikimedia.org/r/54635
Change subject: (bug 45084) update beta database automatically ...................................................................... (bug 45084) update beta database automatically This create a basic layout to create new jobs for the beta cluster. They should be tied to Jenkins slave 'deployment-bastion' which is provided by the new `beta` default. The job run `mwscript update.php` every hour for the enwiki database. Change-Id: Ib49518068f91232ab074a3bfa8b8a63f6b54dc34 --- A beta.yaml 1 file changed, 45 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/integration/jenkins-job-builder-config refs/changes/35/54635/1 diff --git a/beta.yaml b/beta.yaml new file mode 100644 index 0000000..a5a0540 --- /dev/null +++ b/beta.yaml @@ -0,0 +1,45 @@ +# Contains any jobs related to the beta cluster. +# +# Beta is a cluster meant to reproduce the production environnement out of +# virtual instances in the Wikimedia labs. We use Jenkins job to maintain +# some recurring tasks such as running the MediaWiki database schema updates. +# +# Jobs should be prefixed with 'beta-' and tied to the 'deployment-bastion' +# host defined in Jenkins. They will run as the `jenkins-deploy` user on that +# instance. To create a new job simply use the provided default which would +# take care of the basic configuration. +# +# Example: +# +# - job: +# name: beta-myawesomeness +# defaults: beta +# + +# Basic valid defaults, making sure we run on the deployment-bastion host +# slave nodes which is in labs. +- defaults: + name: beta + description: | + <p>Job is managed by <a href="https://www.mediawiki.org/wiki/CI/JJB">Jenkins Job Builder</a>.</p> + project-type: freestyle + + node: deployment-bastion + + wrappers: + - timeout: + timeout: 360 + fail: true + - timestamps + - ansicolor + +# Every hour, update the `enwiki` database using update.php. +- job: + name: beta-updatedb-enwiki + defaults: beta + + builders: + - shell: "sudo -u mwdeploy mwscript update.php --wiki=enwiki --quick" + + triggers: + - timed: '@hourly' -- To view, visit https://gerrit.wikimedia.org/r/54635 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ib49518068f91232ab074a3bfa8b8a63f6b54dc34 Gerrit-PatchSet: 1 Gerrit-Project: integration/jenkins-job-builder-config Gerrit-Branch: master Gerrit-Owner: Hashar <has...@free.fr> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits