From f2f22f9d3bfa2f934dffde27148b464ee5386a03 Mon Sep 17 00:00:00 2001 From: Siddharth Khatsuriya Date: Wed, 1 Sep 2021 19:49:34 +0530 Subject: [PATCH] added sc4s version --- action.yaml | 8 ++++---- entrypoint.sh | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/action.yaml b/action.yaml index 65594f9..f86137a 100644 --- a/action.yaml +++ b/action.yaml @@ -49,9 +49,9 @@ inputs: addon-secret-id: description: 'AWS addon secret ID' required: true - extra-args: - description: 'Extra args for arg0 submit' - required: false + sc4s-version: + description: 'version of SC4S, No if not required' + required: true outputs: workflow-name: # id of output @@ -70,5 +70,5 @@ runs: - ${{ inputs.test-args }} - ${{ inputs.labels }} - ${{ inputs.addon-secret-id }} - - ${{ inputs.extra-args}} + - ${{ inputs.sc4s-version } diff --git a/entrypoint.sh b/entrypoint.sh index 65f0c86..a5e9bdb 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -26,6 +26,7 @@ WORKFLOW_NAME=`argo submit -v -o json --from wftmpl/${1} -n ${2} -l workflows.ar -p test-type=${7} \ -p pytest-args="${8}" \ -p aws-addon-secret-id=${10} \ + -p sc4s-version=${11} \ -l="${9},test-type=${7},splunk-version=${6}" | jq -r .metadata.name` echo "After argo submit $?"