Skip to content

Seperate audit from test stage in Gitlab CI/CD pipelines

Description

In all our gitlab-ci.yml(s) put the audit and scheduled-audit job into their own stage after the test and before the publish stage . This leads to a stage structure of build - test - audit - publish (- deploy). Thus functionality of the pipeline stays as is.

Explanation

Looking at pipelines of a project it is cumbersome to figure out whether a pipeline failed because of not passing its test or an audit/scheduled audit did not pass. This gets increasingly confusing considering multiple pipelines of the same branch.

Dependencies, issues to be resolved beforehand

none

Edited by Rainer Killinger