-
Sub-task
-
Resolution: Done
-
Low
-
None
These tasks:
- https://integration.moodle.org/view/M309/job/02.%20Illegal%20whitespace%20(39_STABLE)/
- https://integration.moodle.org/view/M311/job/02.%20Illegal%20whitespace%20(311_STABLE)/
- https://integration.moodle.org/view/M400/job/02.%20Illegal%20whitespace%20(400_STABLE)/
- https://integration.moodle.org/view/M401/job/02.%20Illegal%20whitespace%20(401_STABLE)/https://integration.moodle.org/view/master/job/02.%20Illegal%20whitespace%20(master)/
Should be moved to ci.moodle.org.
Proof of concept job:
https://ci.moodle.org/view/WIP/job/WIP.90%20-%20Illegal%20whitespace%20checker
Configuration:
@Library('ci@standardJobs') _
|
|
checkWhitespace(new org.moodle.ci.Task(
|
repository: new org.moodle.ci.repositories.Integration(),
|
moodleVersion: new org.moodle.ci.versions.Master()
|
))
|
Groovy task: https://git.in.moodle.com/integration/nightlyjobs/-/blob/standardJobs/vars/checkWhitespace.groovy
Remaining to-do:
- tidy up task
- determine how best to run the task
- determine frequency (pollscm?)
- merge into main branch
- create new jobs
- disable old jobs + reconfigure surrounding jobs
- rejoice
This task is currently running in a container: andrewnicols/moodle-ci. Source: https://github.com/andrewnicols/docker-moodle_ci
This is just a really basic container with grep, and sed at the moment.