Yorick Peterse
229f3ce9ce
Configuring of points per UDP packet
...
This allows users to configure the number of points stored in a single
UDP packet. This in turn can be used to reduce the number of UDP packets
being sent at the cost of these packets being somewhat larger.
The default setting is 1 point per packet so nothing changes for
existing users.
2016-04-19 14:35:25 +02:00
Rémy Coutable
bfa16dbcfb
Merge branch 'api-fix-annotated-tags' into 'master'
...
API: Present an array of Gitlab::Git::Tag instead of array of rugged tags
The annotated message was always `null` because the wrong array was presented.
The entity requires an array of `Gitlab::Git::Tags` instead an array of raw rugged tags was presented. Since a rugged tag does not respond to `message` to get the annotated message, this was always `null`.
See merge request !3764
2016-04-19 12:31:31 +00:00
Kamil Trzciński
c7bd7b6dd8
Merge branch 'make-before-after-overridable' into 'master'
...
Make before_script and after_script overridable
This is makes it possible to overwrite the before_script and after_script at job level.
This is continuation of https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/3771
See merge request !3772
2016-04-19 11:12:40 +00:00
Kamil Trzciński
479f4cccf1
Merge branch 'after-script' into 'master'
...
Implement after_script which allows to do cleanups as part of the build process
This implements `after_script` in global context.
The `after_script` will be executed always after the job, even if the job were canceled.
This requires changes on Runner side that will be implemented in 1.2.
cc @tmaczukin @grzesiek
See merge request !3771
2016-04-19 11:11:31 +00:00
Gabriel Mazetto and Dmitriy Zaporozhets
5330af3fa6
Using single builder for push and tag events
2016-04-19 11:00:30 +02:00
Gabriel Mazetto and Dmitriy Zaporozhets
ee1090e2b2
Added System Hooks for push and tag_push
...
Code is based on Project Webhooks, removing deprecations and without
commits listing.
2016-04-19 11:00:30 +02:00
Douglas Barbosa Alexandre
f2fe4af19d
Set GitHub milestones to Issue/Merge Request that were imported
2016-04-18 20:07:05 -03:00
Douglas Barbosa Alexandre
06ec511164
Import milestones from GitHub
2016-04-18 20:07:04 -03:00
Douglas Barbosa Alexandre
7462a8f90a
Apply GitHub labels to Issue/Merge Request that were imported
2016-04-18 17:14:59 -03:00
Douglas Barbosa Alexandre
05a4f444c3
Import labels from GitHub
2016-04-18 17:14:59 -03:00
Robert Speicher
387b025d15
Merge branch 'gh-keep-issues-prs-references' into 'master'
...
Use GitHub Issue/PR number as iid to keep references
Closes #15294
See merge request !3759
2016-04-18 19:32:23 +00:00
Kamil Trzcinski
3f66f4470a
Make rubocop happy
2016-04-18 15:19:24 -04:00
Yorick Peterse
b9698d2b45
Add "action" tag to /internal/allowed API
...
This allows us to re-use any other analytics that rely on the "action"
tag having a value set.
2016-04-18 17:44:24 +02:00
Douwe Maan
58665b64f5
Merge branch 'issue_3508' into 'master'
...
Restrict public users for private instances
Implements #3508
See merge request !3440
2016-04-18 15:20:13 +00:00
Douglas Barbosa Alexandre
d13bba44f0
Use GitHub Issue/PR number as iid to keep references
...
With these changes we don’t lost the issue/pr references when importing
them to GitLab.
2016-04-18 12:15:50 -03:00
Kamil Trzcinski
9a2685fae0
Merge branch 'after-script' into make-before-after-overridable
2016-04-18 10:20:51 -04:00
Kamil Trzcinski
0ce5cc9962
Resolve merge
2016-04-18 10:19:29 -04:00
Felipe Artur
2366768d3b
Add changelog entry
2016-04-18 11:12:28 -03:00
Felipe Artur
820c08cefd
Fix documentation and improve permissions code
2016-04-18 11:12:28 -03:00
Felipe Artur
ce96d482d9
Insert users check into api
2016-04-18 11:12:27 -03:00
Kamil Trzcinski
2ab8d3e652
Merge branch 'after-script' into make-before-after-overridable
2016-04-18 09:47:12 -04:00
Kamil Trzcinski
aca1e14bd3
Merge remote-tracking branch 'origin/master' into after-script
2016-04-18 09:46:12 -04:00
Kamil Trzcinski
39c2677e86
Merge remote-tracking branch 'origin/master' into after-script
2016-04-18 09:43:45 -04:00
Yorick Peterse
7e6f0ac0e0
Count the number of SQL queries per transaction
...
Fixes gitlab-org/gitlab-ce#15335
2016-04-18 14:53:13 +02:00
Kamil Trzcinski
42102b4344
Merge branch 'after-script' into make-before-after-overridable
2016-04-18 07:53:21 -04:00
Kamil Trzcinski
63bd1f92d9
Fix rubocop complains
2016-04-18 07:51:49 -04:00
Grzegorz Bizon
1339fda1cd
Minor refactorings in CI config
2016-04-18 13:36:52 +02:00
Grzegorz Bizon
2b1c08be8f
Validate job-level variables in YAML config file
2016-04-18 13:17:48 +02:00
Grzegorz Bizon
cf3e3effb0
Minor refactoring in code related to job variables
2016-04-18 13:17:48 +02:00
Grzegorz Bizon
1f3248644e
Make CI config return empty array if no job variables
2016-04-18 13:17:48 +02:00
Grzegorz Bizon
3dec6e2629
Rename method that returns global envs in CI conf
2016-04-18 13:17:48 +02:00
Grzegorz Bizon
b7946b50fc
Read job variables directly from gitlab CI config
2016-04-18 13:17:48 +02:00
Grzegorz Bizon
a1363d39c6
Add variables keyword to job in CI config YAML
2016-04-18 13:17:47 +02:00
Yorick Peterse
7b6785b3b1
Use Module#prepend for method instrumentation
...
By using Module#prepend we can define a Module containing all proxy
methods. This removes the need for setting up crazy method alias chains
and in turn prevents us from having to deal with all that madness (e.g.
methods calling each other recursively).
Fixes gitlab-org/gitlab-ce#15281
2016-04-18 11:16:31 +02:00
Kamil Trzcinski
5a7e4dfd33
Merge branch 'after-script' into make-before-after-overridable
...
* after-script:
Add CHANGELOG and documentation
Rename finally_script to after_script
Conflicts:
lib/ci/gitlab_ci_yaml_processor.rb
spec/lib/ci/gitlab_ci_yaml_processor_spec.rb
2016-04-17 09:06:55 -04:00
Kamil Trzcinski
cc57d61023
Rename finally_script to after_script
2016-04-17 08:59:57 -04:00
Robert Schilling
fa7d99ebd4
API: Present an array of Gitlab::Git::Tag instead of array of rugged tags
2016-04-17 11:03:10 +02:00
Kamil Trzcinski
4cc9a02ee0
Allow the before_script and finally_script to be overwritten in context of job
2016-04-16 19:22:49 +02:00
Kamil Trzcinski
b340b59743
Implement finally_script which allows to do cleanups as part of the build process
2016-04-16 19:22:48 +02:00
Robert Speicher
2e4d9c1de6
Merge branch 'fix/project-import_url' into 'master'
...
Fix for import_url fields on projects containing third-party credentials
Fixes https://dev.gitlab.org/gitlab/gitlabhq/issues/2658
Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/13955
See merge request !3066
2016-04-15 21:52:00 +00:00
Robert Speicher
34b0561560
Merge branch 'pmq20/gitlab-ce-psvr/change-head' into 'master'
...
Use rugged to change HEAD
_Originally opened at !2850 by @pmq20._
Needless to invoke gitlab_shell here, which is slow.
See merge request !3705
2016-04-15 16:44:21 +00:00
Rémy Coutable
8b7bf2a0e0
Merge branch 'rugged-delete-tag' into 'master'
...
Delete tags via rugged
Improve the performance by directly using rugged instead of shelling out to a git operation.
See merge request !3748
2016-04-15 14:42:05 +00:00
Robert Schilling
3c704c33e0
Delete tags via rugged
2016-04-15 16:05:04 +02:00
Robert Schilling
106c443e76
Remove unused backend methods
2016-04-15 13:30:33 +02:00
Rémy Coutable
f8e8a61c9c
Remove Gitlab::Shell#update_repository_head since it's not used anymore
...
Signed-off-by: Rémy Coutable <remy@rymai.me >
2016-04-15 11:38:59 +02:00
James Lopez
05985b49a4
Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into fix/project-import_url
2016-04-15 08:49:08 +02:00
Robert Speicher
1f0274e55e
Merge branch 'remove-ci-nginx-config' into 'master'
...
Remove deprecated NGINX CI config
[ci skip]
See merge request !3728
2016-04-14 19:34:57 +00:00
Robert Speicher
97fd9616ac
Merge branch 'emoji_category_fix' into 'master'
...
Emoji categories fix
Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/14020
See merge request !3727
2016-04-14 18:22:49 +00:00
Valery Sizov
6ae2680ce7
Emoji categories fix
2016-04-14 20:45:55 +03:00
Achilleas Pipinellis
2165bbc785
Remove deprecated NGINX CI config
2016-04-14 20:31:19 +03:00