Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
CI tools
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EOLE
Infra
CI tools
Commits
f2c805a9
Commit
f2c805a9
authored
3 years ago
by
Daniel Dehennin
Browse files
Options
Downloads
Patches
Plain Diff
refactor(gitlab-ci): use new job templates
parent
897d4460
No related branches found
Branches containing commit
No related tags found
Tags containing commit
3 merge requests
!41
Publish new release
,
!40
Prepare new release
,
!36
refactor(templates): we factorize the job templates per topic
Pipeline
#11212
passed
3 years ago
Stage: lint
Stage: build
Stage: release
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+9
-4
9 additions, 4 deletions
.gitlab-ci.yml
with
9 additions
and
4 deletions
.gitlab-ci.yml
+
9
−
4
View file @
f2c805a9
...
...
@@ -4,9 +4,9 @@
include
:
-
local
:
templates/Rules.yaml
-
local
:
templates/Runners/eole-docker.yaml
-
local
:
templates/
Lint/Commitlin
t.yaml
-
local
:
templates/
Gi
t.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
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment