Kamil Trzcinski
73be775cd7
Fix ci_build trace trait
2016-02-19 19:31:57 +01:00
Grzegorz Bizon
13f92521c2
Move build eraseable API to proper API context
2016-02-19 17:24:59 +01:00
Grzegorz Bizon
df313634d0
Do not allow to modify build if it has been erased
2016-02-19 17:24:59 +01:00
Grzegorz Bizon
21152d7d51
Use DELETE verb for erasing a build content
...
Also added API specs for that
2016-02-19 17:24:59 +01:00
Grzegorz Bizon
bf6d694837
Extract shared context level up in build specs
...
Also improve performance of specs by joining some of examples.
2016-02-04 10:24:14 +01:00
Grzegorz Bizon
020623f3bb
Improve CI API specs related to operations on build
...
Conflicts:
spec/factories/ci/builds.rb
2016-02-04 10:13:58 +01:00
Kamil Trzcinski
95d2f0fb51
Fix CI runner version not being properly updated when asking for a build
...
Due to broken implementation of attribute_for_keys the runner information was not updated correctly.
This MR adds test to check that such scenario will never happen again.
2016-01-27 12:04:54 +01:00
Kamil Trzcinski
1ce766367e
Change dependencies.builds to depends_on_builds
2016-01-15 15:35:33 +01:00
Kamil Trzcinski
ac652d82f1
Let the CI runner know about builds that this build depends on
...
This allows us to implement artifacts passing: runner will download artifacts from all prior builds
2016-01-14 19:45:55 +01:00
Grzegorz Bizon
154b8ceba4
Refactor build artifacts upload API endpoint
2016-01-14 12:48:17 +01:00
Grzegorz Bizon
0b946029a1
Update build artifacts API
...
We do not want to allow runners to upload a metadata file. This needs to
be generated by Workhorse only.
2016-01-14 12:48:16 +01:00
Grzegorz Bizon
e8995f9fd5
Modify artifacts upload API endpoint, add artifacts metadata
2016-01-14 12:48:16 +01:00
Kamil Trzcinski
513d551c8f
Fix after column rename
2015-12-11 18:02:10 +01:00
Kamil Trzcinski
64bfd9d71a
Remove ci_ prefix from all ci related things
2015-12-11 18:02:09 +01:00
Kamil Trzcinski
e80e3f5372
Migrate CI::Project to Project
2015-12-11 18:02:09 +01:00
Kamil Trzcinski
fea2f21437
Fix caching breaking test of build artifacts
2015-11-13 14:43:14 +01:00
Kamil Trzcinski
e53a56acea
Fix broken tests
2015-11-13 10:52:50 +01:00
Kamil Trzcinski
d70f1f35b1
Fix tests
2015-11-10 23:00:05 +01:00
Kamil Trzcinski
db3213fc1c
Use normal file upload mechanism to upload artifacts
2015-11-10 12:51:51 +01:00
Kamil Trzcinski
445cdb7579
Move tmp artifacts to shared/artifacts/tmp/. Check for GitLab-Workhorse now
2015-11-10 12:51:51 +01:00
Kamil Trzcinski
d0e3e823a2
Implement Build Artifacts
...
- Offloads uploading to GitLab Workhorse
- Use /authorize request for fast uploading
- Added backup recipes for artifacts
- Support download acceleration using X-Sendfile
2015-11-10 12:51:50 +01:00
Kamil Trzcinski
7b5ab3ded5
Added CI_BUILD_TAG, _STAGE, _NAME and _TRIGGERED to CI builds
2015-10-14 17:28:17 +02:00
Kamil Trzcinski
5064c9038c
Fix next bunch of tests
2015-10-05 13:51:28 +02:00
Kamil Trzcinski
d2d2df0738
Fix next round of tests
2015-10-05 13:12:00 +02:00
Kamil Trzcinski
30c78e70cb
WIP
2015-09-29 10:47:03 +02:00
Valery Sizov
e2cbb36ba9
fix specs. Stage 5
2015-09-15 15:51:03 +03:00
Valery Sizov
4c53cc0eba
rubocop satisfy
2015-09-14 14:37:18 +03:00
Dmitriy Zaporozhets
9d93c567b3
Fix part of CI api tests
2015-09-10 16:04:06 +02:00
Dmitriy Zaporozhets
cc4ef4da11
Refactor CI tests
2015-09-09 14:17:16 +02:00