Awight has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/346670 )
Change subject: [WIP] Implement "description" field ...................................................................... [WIP] Implement "description" field Change-Id: I16be5ff71a292c77143bff0c0f2c24f2f478f327 --- M bin/run-job M job.example.yaml 2 files changed, 8 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/wikimedia/fundraising/process-control refs/changes/70/346670/1 diff --git a/bin/run-job b/bin/run-job index 4c1a005..733efa9 100755 --- a/bin/run-job +++ b/bin/run-job @@ -17,6 +17,7 @@ status = runner.JobRunner(job).status() if status is not None: message += " " + yaml.dump(status).strip() + if job.description is not None except AssertionError: message = "{job} ***Invalid configuration***".format(job=job_name) print(message) diff --git a/job.example.yaml b/job.example.yaml index 523fbeb..523bcd4 100644 --- a/job.example.yaml +++ b/job.example.yaml @@ -6,6 +6,13 @@ # name: Take This Job and Shove It +# +# Optional text explaining the job. +# +description: > + Create TPS report in the basement, execute in triplicate and shoot it down + the pneumatic tube. Wait three weeks for delivery. + # The commandline that will be run. This is executed from Python and not from # a shell, so globbing, redirecting, and other trickery will not work. Please # give the full path to executables as in a crontab. -- To view, visit https://gerrit.wikimedia.org/r/346670 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I16be5ff71a292c77143bff0c0f2c24f2f478f327 Gerrit-PatchSet: 1 Gerrit-Project: wikimedia/fundraising/process-control Gerrit-Branch: master Gerrit-Owner: Awight <awi...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits