Discord. Post deploys to a Discord channel as colour-coded embeds.
v2.0.0by musterDeploys, Rollbacks, Fleet
muster skill marketplace discord#deploys
musterAPPToday at 14:14
Deployed web
Today at 14:14
Deploying to prod-web-3
Host: 10.0.4.12
Today at 14:14
Set up in three steps. Everything stays on this machine.
Install it
muster skill marketplace discordAdd your credentials
muster skill configure discordIt asks for:
- Bot tokenhidden while you type
MUSTER_DISCORD_BOT_TOKENDeveloper Portal › Your app › Bot › Token
- Channel ID
MUSTER_DISCORD_CHANNEL_IDTurn on Developer Mode, right-click the channel › Copy Channel ID
- Application ID, optional
MUSTER_DISCORD_APP_IDOnly for slash commands
- Server ID, optional
MUSTER_DISCORD_GUILD_IDOnly for slash commands
Values go in the skill’s
config.env, which muster loads before each run.Turn it on
muster skill enable discordFrom now on it runs by itself. Test it any time with
muster skill run discord.
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.