Quentin Machu
37a4dafe40
Use expected exception for BitBucket OAuth error
...
Prevents from having a 500 when BitBucket OAuth doesn't work, as it will be caught in web.py/attach_bitbucket_trigger
2015-10-22 11:24:17 -04:00
Quentin Machu
674c16bf3b
Add logging on BitBucket schema validation exception
...
Chatty but worthy
No need to create a custom debugging web hook anymore for Bitbucket
2015-10-22 11:21:34 -04:00
Joseph Schorr
d9e001b688
Better GitHub error messaging
...
Fixes #612
2015-10-16 13:51:50 -04:00
Jimmy Zelinskie
7c1547221d
raise a 520 for any GitLab timeouts
2015-10-13 17:34:08 -04:00
Jimmy Zelinskie
d2c4a465e3
add default HTTP timeout to GitLab
...
Fixes #623 .
2015-10-13 14:51:28 -04:00
Jimmy Zelinskie
0e27852444
Merge pull request #631 from jzelinskie/glfix
...
remove network usage from GL repo URL
2015-10-13 13:46:27 -04:00
Jimmy Zelinskie
7dfe6691ec
remove network usage from GL repo URL
...
Fixes #624 .
2015-10-13 12:44:56 -04:00
Joseph Schorr
775b47c851
Make sure we have defined timeouts on all our requests out to external build services
...
Fixes #623
2015-10-13 11:21:53 -04:00
Joseph Schorr
eaf81959f5
Handle the case where we have lookup_user but no username
2015-09-28 17:12:56 -04:00
Joseph Schorr
18cfe676ee
Fix GH schema for missing usernames and add test
2015-09-25 15:12:24 -04:00
Joseph Schorr
85ed745433
Fix bitbucket trigger validation for commits without authors
2015-09-25 12:03:21 -04:00
Jimmy Zelinskie
7372068a72
fix skipping builds with custom-git
...
Custom git triggers don't necessarily have commit info available. Our
code reading the commit message was under the assumption that it would
always be there.
2015-09-22 16:51:23 -04:00
Joseph Schorr
ee836da1e3
Fix raise_if_skipped_build calls
2015-09-22 15:05:25 -04:00
Joseph Schorr
05c9a5f7b8
Fix the skip branch logic
2015-09-22 14:44:49 -04:00
Joseph Schorr
272326ae18
Add schema validation to all external trigger types
2015-09-21 17:46:50 -04:00
Joseph Schorr
49b575afb6
Start refactoring of the trigger system:
...
- Move each trigger handler into its own file
- Add dictionary helper classes for easier reading and writing of dict-based data
- Extract the web hook payload -> internal representation building for each trigger system
- Add tests for this transformation
- Remove support for Github archived-based building
2015-09-21 16:36:48 -04:00