refactor(templates): we factorize the job templates per topic
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)
Merge request reports
Activity
assigned to @pcaseiro
added 5 commits
- 2ae363b6 - docs(getting-started): we factorize the job templates per topic
- 17c4187f - refactor(commitlint): new job template but keep compatible job
- 06b6a60b - refactor(semantic-release): new job template but keep compatible job
- 897d4460 - refactor(docker): new job templates but keep compatible jobs
- f2c805a9 - refactor(gitlab-ci): use new job templates
Toggle commit listAn example of the warning can be seen in my example pipeline
mentioned in commit f1b1f918