Skip to content

Draft: Accept .gitlab-ci.yaml as the default CI Config

Furkan Ayhan requested to merge 26169-accept-gitlab-ci-yaml-as-default into master

What does this MR do and why?

Today, we only accept .gitlab-ci.yml as the default CI Config. However, making .gitlab-ci.yaml default is also asked from users. With this change, we also accept .gitlab-ci.yaml as a default source for CI config if .gitlab-ci.yml does not exist in the project.

This change is behind a feature flag ci_gitlab_ci_yaml_as_default (#428592 (closed)).

Related to #26169

Screenshots or screen recordings

An example project;

Screenshot_2023-10-31_at_14.38.33

Before enabling ci_gitlab_ci_yaml_as_default

Screenshot_2023-10-31_at_14.42.08

Screenshot_2023-10-31_at_14.38.45

After enabling ci_gitlab_ci_yaml_as_default

Screenshot_2023-10-31_at_14.40.23

Screenshot_2023-10-31_at_14.40.36

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Furkan Ayhan

Merge request reports

Loading