Skip to content

Instantly share code, notes, and snippets.

@kenazk
Created July 17, 2020 20:25
Show Gist options
  • Save kenazk/9b12be55267a2423db125e9b54de8ee6 to your computer and use it in GitHub Desktop.
Save kenazk/9b12be55267a2423db125e9b54de8ee6 to your computer and use it in GitHub Desktop.
victorops.yaml
parameters:
id:
default: ""
name:
default: ""
state:
default: ""
service:
default: ""
timestamp:
default: ""
triggers:
- name: victorops-incident
source:
type: webhook
image: relaysh/victorops-trigger-incident-triggered
binding:
parameters:
id: !Data 'incident_id'
name: !Data 'incident_name'
state: !Data 'incident_state'
service: !Data 'service'
timestamp: !Data 'incident_timestamp'
steps:
- name: dump
image: relaysh/core
when:
- !Fn.notEquals [!Parameter id, ""]
spec:
id: !Parameter id
name: !Secret name
state: !Parameter state
service: !Parameter service
timestamp: !Parameter timestamp
inputFile: https://gist.githubusercontent.com/kenazk/04d4256f2237c0626b56ad5e2e43e39b/raw/87415ece6066e7969f009e716dcae9d5cf01a838/hello.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment