Commit graph

20 commits

Author SHA1 Message Date
Stan Hu
1e53f40c25 Simplify system hook testing and guarantee test will fire
The change in !11728 would cause an arbitrary project to be chosen to test
system hooks, and it's likely that the project would not have any commits or
relevant commits to test the hook. This would prevent admins from verifying
that the hook fired. Instead of trying to create a representative hook
dynamically, just send static data to guarantee the hook will actually be
tested.

Closes #37067
2017-08-27 15:50:20 -07:00
Douwe Maan
0e355e5c92 Load and process at most 100 commits when pushing into default branch 2017-07-28 17:23:13 +02:00
Alexander Randa
e0ab5618a0 Wrong data type when testing webhooks 2017-07-20 15:12:06 +00:00
Grzegorz Bizon
c00d72b6f3 Rename pipeline methods related to legacy stages 2017-06-01 11:55:18 +02:00
Rémy Coutable
c48554edc2 Merge branch 'dturner/username' into 'master'
add username field to push webhook

Closes #32136

See merge request !11272
2017-05-15 07:28:58 +00:00
Gabriel Mazetto
f661980904 Added repository_update hook 2017-05-12 23:26:48 +01:00
David Turner
47b8516c15 Add username field to push webhook
Signed-off-by: David Turner <novalis@novalis.org>
2017-05-10 17:11:36 -04:00
Rémy Coutable
d40e1f547e Enable the Style/TrailingCommaInLiteral cop
Use the EnforcedStyleForMultiline: no_comma option.

Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-05-10 18:25:45 +02:00
Tiago Botelho
6368072fd7 improves test settings for chat notification services for empty projects 2017-04-27 18:36:10 +01:00
Grzegorz Bizon
ac5bd3b73c Reinstitute a core manual status for manual actions 2017-03-06 10:04:04 +01:00
Poornima M
d5fa77d53d Adding links to user & build in Chat Notifications 2017-01-25 21:48:57 +05:30
Kamil Trzcinski
953a10947b Added Ci::Stage specs 2016-12-06 16:04:30 +01:00
Kamil Trzcinski
d865aedafc Introduce Ci::Stage, right now this is artificial object that is build dynamically. 2016-12-06 14:13:21 +01:00
Alejandro Rodríguez
fa3bbd449e Fix lightweight tags not processed correctly by GitTagPushService
When we updated gitlab_git to 10.4.1, `tag.target` changed from pointing
to the sha of the tag to the sha of the commit the tag points to. The
problem is that only annotated tags have `object_sha`s, lightweight tags
don't (it's nil), so (only) in their case we still need to use
`tag.target`.
2016-10-28 13:53:18 -03:00
Lin Jen-Shin
d5264e8804 Simplify the name for data builder, feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5620#note_13671791
2016-08-12 16:09:29 +08:00
Lin Jen-Shin
0a20897bbe Prefer extend self over module_function, feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5620#note_13672004
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5620#note_13810498
2016-08-12 15:33:28 +08:00
Kamil Trzcinski
ffa75a497a Remove stage parameter from send payload 2016-08-11 17:23:07 +02:00
Lin Jen-Shin
f88d4523f3 We still need to skip loading config_processor if skip_ci? 2016-08-05 13:53:43 +08:00
Lin Jen-Shin
984367f957 Move those builders to their own namespace, feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5620#note_13540099
2016-08-04 23:44:27 +08:00
Lin Jen-Shin
020ea32e76 Implement pipeline hooks, extracted from !5525
Closes #20115
2016-08-02 18:22:24 +08:00