Patricio Cano
edc6d00bf8
License information can now be retrieved via the API
2015-11-30 13:03:29 -05:00
Robert Speicher
698455466a
Merge remote-tracking branch 'ce/8-2-stable' into 8-2-stable-ee
2015-11-21 23:13:20 -05:00
Stan Hu and Robert Speicher
27821ce01f
Merge branch 'consistent-tags-api' into 'master'
...
Make tag API for release feature consistent
Make tags API consistent with other tags methods. This changes the endpoint from `PUT /projects/:id/repository/:tag/release` to `PUT /projects/:id/repository/tags/:tag_name/release`.
On thing the API is still missing, is an error if the tag does not exist. Right now it returns 200 even the tag does not exist. I'll fix that such it returns 404.
@stanhu Can you review?
@rspeicher This MR should go into 8.2
See merge request !1864
2015-11-21 22:38:13 -05:00
Valery Sizov
7d7691cd09
Merge remote-tracking branch 'origin/master' into ce-to-ee
2015-11-16 13:37:13 +02:00
Dmitriy Zaporozhets
a43a218c98
Merge branch 'releases-feature'
2015-11-16 10:18:32 +01:00
Robert Speicher
37fe73c337
Merge remote-tracking branch 'ce/master' into ce-to-ee
2015-11-15 00:30:17 -05:00
Robert Speicher
6afca45028
Merge remote-tracking branch 'ce/master' into ce-to-ee
2015-11-13 12:34:34 -05: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
6384c757b7
Expose CI enable option in project features
...
- Enable CI by default for all new projects
2015-11-13 10:52:50 +01:00
Dmitriy Zaporozhets
d6db451732
Add api test for creating tag with release info
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-11-12 23:54:22 +01:00
Dmitriy Zaporozhets
ba34045f31
Expose release notes to tags api
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-11-12 17:04:18 +01:00
Dmitriy Zaporozhets
c119a73793
Add releases api
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-11-12 16:26:39 +01:00
Dmitriy Zaporozhets
a5ab56fd91
Move git tags API to separate file
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-11-12 15:41:13 +01:00
Kamil Trzciński
fb5c3c7021
Merge branch 'artifacts' into 'master'
...
Implement Build Artifacts
This implements #3028
1. It stores artifacts in shared/artifacts,
1. It adds `artifacts` to `.gitlab-ci.yml`,
1. We use GitLab Workhorse to offload artifacts uploading,
1. To download artifacts it uses GitLab Workhorse X-Sendfile extension,
1. There's one "artifact" per-build. The new upload removes previous one and creates a new one,
1. Default max artifact size is set to 100MB - this can be changed in settings.
Missing things:
1. Support for `.gitlab-ci.yml`: `artifacts: true or git-ls-files` which will upload all non tracked files,
1. Artifacts passing between builds.
GitLab Workhorse changes: https://gitlab.com/gitlab-org/gitlab-workhorse/merge_requests/5
GitLab Runner changes: https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/merge_requests/46
Syntax:
```
artifacts:
untracked: true # default: false
paths: # default: empty
- bin/files
```
See merge request !1584
2015-11-11 12:44:37 +00:00
Kamil Trzcinski
d70f1f35b1
Fix tests
2015-11-10 23:00:05 +01:00
Stan Hu
83ec84946c
Merge branch 'add-allow-failure-status' into 'master'
...
Add allow_failure field to commit status API
Closes #3196
See merge request !1685
2015-11-10 21:28:12 +00: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
Valery Sizov
93bcc9ca7f
Merge remote-tracking branch 'origin/master' into ce_upsteram
2015-11-05 14:26:35 +02:00
Stan Hu
91cbf9db0c
Add allow_failure field to commit status API
...
Closes #3196
2015-11-03 20:41:19 -08:00
Robert Speicher
d09d62b6b8
Replace all usages of git command with configurable binary path
...
Closes #3311
2015-11-03 17:11:09 -05:00
Valery Sizov and Valery Sizov
1b8d324762
Add ability to fetch the commit ID of the last commit that actually touched a file
2015-11-02 17:07:06 +02:00
Valery Sizov
0f30be02eb
Merge remote-tracking branch 'origin/master' into ce_upstream
2015-10-23 13:01:19 +02:00
Stan Hu
0e73d7b6af
Merge pull request #9762 from huacnlee/fix/api-helpers-bad-autoload-name-for-master
...
Fix API::APIHelpers -> API::Helpers again for master
2015-10-22 21:12:35 -07: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
Han Loong Liauw
02e8beaa0b
Merge branch 'master' into remove-forks-from-projects-settings
2015-10-17 09:32:31 +11:00
Robert Speicher
2d7be2d499
Merge remote-tracking branch 'ce/master'
2015-10-16 00:12:30 -04:00
Dmitriy Zaporozhets
353ddbc795
Merge branch 'stanhu/gitlab-ce-fix-api-mr-comment-notifications'
2015-10-15 15:56:43 +02:00
Valery Sizov
8766c54bf2
Merge remote-tracking branch 'origin/master' into ce_upstream_15_10
2015-10-15 16:46:48 +03:00
Douwe Maan
c993481d99
Merge branch 'master' into git-archive-golang
2015-10-15 11:47:36 +02:00
Kamil Trzciński
45c0b74dc4
Merge branch 'predefined_build_variables' into 'master'
...
Add a few predefined variables to CI builds
This adds CI_BUILD_TAG, CI_BUILD_STAGE, CI_BUILD_NAME and CI_BUILD_TRIGGERED to build environment.
This change is based on: !1530
See merge request !1572
2015-10-14 18:55:59 +00:00
Kamil Trzcinski
7b5ab3ded5
Added CI_BUILD_TAG, _STAGE, _NAME and _TRIGGERED to CI builds
2015-10-14 17:28:17 +02:00
Valery Sizov
4117d9b310
Merge branch 'feature/api_hide_service_password' of gitlab.com:cernvcs/gitlab-ce
2015-10-14 14:15:34 +03:00
Jacob Vosmaer
fc94b3b036
Fix API archive specs
2015-10-14 12:13:17 +02:00
Han Loong Liauw
0bea5ced8b
Made suggested content changes based on MR Review
...
Changed the authentication method for removing fork through API
Reflected changes to new auth method in API specs
2015-10-14 20:19:41 +11:00
Alex Lossent
024e34e94d
Hide passwords to non-admin users in the services API
...
In order to be consistent with !1490 doing it for the web interface
2015-10-12 15:24:00 +02:00
Kamil Trzcinski
887494761e
Fix commit status POST URL
2015-10-12 12:15:35 +02:00
Kamil Trzcinski
914cfbd2f1
Implement Commit Status API
2015-10-12 11:53:49 +02:00
Stan Hu
2df573dac3
Fix bug where merge request comments created by API would not trigger notifications
...
Closes https://github.com/gitlabhq/gitlabhq/issues/9715
2015-10-10 10:59:02 -07:00
Dmitriy Zaporozhets
7f63a8787c
Fix tests and few CI features
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-10-07 17:54:49 +02:00
Kamil Trzcinski
97a11136d3
Fix create_trigger_request_service_spec
2015-10-05 17:06:31 +02:00
Kamil Trzcinski
29a7c6796e
Fix GitLabCiService and remove ci_yaml_file from CI push data
2015-10-05 16:06:35 +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
546a3c6561
Refactor commit and build
2015-10-05 09:52:35 +02:00
Valery Sizov
b7cc9bb531
Abiliy to disable 'Share with Group' feature
2015-10-01 09:47:30 +03: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
Kamil Trzcinski
8f8efcfa00
Fix tests
2015-09-29 10:47:03 +02:00