Commit graph

21 commits

Author SHA1 Message Date
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