Commit graph

17 commits

Author SHA1 Message Date
Grzegorz Bizon
4edde47e73 Fix retry build service specs related to the stage 2017-06-07 10:26:37 +02:00
Grzegorz Bizon
602724fcfc Clone stage_id when retrying a CI/CD job 2017-06-06 15:29:02 +02:00
Grzegorz Bizon
1a438e9f71 Use stage_id column in code that needs to know about it 2017-06-01 12:21:34 +02:00
Kamil Trzcinski
f2a4420d66
Store retried in database for CI builds 2017-05-07 22:43:53 +02:00
Lin Jen-Shin
beedfc8d94 Fix test by ignoring auto_canceled_by for jobs 2017-04-07 01:36:26 +08:00
Kamil Trzciński
12dd5ac221 All CI offline migrations 2017-03-17 23:06:11 +00:00
Grzegorz Bizon
c3d24d0bdd Move unused consts from retry build service to specs 2017-03-02 18:11:12 +01:00
Grzegorz Bizon
6f84345725 Improve build retry service tests for cloning data 2017-03-01 11:57:06 +01:00
Grzegorz Bizon
dd9d8ce82e Fix runner tags assignment when retrying a job 2017-03-01 11:39:36 +01: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
658c5f32a3 Add test for cloning attributes when retrying a build 2017-02-15 16:04:28 +01:00
Grzegorz Bizon
3ba6518512 Prefer using project.add_developer in specs 2017-02-15 11:12:07 +01:00
Grzegorz Bizon
cff9504ab1 Extend specs for build and pipeline retry services 2017-02-14 15:22:49 +01:00
Grzegorz Bizon
c0db4400f4 Preserve base service abstraction for retry services 2017-02-14 11:27:14 +01:00
Grzegorz Bizon
c5e7880841 Fix CI build specs after adding retry ability check 2017-02-13 15:11:21 +01:00
Grzegorz Bizon
db09d10599 Add specs for build retry service 2017-02-13 15:11:21 +01:00