Skip to content

Add rules to pipelines

Felix Ohms requested to merge 142-add-rules-to-pipelines into develop

Description

After a discussion in BBB, we agreed on the following:

  1. One pipeline runs at every commit, but just builds a container and runs the unit tests. So you can quickly check, if you messed something up
  2. One pipeline runs on a merge request with everything related to code. So build, test and integration tests. Licensing also runs, but only when a dependency is added or updated
  3. Nightlys get removed, as they don't test new things. Only the security and compliance pipelines are run nightly to generate the statistics.
  4. MR to develop pipeline with integration test
  • licensing only if go.mod or go.sum were edited

When exactly?

  • code quality -> currently on merge request only
  • controller test -> currently on merge request only

Related Issue

#142 (closed) Add rules to pipelines

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Closes #142 (closed)

Edited by Felix Ohms

Merge request reports