Expanded options for auto-canceling pipelines
Expanded options for auto-canceling pipelines
Currently, to use the auto-cancel redundant pipeline feature, you must set jobs that can be cancelled as interruptible: true
to determine whether or not a pipeline can be cancelled. But this only applies to jobs that are actively running when GitLab tries to cancel the pipeline. Any jobs that have not yet started (are in “pending” status) are also considered safe to cancel, regardless of their interruptible
configuration.
This lack of flexibility hinders users who want more control over which exact jobs can be cancelled by the auto-cancel pipeline feature. To address this limitation, we are pleased to announce the introduction of the auto_cancel:on_new_commit
keywords with more granular control over job cancellation. If the legacy behavior did not work for you, you now have the option to configure the pipeline to only cancel jobs that are explicitly set with interruptible: true
, even if they haven’t started yet. You can also set jobs to never be automatically cancelled.
CI/CD Components now generally available
CI/CD Components now generally available
In 16.6 we announced the release of an exciting Beta feature called CI/CD components. The component is the smallest building block of the upcoming CI/CD catalog, which is a centralized repository of components. Today we are excited to announce the General Availability of CI/CD components, and if you try out CI/CD components, you are also welcome to try the new CI/CD catalog, currently available as a Beta feature. You can search the CI/CD catalog for components that others have created and published for public use. Additionally, if you create your own components, you can choose to publish them in the catalog and share them with other GitLab users too!