Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Rex Dri
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Julien Jerphanion
Rex Dri
Commits
4720be82
Commit
4720be82
authored
Mar 19, 2019
by
Florent Chehab
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(ci): pipeline only on merge request
Now runs the pipeline only once a MR is open. Fixes #83
parent
467f86da
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
.gitlab-ci.yml
.gitlab-ci.yml
+10
-0
No files found.
.gitlab-ci.yml
View file @
4720be82
...
...
@@ -16,8 +16,13 @@ variables:
DB_HOST
:
postgres
DB_PORT
:
5432
.only-default
:
&only-default
only
:
-
master
-
merge_requests
check_back
:
<<
:
*only-default
stage
:
check
image
:
registry.gitlab.utc.fr/rex-dri/rex-dri/backend
services
:
...
...
@@ -33,6 +38,7 @@ check_back:
-
docker
check_front
:
<<
:
*only-default
stage
:
check
image
:
node:10.15.1-alpine
cache
:
...
...
@@ -46,6 +52,7 @@ check_front:
-
docker
test_back
:
<<
:
*only-default
stage
:
test
image
:
registry.gitlab.utc.fr/rex-dri/rex-dri/backend
services
:
...
...
@@ -61,6 +68,7 @@ test_back:
-
docker
test_frontend
:
<<
:
*only-default
stage
:
test
image
:
node:10.15.1-alpine
cache
:
...
...
@@ -74,6 +82,7 @@ test_frontend:
-
docker
flake8
:
<<
:
*only-default
stage
:
lint
image
:
registry.gitlab.utc.fr/rex-dri/rex-dri/backend
script
:
...
...
@@ -82,6 +91,7 @@ flake8:
-
docker
eslint
:
<<
:
*only-default
stage
:
lint
image
:
node:10.15.1-alpine
cache
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment