Kyle Brown
b8f5a9a22d
Fix bug in Github trigger set up flow
2017-10-23 19:57:53 -07:00
Charlton Austin
e6d201e0b0
feat(build runner): added in context, dockerfile_location
...
this is a new feature meant to allow people to use any file as
a dockerfile and any folder as a context directory
2017-03-28 13:55:31 -04:00
Joseph Schorr
4cb8412fd8
Fix NoneType error in GH trigger when it has no pushed_at field
...
This appears to occur in new repositories that have not yet been pushed.
Fixes https://sentry.io/coreos/backend-production/issues/234686591/
2017-03-20 18:14:50 -04:00
Joseph Schorr
6f567e0850
Add tests for build web hooks endpoint
2017-03-20 13:22:59 -04:00
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
Joseph Schorr
a15abd3b5c
Fix API exception in trigger setup due to invalid Dockerfile path
2017-03-07 19:25:18 -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
81e96d6c1d
Fix merge breakage
2017-03-02 16:33:47 -05:00
Joseph Schorr
c3edc3855a
Fix build trigger tests
2017-02-28 17:19:17 -05:00
Joseph Schorr
e025d8c2b2
Add schema validation of namespaces and sources methods
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
c4f873ae96
Add unit testing of github trigger handler
2017-02-28 17:19:16 -05:00
alecmerdler
a5fc7cba5f
use minified AngularJS
2017-02-28 16:52:16 -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
9db20ff961
Catch SSL errors due to timeouts in Github calls
...
Fixes https://sentry.io/coreos/backend-production/issues/219378902/
2017-02-22 13:20:04 -05:00
josephschorr
c4b73318c0
Merge pull request #2126 from coreos-inc/github-empty
...
Fix github trigger when submitting a webhook without a head_commit
2016-11-17 12:01:59 -05:00
Joseph Schorr
8c78d967f8
Fix KeyError in Github trigger setup
...
Fixes #2128
2016-11-16 15:54:08 -05:00
Joseph Schorr
69e2cfad70
Fix github trigger when submitting a webhook without a head_commit
...
Fixes #2125
2016-11-16 14:14:17 -05:00
Silas Sewell
4f9a7b3482
Fix missing GithubException ref
2015-11-04 11:19:49 -05:00
Joseph Schorr
d9e001b688
Better GitHub error messaging
...
Fixes #612
2015-10-16 13:51:50 -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
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