Skip to content

Commit

Permalink
feat: upgrade tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dkaras-splunk committed Nov 25, 2024
1 parent 6107f32 commit b4ae176
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 11 additions & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,20 @@ inputs:
description: 'Browser type for UI tests'
required: false
default: ''
app-id:
required: false
description: 'APP ID'
default: ''
ta-upgrade-version:
required: false
description: 'upgrade version of TA'
default: ''
outputs:
workflow-name: # id of output
description: 'Name of workflow triggered'
runs:
using: 'docker'
image: 'docker://ghcr.io/splunk/wfe-test-runner-action/wfe-test-runner-action:v5.0.2'
image: 'Dockerfile'
args:
- ${{ inputs.workflow-tmpl-name }}
- ${{ inputs.workflow-template-ns }}
Expand All @@ -99,3 +107,5 @@ runs:
- ${{ inputs.os-name }}
- ${{ inputs.os-version }}
- ${{ inputs.test-browser }}
- ${{ inputs.app-id }}
- ${{ inputs.ta-upgrade-version }}
2 changes: 2 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ WORKFLOW_NAME=`argo submit -v -o json --from wftmpl/${1} -n ${2} -l workflows.ar
-p os-name=${15} \
-p os-version=${16} \
-p test-browser=${17} \
-p app-id=${18} \
-p ta-upgrade-version=${19} \
-l="${9},test-type=${6},splunk-version=${5}" | jq -r .metadata.name`

echo "After argo submit $?"
Expand Down

0 comments on commit b4ae176

Please sign in to comment.