Page MenuHomeDevCentral

Detect builds issues with Docker images
Closed, ResolvedPublic

Description

Docker Hub fires only notification on push, not on failed build.

So this afternoon @Sandlayth noticed nasqueron/auth-grove image failed.

Event Timeline

dereckson created this task.Aug 31 2016, 17:29

So https://hub.docker.com/account/notifications/ allows to receive notifications by mail.

Plan is:

Ops

  • add on Mailgun a notifications.nasqueron.org domain
  • add a route to send payload to the relevant gate/door

Dev

  • add the capability to receive a different payload format to DockerHub gate, or add a new gate DockerHubMail
  • handle mails like in P217

DNS configuration

notifications.nasqueron.org. 86400 IN TXT "v=spf1 include:mailgun.org ~all"
k1._domainkey.notifications.nasqueron.org. 86400 IN TXT "k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDHcyiXCX4ReKYuMHRyo3exdz8P2wIf3KHIdGJ4HV4o1elCCMfB+M0B/RBrQUgNjeNnUszavgR26GbxESgU4pMw4AeN9h+O4h1+NwYP6L/sYmAOxnIf7yPRBbAu51fHEwYYqKXjPZtFKs+Ub/XY9GnPqF4CMj0+0bbu7RIojE15XwIDAQAB"
notifications.nasqueron.org. 86400 IN MX 10 mxa.mailgun.org.
notifications.nasqueron.org. 86400 IN MX 10 mxb.mailgun.org.

DNS wouldn't work as there is a CNAME.

DNS configuration (part 2)

Removed:
notifications.nasqueron.org canonical name = www3.nasqueron.org.

Added:
notifications.nasqueron.org. 86400 IN AAAA 2001:470:1f13:ce7:ca5:cade:fab:1e
notifications.nasqueron.org. 86400 IN A 212.129.32.223

dereckson moved this task from Backlog to In progress on the User-Dereckson board.
dereckson triaged this task as Unbreak Now! priority.

@Sandlayth created an account to fire notifications to our Mailgun domain, I created a route, so all is configured from our side.

Next step is to commit Notifications center commits, and deploy.

dereckson claimed this task.Sep 2 2016, 11:59