Page MenuHomeDevCentral

Accept mail notifications for DockerHub build failures
ClosedPublic

Authored by dereckson on Sep 1 2016, 19:30.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Mar 27, 14:45
Unknown Object (File)
Wed, Mar 27, 09:29
Unknown Object (File)
Wed, Mar 27, 08:03
Unknown Object (File)
Fri, Mar 22, 23:07
Unknown Object (File)
Fri, Mar 22, 18:26
Unknown Object (File)
Fri, Mar 22, 18:16
Unknown Object (File)
Fri, Mar 22, 07:52
Unknown Object (File)
Mon, Mar 18, 23:10

Details

Summary

The Docker Hub has currently an API to fire webhooks event when the
notification fails, but no mechanism to fire such notification when
a build fails.

But such notifications exist, by mail. We so accept incoming mail
Mailgun payloads to process them and fire a DockerHub buildFailure
notification.

Fixes T1000.

Diff Detail

Repository
rNOTIF Notifications center
Lint
Lint Passed
Unit
Tests Passed
Branch
DockerHubFailures

Event Timeline

dereckson retitled this revision from to Accept mail notifications for DockerHub build failures.
dereckson updated this object.
dereckson edited the test plan for this revision. (Show Details)
dereckson added a subscriber: Sandlayth.

Use Mailgun facade defined in D640.

Extract URL and link from text, tests are ok now.

dereckson added inline comments.
app/Notifications/DockerHubNotification.php
121

Use two classes instead here.

Each DockerHub payload have its own analyzer class.

dereckson marked an inline comment as done.
dereckson added inline comments.
app/Analyzers/DockerHub/BaseEvent.php
6

Double space.

dereckson marked an inline comment as done.

Double space → single space in class declarations.

This revision was automatically updated to reflect the committed changes.