We have been getting slack notifications on successful and failed builds. But about a week ago they have stopped showing up. Stack related slack notifications are still showing up, but nothing from the builds. Someone else with the same experience?
I wasn’t aware you could get Slack specific webhooks for Docker Hub; that might be useful Last time I looked there were only generic webhooks so I put together a little container that just relays generic webhooks to slack messages for automated builds.
Just in case anyone is interested, you can find the code on github and a pre-built image on dockerhub:
Or spin it up on Docker Cloud with:
slack-relay: image: 'daemonite/slack-relay:latest' environment: - 'SLACK_HOOK=https://hooks.slack.com/services/MY/SLACK/HOOK' - RELAY_PORT=80 - VIRTUAL_HOST=slack-relay.someday.io tags: - prod
The slack notifications are coming from Docker Cloud builds of repositories, not directly from Docker Hub. The artifacts are stored in Docker Hub, but the build process is inside of Docker Cloud.
Ah… I get you. Still waiting on Bitbucket support. Its arrival has been imminent for a long time.