Commit graph

17 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
Micaël Bergeron
fc6587f1f2 Add proxy_download to perform proxied sending of all files 2018-03-09 09:16:06 -05:00
Matija Čupić
feb3449709
Use preload instead of includes to avoid joins 2018-01-15 22:04:08 +01:00
Matija Čupić
c9840842f1
Eager load user, runner, pipeline and its creator 2018-01-14 23:14:09 +01:00
Matija Čupić
c9a1a1552a
Fix N+1 in v3 builds API
The N+1 issue was caused by loading the job_artifacts_archive for each
job (build) individually. Including that in the builds
AssociationRelation fixed the issue.
2018-01-13 22:40:14 +01:00
Shinya Maeda
afef385337 Add doc. Fix spec. Add erase_build in protected_ref rule 2017-11-07 02:47:05 +09:00
Shinya Maeda
c8eb2a914b Fix spec. Revert update check. 2017-11-06 23:24:25 +09:00
Shinya Maeda
9b58b8e363 Do not allow jobs to be erased 2017-11-06 22:20:44 +09:00
Guilherme Vieira
771b777ab5 Adds requirements that supports anything in sha params 2017-10-12 18:46:41 -03:00
Zeger-Jan van de Weg
dc8e1676cd
Upgrade grape to 1.0
Main feature was the deprication of the Hashie stuff, so the access by
calling keys as method is gone now.
2017-08-16 22:06:31 +02:00
Kamil Trzcinski
6185d12c18 Add missing specs 2017-06-01 16:34:48 +02:00
Kamil Trzcinski
e61f38d79e Fix data inconsistency issue for old artifacts by moving them to a currently used path 2017-06-01 14:39:48 +02:00
Grzegorz Bizon
53219857dd Check ability to update build on the API resource 2017-05-05 14:04:58 +02:00
Kamil Trzciński
828d81ee1f Optimise trace handling code to use streaming instead of full read 2017-04-06 16:20:27 +00:00
Toon Claes
ae9218a7fd Remove user_can_download_artifacts
It was actually not used anywhere.
2017-03-07 23:45:32 +01:00
Toon Claes
9e942b5972 Fix all tests
This commit was about 6 commits before squashing, with the main goal to
make all tests green. Now, after pushing this commit we'll see what the
CI has to say about that.
2017-03-06 14:34:07 +01:00
Z.J. van de Weg
111748ea89 Rename Builds to Jobs in the API
Fixes gitlab-org/gitlab-ce#28515

[ci skip]
2017-03-06 14:34:07 +01:00