Commit graph

13 commits

Author SHA1 Message Date
Douwe Maan
3dadf306dd Enable Style/DotPosition 2017-02-23 09:31:56 -06:00
Lin Jen-Shin
9e6b2c5dd4 We actually want to clone project and remove gl_project_id
in the future. Feedback:

https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9409#note_23859361
2017-02-21 18:36:50 +08:00
Lin Jen-Shin
1f24428428 Fix build attributes test, see:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9021#note_23782188

This is discovered by
https://gitlab.com/gitlab-org/gitlab-ce/builds/10815456

I removed `gl_project_id` and this is failing. I took some look,
realizing that:

* `trace` is duplicated in `attributes`
* `tag_list` is not included in `build.attributes`
* `artifacts_expire_at` is missing in `attributes`

So we need to:

* Remove duplicated `trace` in `attributes` (40 -> 39)
* Remove `tag_list` in `attributes` (39 -> 38)
* Add `artifacts_expire_at` to `attributes` (38 -> 39)
* Add `gl_project_id` to `attributes` (39 -> 40)
2017-02-21 17:08:35 +08:00
Grzegorz Bizon
953e590b18 Make build clone/retry implementation more robust 2017-02-16 13:13:10 +01:00
Grzegorz Bizon
7e8a3f7ef7 When retrying a build copy a coverage regex setting 2017-02-15 16:03:24 +01:00
Grzegorz Bizon
9c37a26cc7 Close all pipeline todos at once when retrying it 2017-02-15 11:02:05 +01:00
Grzegorz Bizon
82e6efb809 Avoid race condition in build retry service 2017-02-14 13:51:12 +01:00
Grzegorz Bizon
108d3765ab Simplify implementation of build retry service 2017-02-14 13:39:14 +01:00
Grzegorz Bizon
94495f984c Use new pipeline retry service with optimistic locking 2017-02-14 12:20:02 +01:00
Grzegorz Bizon
c0db4400f4 Preserve base service abstraction for retry services 2017-02-14 11:27:14 +01:00
Grzegorz Bizon
c65e96061b Implement new pipeline retry service
The new service takes stages order into account.
2017-02-13 16:38:08 +01:00
Grzegorz Bizon
db09d10599 Add specs for build retry service 2017-02-13 15:11:21 +01:00
Grzegorz Bizon
9202b1f4df Extract CI/CD build retry code to separate service 2017-02-13 15:11:21 +01:00