Skip pipeline schedules for archived projects

What does this MR do and why?

Presently archived projects can contain active pipeline_schedules. Although there is a check much further down the codepath that avoids creating pipelines for archived projects, currently pipeline_schedules for archived projects are being enqueued

This task came out of a discussion related to #548938 (closed) and ongoing pipeline improvements.

A discussion in the group::organizations slack channel it was decided that organizations would take on ensuring that the policy related to archiving projects included deactivating pipeline_schedules #551174 (closed) and pipeline_execution would add logic to skip queueing pipeline schedules for archived projects.

Related to #551190 (closed)

Edited by Vlad Wolanyk

Merge request reports

Loading