[Proposal] Run ansible-linter in early CI stage#886
Conversation
4e52bb3 to
aa007cd
Compare
aa007cd to
d533719
Compare
There was a problem hiding this comment.
Seems great, just one question
In this implementation, we have multiple workflows, that each contains one job
Would it be simpler to have multiple jobs called from one workflow ?
And have each distrubution tests using the needs: [ansible-lint] ?
For example here : https://github.com/geisa/conformance/blob/4e20c7bd2bf6b30f3ae40e45529ae9ab89c9dc96/.github/workflows/ci-conformance.yml
That being said, it is great to keep
- one workflow file per distribution check.
- the workflow dispatch on each distribution check.
So I don't know if it is possible to do that, it would just seems more natural
|
Also, the naming is a bit broken. Now we have |
|
Also, it seems not possible to stop only one distribution test and relaunch it (ex: stopping/relaunching only the debian CI) |
|
I think the workflow-by-distribution approach still makes sense for a few reasons:
The
Because of that, I think we should clearly separate:
Concretely, I would suggest:
This way:
Jobs in distribution files should probably have a more specific name instead of Regarding re-running jobs: I can not really figure out what is the concrete use case where you would need to stop and reschedule a single job? |
Signed-off-by: Antoine Dupre <antoine.dupre@savoirfairelinux.com>
d533719 to
ff03294
Compare
Signed-off-by: Antoine Dupre <antoine.dupre@savoirfairelinux.com>
f22c908 to
efa09d4
Compare
Signed-off-by: Antoine Dupre <antoine.dupre@savoirfairelinux.com>
aafbf35 to
188b48c
Compare
|
Yes, I love the idea of introducing a top-level |
Signed-off-by: Antoine Dupre <antoine.dupre@savoirfairelinux.com>
|
LGTM Also @insatomcat I see that we are low on space on the debian ci runner, could you clean it up a bit or add space to the VM ? |
|
Merging that now, we should take care of
|

This PR is a proposal to move CI Q&A related checks (ansible-lint) before spawning functionnal tests environements for each distributions.
Current Situation
This setup leads to:
Proposed Changes
Move linter execution to an early CI stage:
The goal is to clearly separates Repository Quality Tests (ansible-linter specific to ansible repository) from functional distribution tests.
In the future, the publication of test reports and the management of artifacts could also be treated as dedicated post-test steps.