From b1babb3b30e4aec83633ab73036a1edf4be0409b Mon Sep 17 00:00:00 2001 From: mkolasinski-splunk Date: Fri, 4 Jul 2025 15:16:45 +0200 Subject: [PATCH 1/3] chore: initial implementatio nof dynamic python version --- action.yaml | 7 ++++++- entrypoint.sh | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/action.yaml b/action.yaml index 5f58f13..e74739b 100644 --- a/action.yaml +++ b/action.yaml @@ -79,12 +79,16 @@ inputs: required: false description: 'Initial version of the TA for upgrade tests' default: '' + python-version: + description: 'Python version to use for tests' + required: false + default: '3.7' 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.1.0' + image: 'Dockerfile' args: - ${{ inputs.workflow-tmpl-name }} - ${{ inputs.workflow-template-ns }} @@ -104,3 +108,4 @@ runs: - ${{ inputs.os-version }} - ${{ inputs.test-browser }} - ${{ inputs.ta-upgrade-version }} + - ${{ inputs.python-version }} diff --git a/entrypoint.sh b/entrypoint.sh index 99cbaa9..c07a4c3 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -42,6 +42,7 @@ WORKFLOW_NAME=`argo submit -v -o json --from wftmpl/${1} -n ${2} -l workflows.ar -p os-version=${16} \ -p test-browser=${17} \ -p ta-upgrade-version=${18} \ + -p python-version=${19} \ -l="${9},test-type=${6},splunk-version=${5}" | jq -r .metadata.name` echo "After argo submit $?" From b9a7f6a36d5979975c054bbd1c3669ba1adec867 Mon Sep 17 00:00:00 2001 From: mkolasinski-splunk <105011638+mkolasinski-splunk@users.noreply.github.com> Date: Tue, 5 Aug 2025 11:13:05 +0200 Subject: [PATCH 2/3] Update action.yaml --- action.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/action.yaml b/action.yaml index e74739b..addcbdd 100644 --- a/action.yaml +++ b/action.yaml @@ -82,7 +82,6 @@ inputs: python-version: description: 'Python version to use for tests' required: false - default: '3.7' outputs: workflow-name: # id of output description: 'Name of workflow triggered' From cebfe1508fc05aebf496553e3b0eef8816a61585 Mon Sep 17 00:00:00 2001 From: mkolasinski-splunk <105011638+mkolasinski-splunk@users.noreply.github.com> Date: Tue, 5 Aug 2025 19:46:24 +0200 Subject: [PATCH 3/3] Update action.yaml --- action.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/action.yaml b/action.yaml index addcbdd..08782b3 100644 --- a/action.yaml +++ b/action.yaml @@ -82,6 +82,7 @@ inputs: python-version: description: 'Python version to use for tests' required: false + default: '' outputs: workflow-name: # id of output description: 'Name of workflow triggered'