Skip to content

Make sure docs only merge requests can run CI

Lin Jen-Shin requested to merge 207388-fix-docs-only-ci into master

Background

!24568 (merged) broke docs only merge requests pipeline because it added needs: [retrieve-tests-metadata] to various jobs. The attempt was to run them earlier so they're not blocked by the newly added Fixtures stage.

However, docs only merge requests do not have retrieve-tests-metadata job, and this can potentially apply to other jobs if they don't have retrieve-tests-metadata either.

What does this MR do?

Actually, we can just pass needs: [] because they really don't need anything.

Try to replicate the same pipeline as in https://gitlab.com/gitlab-org/gitlab/pipelines/119123894

Testing docs only merge request targeting this branch: !25614 (closed)

Screen_Shot_2020-02-20_at_23.18.25

This also addresses #207374 (closed) while I am at it.

Screenshots

Showing that we can run those tests without anything from setting up:

Screen_Shot_2020-02-20_at_23.12.27

Closes #207388 (closed)

Edited by Lin Jen-Shin

Merge request reports