Browse Source

testing

pull/45/head
Petti, Ken 5 years ago
parent
commit
d60186057d
  1. 12
      helm-socks-frontend/templates/tests/workflow.yaml

12
helm-socks-frontend/templates/tests/workflow.yaml

@ -19,18 +19,10 @@ spec:
steps:
- - name: notify
template: send-status-webhook
when: "{{workflow.status}} == Succeeded"
arguments:
parameters:
- name: status
value: Succeeded
- name: notify
template: send-status-webhook
when: "`{{"workflow.status"}}` != Succeeded"
arguments:
parameters:
- name: status
value: Failed
value: "{{ `{{ workflow.status }}` }}"
- name: send-status-webhook
inputs:
@ -43,6 +35,6 @@ spec:
- '-X'
- 'POST'
- '-H "Content-Type: application/json"'
- '-d "{"status":"`{{ inputs.parameters.status }}`"}"'
- '-d "{"status":"{{ `{{ inputs.parameters.status }}` }}"}"'
- 'https://webhook.site/c1d94793-b1b1-424b-b412-3f429a6825bb'

Loading…
Cancel
Save