Skip to content

Commit

Permalink
feat: revert unreleased python39 splunk (#154)
Browse files Browse the repository at this point in the history
* Revert "chore(release): 1.11.0"

This reverts commit bf355c5.

* Revert "docs: update README with versions (#153)"

This reverts commit af9a068.

* Revert "feat: add unreleased splunk (#152)"

This reverts commit eaab6db.
  • Loading branch information
mkolasinski-splunk authored Nov 10, 2023
1 parent af9a068 commit 3452334
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 15 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# addonfactory-test-matrix-action

This GitHub Actions is used to prepare output variables that can be used to determine the correct flow of a CI workflow.

The latest stable version is v1.10, please use it. Version v1.11 contains unreleased Splunk version which is not accessible by public.
This Github Actions is used to prepare output variables that can be used to determine the correct flow of a CI workflow.

Using this approach an addon/connector to be tested can identify by feature flag which versions of Splunk should be tested. The tool is configured by a `.addonmatrix` file in the repo root. If no file is present all supported versions of Splunk will be tested.

Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ name: "Add on factory test matrix"
description: "This tool automates the selection matrix dimensions"
runs:
using: "docker"
image: docker://ghcr.io/splunk/addonfactory-test-matrix-action/addonfactory-test-matrix-action:v1.11.0
image: docker://ghcr.io/splunk/addonfactory-test-matrix-action/addonfactory-test-matrix-action:v1.10.4
2 changes: 1 addition & 1 deletion addonfactory_test_matrix_action/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def _generate_supported_splunk(args, path):
config.read(splunk_matrix)
supported_splunk = []
for section in config.sections():
if re.search(r"^\d+|unreleased-.*", section):
if re.search(r"^\d+", section):
props = {}
supported_splunk_string = config[section]["SUPPORTED"]
eol = datetime.strptime(supported_splunk_string, "%Y-%m-%d").date()
Expand Down
10 changes: 0 additions & 10 deletions config/splunk_matrix.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,6 @@
LATEST = 9.1
OLDEST = 8.2

[unreleased-python3_9-a076ce4c50aa]
VERSION = unreleased-python3_9-a076ce4c50aa
BUILD = a076ce4c50aa
SUPPORTED = 2035-07-06
PYTHON3 = true
PYTHON2 = false
METRICS_MULTI = true
INPUT_LOOKUP = true
SWC = true

[9.1]
VERSION = 9.1.1
BUILD = 64e843ea36b1
Expand Down

0 comments on commit 3452334

Please sign in to comment.