Skip to content
Snippets Groups Projects
Commit f2c805a9 authored by Daniel Dehennin's avatar Daniel Dehennin
Browse files

refactor(gitlab-ci): use new job templates

parent 897d4460
No related branches found
No related tags found
3 merge requests!41Publish new release,!40Prepare new release,!36refactor(templates): we factorize the job templates per topic
Pipeline #11212 passed
......@@ -4,9 +4,9 @@
include:
- local: templates/Rules.yaml
- local: templates/Runners/eole-docker.yaml
- local: templates/Lint/Commitlint.yaml
- local: templates/Git.yaml
- local: templates/Docker.yaml
- local: templates/Release/Semantic-release.yaml
- local: templates/Semantic-release.yaml
stages:
- lint
......@@ -18,6 +18,11 @@ stages:
matrix:
- IMAGE_NAME: [commitlint, semantic-release-gitlab]
###############################################################################
# `lint` stage: `commitlint`
###############################################################################
commitlint: {extends: '.git:commitlint'}
###############################################################################
# `build` stage: `*-docker-build`
###############################################################################
......@@ -25,7 +30,7 @@ stages:
build-docker:
extends:
- .docker-matrix
- .build-docker-image
- .docker:image:build
###############################################################################
# `release` stage: `semantic-release`, `*-docker-tag`
......@@ -34,7 +39,7 @@ build-docker:
.tag-docker:
extends:
- .docker-matrix
- .tag-docker-image
- .docker:image:tag
## tag contribution branches with a more stable name than `git-${CI_COMMIT_SHORT_SHA}`
tag contrib branch:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment