Commit graph

18 commits

Author SHA1 Message Date
Charlton Austin
d6e45e3321 fix(buildtrigger): fixed error from github api
there was a 500 being thrown every time there was a slash at the end of a directory while adding in a new trigger this stops that 500 from coming
2017-03-10 13:04:41 -05:00
Charlton Austin
e30cd931d1 feat(buildtrigger): allow use to specify dockerfile
users can only specify the folder and the
  dockerfile must be names "Dockerfile" this allows
  users to specify the file and it can be called
  "Dockerfile" or <some name>.Dockerfile
2017-03-06 21:20:17 -05:00
Joseph Schorr
e025d8c2b2 Add schema validation of namespaces and sources methods 2017-02-28 17:19:17 -05:00
Joseph Schorr
84b298f36b Add missing bitbucket test 2017-02-28 17:19:17 -05:00
Joseph Schorr
497c90e7ea Add unit testing of bitbucket trigger handler 2017-02-28 17:19:17 -05:00
Joseph Schorr
8e863b8cf5 Implement new create and manager trigger UI
Implements the new trigger setup user interface, which is now a linear workflow found on its own page, rather than a tiny modal dialog

Fixes #1187
2017-02-28 16:51:42 -05:00
Joseph Schorr
b0b47bbfde Fix KeyError in config when not present in BitBucket trigger
Fixes #2054
2016-10-31 13:26:58 -04:00
Joseph Schorr
406cd942d2 Fix manual run under bitbucket repos with many tags/branches
Fixes #1766

Depends on merging of https://github.com/coreos/py-bitbucket/pull/3 and then a regeneration of the requirements.txt
2016-08-25 18:24:35 -04:00
Joseph Schorr
6a8331d305 Tests for endpoints/web and some small fixes 2016-02-05 09:45:25 +02:00
Jimmy Zelinskie
c7fba332e6 fix handling missing authors for Bitbucket
The author was accidentally always being initialized as a JSONPathDict,
thus the `if` expression following was always true.

Fixes #733.
2015-10-29 14:14:05 -04:00
Joseph Schorr
c33ae0e896 BitBucket is being slow - increase the timeout
Fixes #721
2015-10-26 14:29:29 -04:00
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
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
85ed745433 Fix bitbucket trigger validation for commits without authors 2015-09-25 12:03:21 -04:00
Joseph Schorr
ee836da1e3 Fix raise_if_skipped_build calls 2015-09-22 15:05:25 -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