Skip to content

refactor(templates): we factorize the job templates per topic

Daniel Dehennin requested to merge refactor/one-template-file-per-topic into dev

Instead of having files with executable jobs, we define only hidden template jobs that users must instanciate in their own .gitlab-ci.yml.

Commitlint

Is now defined as .git:commitlint in /templates/Git.yaml.

The /templates/Lint/Commitlint.yaml is kept for backward compatibility but a deprecation-commitlint failing job warn users to update their .gitlab-ci.yaml.

Semantic release

Is now defined in /templates/Semantic-release.yaml.

The /templates/Release/Semantic-release.yaml is kept for backward compatibility but a deprecation-semantic-release failing job warn users to update their .gitlab-ci.yaml.

Docker

The .build-docker-image is now an alias for .docker:image:build with a DEPRECATION WARNING at before_script. The .tag-docker-image is now an alias for .docker:image:tag with a DEPRECATION WARNING at before_script.

Closes #4 (closed)

Edited by Daniel Dehennin

Merge request reports