Commit graph

14 commits

Author SHA1 Message Date
🙈 jacopo beschi 🙉
c6b1043e9d Resolve "Make a Rubocop that forbids returning from a block" 2018-04-18 09:19:40 +00:00
Yorick Peterse
cca61980d5
Track and act upon the number of executed queries
This ensures that we have more visibility in the number of SQL queries
that are executed in web requests. The current threshold is hardcoded to
100 as we will rarely (maybe once or twice) change it.

In production and development we use Sentry if enabled, in the test
environment we raise an error. This feature is also only enabled in
production/staging when running on GitLab.com as it's not very useful to
other users.
2018-02-01 17:00:46 +01:00
Shinya Maeda
48f017d1e8 Use pipeline.trigger_requests.last 2017-09-05 01:22:57 +09:00
Shinya Maeda
d614c43105 Fix trigger_request.variables 2017-09-04 21:55:26 +09:00
Shinya Maeda
cff104ec4b Fix spec 2017-09-04 21:55:26 +09:00
Shinya Maeda
acc7497855 Revert autheticate! in Trigger API 2017-09-04 21:55:26 +09:00
Shinya Maeda
75130a41ba Remove CreateTriggerRequestService and forbit to save variables on Ci::TriggerRequest 2017-09-04 21:55:26 +09:00
Lin Jen-Shin
e9862a9900 Use struct instead of hash 2017-07-20 20:17:42 +08:00
Lin Jen-Shin
a05bc477b9 Use hash to return multiple objects 2017-07-20 00:08:34 +08:00
Lin Jen-Shin
e86e1e515a Try to report why it's failing and fix tests 2017-06-06 21:19:07 +08:00
George Andrinopoulos
de518e1247 Allow dot in branch name in trigger/builds endpoint in API 2017-03-20 12:49:31 +00:00
Rémy Coutable
63360adeae
Add requirements: { id: %r{[^/]+} } for all projects and groups namespaced API routes
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-03-16 18:00:24 +01:00
Kamil Trzcinski
c33f09d254
Update triggers API 2017-03-05 18:49:30 +01:00
Robert Schilling
c280acb00b Backport API to V3 2017-02-28 08:32:39 +01:00