Skip to content
Snippets Groups Projects
Commit 8aacb883 authored by Eric Eastwood's avatar Eric Eastwood
Browse files
parents
No related branches found
No related tags found
No related merge requests found
node_modules/
npm-debug.log
# GitLab Mock CI Service
See https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9250
```
npm start
```
# Setup MockCI Integration
Make sure your GDK instance is set to the development environment, `Rails.env.development?`
Go to Project settings -> Integrations -> Project Services -> MockCi
![](https://i.imgur.com/Wtgroro.png)
Check the "Active" checkbox and set the "Mock service url" (`http://localhost:4004` is default for this service)
![](https://i.imgur.com/hvuMkDw.png)
index.js 0 → 100644
const express = require('express');
const app = express();
app.get("*", function(req, res, next) {
res.json({
status: 'running'
})
});
app.listen(4004);
{
"name": "gl-mock-ci-service",
"version": "0.0.1",
"description": "Use with GitLab MockCI integration `MockCiService`",
"main": "index.js",
"scripts": {
"start": "nodemon index.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
"dependencies": {
"express": "^4.14.1",
"nodemon": "^1.11.0"
}
}
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