From d60186057d5d1d41a73ed9dd8665439fb5816fa6 Mon Sep 17 00:00:00 2001 From: "Petti, Ken" Date: Fri, 27 Mar 2020 14:30:12 -0400 Subject: [PATCH] testing --- helm-socks-frontend/templates/tests/workflow.yaml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/helm-socks-frontend/templates/tests/workflow.yaml b/helm-socks-frontend/templates/tests/workflow.yaml index a1e9810..7dad866 100644 --- a/helm-socks-frontend/templates/tests/workflow.yaml +++ b/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'