Browse Source

updating hook

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

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

@ -12,8 +12,10 @@ spec:
- name: check-service-up
container:
image: appropriate/curl
command:
- curl -X GET helm-socks-frontend-int
command: ["curl"]
args:
- '-X GET'
- 'helm-socks-frontend-int'
- name: exit-handler
steps:
@ -30,9 +32,9 @@ spec:
- name: status
container:
image: appropriate/curl
command:
- |-
curl -X POST -H "Content-Type: application/json"
-d {{ `{{ inputs.parameters.status }}` }}
https://webhook.site/c1d94793-b1b1-424b-b412-3f429a6825bb
command: ["curl"]
args:
- '-X POST'
- '-H "Content-Type: application/json"'
- '-d {{ `{{ inputs.parameters.status }}` }}'
- 'https://webhook.site/c1d94793-b1b1-424b-b412-3f429a6825bb'

Loading…
Cancel
Save