Skip to content

Commit

Permalink
feat: add browser argument (#27)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: add test-browser argument (test browser type).

Related PRs:
- splunk/addonfactory-workflow-addon-release#261
(reusable workflow PR will have to be updated [by this
changes](splunk/addonfactory-workflow-addon-release@ui-markers...fix/ui-markers))
- splunk/ta-automation-app-of-apps#9

Test runs:
-
[test-addonfactory-repo](https://github.com/splunk/test-addonfactory-repo/actions/runs/9193209865/job/25284182463)

-
[splunk-add-on-for-amazon-web-services](https://github.com/splunk/splunk-add-on-for-amazon-web-services/actions/runs/9192893030/job/25283275525)
  • Loading branch information
kdoroszko-splunk authored May 27, 2024
1 parent 77ff19e commit 65871c3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,16 @@ inputs:
description: 'OS version on which splunk will be spinned for scripted input'
required: false
default: 'latest'
test-browser:
description: 'Browser type for UI tests'
required: false
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:v4.0.0'
image: 'Dockerfile'
args:
- ${{ inputs.workflow-tmpl-name }}
- ${{ inputs.workflow-template-ns }}
Expand All @@ -94,3 +98,4 @@ runs:
- ${{ inputs.sc4s-docker-registry }}
- ${{ inputs.os-name }}
- ${{ inputs.os-version }}
- ${{ inputs.test-browser }}
1 change: 1 addition & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ WORKFLOW_NAME=`argo submit -v -o json --from wftmpl/${1} -n ${2} -l workflows.ar
-p sc4s-docker-registry=${14} \
-p os-name=${15} \
-p os-version=${16} \
-p test-browser=${17} \
-l="${9},test-type=${6},splunk-version=${5}" | jq -r .metadata.name`

echo "After argo submit $?"
Expand Down

0 comments on commit 65871c3

Please sign in to comment.