Commit graph

15 commits

Author SHA1 Message Date
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
c3edc3855a Fix build trigger tests 2017-02-28 17:19:17 -05:00
Joseph Schorr
b403906bc8 Fix flakiness in new tests due to change in hash seed 2017-02-28 17:19:17 -05:00
Joseph Schorr
c9bddd9c9a Remove unnecessary check 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
57528aa2bc Add unit testing of gitlab trigger handler 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
ba301b401b Break common git hosts tests into their own suite 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
Joseph Schorr
cfe231f618 Add unit testing of custom trigger handler 2017-02-28 17:19:16 -05:00