Page MenuHomePhabricator

Phase out yamllint jobs
Closed, ResolvedPublic

Description

The yamllint job is based on the python implementation which is not always suitable since some repositories are using a PHP or JavaScript implementation. It is also causing us to have to maintain per repo specific jobs.

Instead, the yaml linting should be done by a test embedded in the repository and run by the usual test job (npm test, tox, etc).

Event Timeline

hashar raised the priority of this task from to Needs Triage.
hashar updated the task description. (Show Details)
hashar subscribed.
Krinkle moved this task from Untriaged to Backlog on the Continuous-Integration-Infrastructure board.
Krinkle set Security to None.

Change 191881 had a related patch set uploaded (by Hashar):
Remove yamllint jobs

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

Change 191882 had a related patch set uploaded (by Hashar):
Remove yamllint

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

Change 242126 had a related patch set uploaded (by Hashar):
Tweak 'yamlllint' Gerrit message to mention deprecation

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

Change 242126 merged by jenkins-bot:
Tweak 'yamlllint' Gerrit message to mention deprecation

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

Change 243137 had a related patch set uploaded (by Hashar):
Phase out yamllint

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

Change 191881 abandoned by Hashar:
Remove yamllint jobs

Reason:
Done iteratively.

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

Change 243137 merged by jenkins-bot:
Phase out yamllint

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

hashar claimed this task.

Job is gone from Jenkins and I have deleted the workspace. The script is gone as well.

Remaining 'blockers' are todo tasks to have the repo use tests instead. Some even have patches associated.

[12:53] <aharoni> hashar: https://phabricator.wikimedia.org/T95892
[12:53] <aharoni> is there anything left to do?
[12:54] <aharoni> Is ContentTranslation still different from other extensions in any regard? It should be the same.
[12:55] <+hashar> aharoni: do you have a PHPUnit test that lint the YAML files ?
[12:55] <aharoni> I don't think so. Where do I add it?
[12:55] <aharoni> How is it done in other extensions?
[12:56] <aharoni> It's .rubocop.yml, so it should be the same as all the other extensions that have .rubocop.yml.

Phabricator_maintenance renamed this task from Phase out yamllint jobs (tracking) to Phase out yamllint jobs.Aug 13 2016, 9:49 PM