Skip to content

Commit

Permalink
changed run-destroy to delay-destroy
Browse files Browse the repository at this point in the history
  • Loading branch information
Siddharth Khatsuriya committed Sep 3, 2021
1 parent 2d0044c commit cdf573f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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="[email protected]:${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} \
Expand Down

0 comments on commit cdf573f

Please sign in to comment.