Skip to content

Add hooks to skip jobs in the pipeline

Description

This MR adds CI YAML configuration to enable skipping sections of the CI pipeline. The define hooks are:

Commit message text Action
[skip conda] Skip Conda build jobs (and their dependents)
[skip debian] Skip Debian build jobs (and their dependents)
[skip docs] Skip documentation jobs
[skip integration] Skip integration test jobs
[skip lint] Skip lint jobs
[skip rhel] Skip RHEL build jobs (and their dependents)
[skip wheels] Skip Python wheel build jobs test jobs

For example, to skip all of the package building jobs, you would add [skip conda][skip rhel][skip debian] to your commit message (anywhere).

It's important that this isn't abused; any code changes need to be properly tested by all build jobs.

API Changes and Justification

Backwards Compatible Changes

  • This change introduces no API changes
  • This change adds new API calls

Backwards Incompatible Changes

  • This change modifies an existing API
  • This change removes an existing API

If any of the Backwards Incompatible check boxes are ticked please provide a justification why this change is necessary and why it needs to be done in a backwards incompatible way.

Review Status

@adam-mercer should approve this, other interested persons might be @karl-wette and @leo-singer.

Merge request reports

Loading