Created
April 16, 2017 12:26
-
-
Save szyn/656ac16807a9821ba2938a75380b1ad5 to your computer and use it in GitHub Desktop.
digdag-slack plugin's sample
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| username: Digdag | |
| icon_emoji: ':blush:' | |
| attachments: | |
| - fallback: '[SUCCESS] ${workflow_name} workflow' | |
| color: "good" | |
| text: '*[SUCCESS]* `${workflow_name}` Workflow' | |
| mrkdwn_in: | |
| - text | |
| - pretext | |
| - fields | |
| fields: | |
| - title: Task Name | |
| value: "${task_name}" | |
| short: false | |
| - title: Session Date | |
| value: "${session_date}" # digdag build-in values | |
| short: true | |
| - title: Environment | |
| value: "${ENV}" | |
| short: true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| _export: | |
| plugin: | |
| repositories: | |
| - https://jitpack.io | |
| dependencies: | |
| - com.github.szyn:digdag-slack:0.1.1 | |
| webhook_url: https://hooks.slack.com/services/XXX/XXX/XXX | |
| workflow_name: slack | |
| ENV: develop | |
| +step1-1: | |
| echo>: "Next will be success!" | |
| +step1-2: | |
| slack>: good-template.yml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment