Skip to content

Run only necessary jobs in master

Marin Jankovski requested to merge mj/run-only-necessary-jobs into master

Single pipeline schedule in master runs all policies at the same time. With the addition of 2 more policies, scheduled job will take longer to run. As we expand the set of policies this will affect the run times. This change:

  • Splits the single scheduled job to schedule per policy
  • Adds an env variable with which we control which jobs run under specific schedule

This changed does not touch rules in branches which means that all dry-runs will run every time a new branch is pushed.

With the addition of more policies, the README needed an update as well.

Merge request reports