Fix rules for image builds in stable branch pipelines
What does this MR do and why?
The stable branch pipeline failed (https://gitlab.com/gitlab-org/gitlab-docs/-/pipelines/840510008) with:
Unable to create pipeline
- 'image:docs-single' job needs 'test:image:docs-single' job, but 'test:image:docs-single' is not in any previous stage
- 'image:docs-single-lunrjs' job needs 'test:image:docs-single-lunrjs' job, but 'test:image:docs-single-lunrjs' is not in any previous stage
This was because the image test jobs were not set to run in the stable branch pipelines (a mistake from #1324 (closed)).
This MR sets both the image jobs and the test image jobs to all run on the stable branch pipelines, with the same rules.
Screenshots, screen recordings, or links to review app
These are strongly recommended to assist reviewers and reduce the time to merge your change.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
-
Configure a local GitLab Docs environment: https://gitlab.com/gitlab-org/gitlab-docs/-/blob/main/doc/setup.md.
Merge request acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this merge request.