Skip to content
Snippets Groups Projects

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

Merged 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

Pipeline #11212 passed

Pipeline passed for f2c805a9 on refactor/one-template-file-per-topic

Approval is optional
Ready to merge by members who can write to the target branch.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading