Skills

Slack. Post every deploy and rollback to a Slack channel.

v2.0.0by musterDeploys, Rollbacks, Fleet

muster skill marketplace slack
Source
A Slack channel named deploys with two messages from muster: Deployed web, and Deployed to prod-web-3 with the fleet name and host.
#deploys
musterAPP2:14 PM

Deployed web

musterAPP2:16 PM

Deployed to prod-web-3

Fleet: prod|Host: 10.0.4.12

Set up in three steps. Everything stays on this machine.

  1. Install it

    muster skill marketplace slack
  2. Add your credentials

    muster skill configure slack

    It asks for:

    • Slack incoming webhook URLhidden while you type
      MUSTER_SLACK_WEBHOOK

      api.slack.com/apps › Incoming Webhooks › Add New Webhook

    Values go in the skill’s config.env, which muster loads before each run.

  3. Turn it on

    muster skill enable slack

    From now on it runs by itself. Test it any time with muster skill run slack.

When it runs. The hooks it listens to.

post-deploy
After each service deploys
post-rollback
After each rollback
fleet-deploy-start
A fleet deploy starts
fleet-deploy-end
A fleet deploy finishes
fleet-machine-deploy-start
A machine starts deploying
fleet-machine-deploy-end
A machine finishes deploying
fleet-rollback-start
A fleet rollback starts
fleet-rollback-end
A fleet rollback finishes

Needs curl on the machine that deploys.