[go: up one dir, main page]

Code Quality page does not specify job stage

Problem to solve

On the Code Quality page of CI/CD, https://docs.gitlab.com/ee/user/project/merge_requests/code_quality.html#example-configuration, the documentation does not explain what stage the included job through the Code-Quality.gitlab-ci.yml template uses.

This causes the .gitlab-ci.yml file to be invalid until the user navigates through the source code and finds the Code-Quality.gitlab-ci.yml file, and adds the test stage to their stages. Though most CI-configs usually include the test stage, it is not explicitly explained that it needs to be included for the code_quality job to work.

Further details

By including this information, it is easier to get started with the Code Quality funcionality.

Proposal

This can be fixed by specifying that the .gitlab-ci.yml file needs to include the test stage.

Who can address the issue

Basically anyone can fix this.

Edited by Daniel