Skip to content

Instantly share code, notes, and snippets.

@szyn
Created April 16, 2017 12:26
Show Gist options
  • Select an option

  • Save szyn/656ac16807a9821ba2938a75380b1ad5 to your computer and use it in GitHub Desktop.

Select an option

Save szyn/656ac16807a9821ba2938a75380b1ad5 to your computer and use it in GitHub Desktop.
digdag-slack plugin's sample
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
_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