Skip to content

Commit

Permalink
Merge pull request #3 from splunk/feat/add-new-param-for-sc4s-registry
Browse files Browse the repository at this point in the history
feat: added sc4s-docker-registry param
  • Loading branch information
siddharth-khatsuriya authored Feb 21, 2022
2 parents 0fb8ce3 + b017e65 commit 779df62
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ inputs:
install-java:
description: 'install java on splunk instance'
default: 'No'
sc4s-docker-registry:
description: 'Docker registry from which sc4s images will be pulled'
required: false
default: ''

outputs:
workflow-name: # id of output
Expand All @@ -80,4 +84,5 @@ runs:
- ${{ inputs.vendor-version }}
- ${{ inputs.sc4s-version }}
- ${{ inputs.install-java }}
- ${{ inputs.sc4s-docker-registry }}

1 change: 1 addition & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ WORKFLOW_NAME=`argo submit -v -o json --from wftmpl/${1} -n ${2} -l workflows.ar
-p vendor-version=${11}\
-p sc4s-version=${12} \
-p install-java=${13} \
-p sc4s-docker-registry=${14} \
-l="${9},test-type=${7},splunk-version=${6}" | jq -r .metadata.name`

echo "After argo submit $?"
Expand Down

0 comments on commit 779df62

Please sign in to comment.