Skip to content

Improve interaction between scheduled and docker pipelines

Marcel Amirault requested to merge simplify-pipeline-rules-4 into main

This is a part of !3605 (closed), which was too big to review. This MR makes use of the new pipeline names to help fix the interactions between scheduled pipelines and the other pipelines (mostly docker image jobs).

  • We should run tests before building the images, so adds the test to the image build pipeline.
  • Moves the build-images stage to run after the tests.
  • Makes sure docker image jobs aren't added to other "scheduled" pipelines, including the hourly deployment pipeline and the monthly environments cleanup.
  • Removes several related when: never rules that are no longer needed now that we are using pipeline names, and not rules that apply to all scheduled pipelines.

Example of current scheduled config that is incorrect:

Related issues

Edited by Marcel Amirault

Merge request reports