diff --git a/action.yaml b/action.yaml index 3da1c34..9a4fa4a 100644 --- a/action.yaml +++ b/action.yaml @@ -39,10 +39,10 @@ inputs: description: 'Namespace where the workflow template lies' required: false default: 'default' - destroy-setup: - description: 'Destroy the Infrastructure set up for testing' - required: false - default: 'Yes' + delay-destroy: + description: 'Delay destruction of the setup by 1h' + required: True + default: 'No' addon-url: description: 'URL for Add-on spl' required: true @@ -62,7 +62,7 @@ runs: args: - ${{ inputs.workflow-tmpl-name }} - ${{ inputs.workflow-template-ns }} - - ${{ inputs.destroy-setup }} + - ${{ inputs.delay-destroy }} - ${{ inputs.addon-url }} - ${{ inputs.job-name }} - ${{ inputs.splunk }} diff --git a/entrypoint.sh b/entrypoint.sh index a5e9bdb..9399999 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -19,7 +19,7 @@ env | grep ARGO WORKFLOW_NAME=`argo submit -v -o json --from wftmpl/${1} -n ${2} -l workflows.argoproj.io/workflow-template=${1} --argo-base-href '' \ -p ci-repository-url="git@github.com:${GITHUB_REPOSITORY}.git" \ - -p ci-commit-sha=${GITHUB_SHA} -p run-destroy=${3} \ + -p ci-commit-sha=${GITHUB_SHA} -p delay-destroy=${3} \ -p addon-url="${4}" \ -p job-name=${5} \ -p splunk-version=${6} \