Tomasz Maczukin
a84d0204bf
Fix Build#append_trace method usage when trace file doesn't exists yet
2016-04-20 11:54:06 +02:00
Tomasz Maczukin
4019b0d872
Fix some typos in documentation
...
[ci skip]
2016-04-20 11:54:06 +02:00
Tomasz Maczukin
0725c28069
Add documentation of incremental trace update API
...
[ci skip]
2016-04-20 11:54:05 +02:00
Tomasz Maczukin
dd29283a88
Make sure that appending is done on a valid length
2016-04-20 11:53:44 +02:00
Tomasz Maczukin
360bd831bf
Add range checking
2016-04-20 11:53:43 +02:00
Tomasz Maczukin
38a1378e63
Add incremental build trace update API
2016-04-20 11:53:39 +02:00
Grzegorz Bizon and Grzegorz Bizon
13f92521c2
Move build eraseable API to proper API context
2016-02-19 17:24:59 +01:00
Grzegorz Bizon and Grzegorz Bizon
df313634d0
Do not allow to modify build if it has been erased
2016-02-19 17:24:59 +01:00
Grzegorz Bizon and 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 and Grzegorz Bizon
6ca99bd899
And CI API endpoint where user can erase a build
2016-02-19 17:24:59 +01:00
Robert Speicher
40403c78ef
Merge branch 'fix-ci-runners-version-update' into 'master'
...
Fix CI runner version not being properly updated when asked 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.
See merge request !2618
2016-01-27 20:50:24 +00: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
5ea32ba498
Fix hot reloading for CI API
2016-01-26 19:05:04 +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
Grzegorz Bizon
3e6950481a
Use method that creates runners registration token
...
`runners_registration_token` now creates a new token if it is blank.
2015-12-23 11:45:17 +01:00
Grzegorz Bizon
2ec93abed7
Merge branch 'master' into ci/persist-registration-token
...
* master: (66 commits)
Fix runners admin view
Fix migrations
Rename mention of gitlab-git-http-server to gitlab-workhorse
Bump Redis requirement to 2.8 for Sidekiq 4 requirements
Fix wording on runner setup page
add details on how to change saml button label
Fix tests
Move awards back to gray panel and few improvements to sidebar
Few UI improvements to new sidebar implementation
Fix tests for new issuable sidebar
Update changelog
Implement new sidebar for merge request page
Make edit link on issuable sidebar works
Redesign issue page for new sidebar
Move awards css to separate file
Implement issuable sidebar partial
Update CHANGELOG
Clarify cache behavior
Run builds from projects with enabled CI
Use Gitlab::Git instead of Ci::Git
...
Conflicts:
db/schema.rb
2015-12-14 12:26:40 +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
8cdd54cc06
Add runners token
2015-12-11 18:02:09 +01:00
Kamil Trzcinski
e80e3f5372
Migrate CI::Project to Project
2015-12-11 18:02:09 +01:00
Grzegorz Bizon
6b0c0d5bcc
Ensure that runners registration token is present
2015-12-11 14:43:44 +01:00
Grzegorz Bizon
e2e43a114b
Use new runners registration token to register CI runners
2015-12-11 10:39:39 +01:00
Kamil Trzcinski
2988e1fbf5
Migrate CI::Services and CI::WebHooks to Services and WebHooks
2015-12-10 16:04:08 +01:00
Kamil Trzcinski
11728b50f9
Expose artifacts path
2015-11-23 13:05:22 +01:00
Kamil Trzcinski
eef129bd4a
Final fixes
2015-11-10 22:21:15 +01:00
Kamil Trzcinski
db3213fc1c
Use normal file upload mechanism to upload artifacts
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
Jacob Vosmaer
e032a7288f
Spread out runner contacted_at updates
2015-11-02 16:02:47 +01:00
Jason Lee
3d613fe1e8
Fix API::APIHelpers -> API::Helpers;
...
Rails Autoload find file to require is use , APIHelpers -> api_helpers.rb, not helpers.rb;
2015-10-23 11:42:57 +08:00
Kamil Trzcinski
914cfbd2f1
Implement Commit Status API
2015-10-12 11:53:49 +02:00
Kamil Trzcinski
f088ffe8f7
Merge branch 'rs-remove-ci-disable'
...
See merge request !1512
2015-10-05 20:06:31 +02:00
Robert Speicher
fc59c45d58
Remove the option to disable CI
...
This option only existed to ease the CI-to-CE/EE migration process.
This commit partially reverts 8b05abe816
2015-10-05 12:23:38 -04:00
Kamil Trzcinski
d2d2df0738
Fix next round of tests
2015-10-05 13:12:00 +02:00
Kamil Trzcinski
e3d870d7fc
Add user to Ci::Build to have pusher email address
2015-10-05 10:15:40 +02:00
Kamil Trzcinski
b9ccc79cb5
Delegate ci_project parameters to projects
...
- It delegates name, path, gitlab_url, ssh_url_to_repo
- Remove ability to set this parameters using CI API
This fixes GitLab project rename, namespace change, repository rename, etc.
2015-09-30 12:48:40 +02:00
Valery Sizov and Kamil Trzcinski
a0c1a12dee
remove API calls from CE to CI
2015-09-18 18:02:11 +02:00
Kamil Trzcinski
97fa990406
Use 400 to notify that CI API is disabled
2015-09-18 12:46:47 +02:00
Kamil Trzcinski
e41a29b0c3
Allow to disable GitLab CI
2015-09-18 12:46:47 +02:00
Kamil Trzcinski
e01300ddb0
Fix update_runner_info helper
2015-09-16 16:46:26 +02:00
Valery Sizov
e2cbb36ba9
fix specs. Stage 5
2015-09-15 15:51:03 +03:00
Valery Sizov
16ba41a186
fix specs. Stage 4
2015-09-15 14:45:59 +03:00
Valery Sizov
22bf844869
fix specs. Stage 3
2015-09-15 13:50:24 +03:00
Valery Sizov
910bf96ec3
fix specs. Stage 2
2015-09-14 18:14:17 +03:00
Kamil Trzcinski
16e44ad7fc
Fix IOError when fetching a new build by runner
2015-09-14 11:27:25 +02:00
Valery Sizov
ad5d2c3e78
fix of API
2015-09-14 11:15:54 +03:00
Dmitriy Zaporozhets
2ed2ef9210
Remove network from CI
2015-09-11 13:38:37 +02:00