Skip to content

Commit cf124bb

Browse files
authored
feat: migrate from helmut to splunksplwrapper (#762)
* feat: migrate from helmut to splunksplwrapper (#759) * feat: migrate from helmut to splunksplwrapper * ci: some minor changes for CI * ci: update agreements workflow * ci: fix the typo in the pipeline BREAKING CHANGE: migrate from helmut to splunksplwrapper
1 parent 3595f58 commit cf124bb

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+40
-11076
lines changed

.github/workflows/agreements.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
call-workflow-agreements:
10-
uses: splunk/addonfactory-github-workflows/.github/workflows/reusable-agreements.yaml@v1.2.1
10+
uses: splunk/addonfactory-github-workflows/.github/workflows/reusable-agreements.yaml@v1.3
1111
secrets:
1212
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1313
PERSONAL_ACCESS_TOKEN: ${{ secrets.PAT_CLATOOL }}

.github/workflows/build-test-release.yml

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -82,15 +82,6 @@ jobs:
8282
uses: edplato/trufflehog-actions-scan@v0.9j-beta
8383
with:
8484
scanArguments: "--max_dept 50 -x .github/workflows/exclude-patterns.txt"
85-
86-
review-dog-misspell:
87-
runs-on: ubuntu-latest
88-
steps:
89-
- uses: actions/checkout@v3
90-
- name: Run misspell with reviewdog
91-
uses: reviewdog/action-misspell@v1.12
92-
with:
93-
github_token: ${{ secrets.GITHUB_TOKEN }}
9485

9586
test-splunk-unit:
9687
name: Unit tests
@@ -141,11 +132,10 @@ jobs:
141132
- test-splunk-doc
142133
- test-splunk-unit
143134
- review_secrets
144-
- review-dog-misspell
145135
strategy:
146136
fail-fast: false
147137
matrix:
148-
splunk-version: ["8.1", "9.0"]
138+
splunk-version: ["8.1", "8.2", "9.0"]
149139
steps:
150140
- uses: actions/checkout@v3
151141
with:
@@ -192,12 +182,11 @@ jobs:
192182
- test-splunk-doc
193183
- test-splunk-unit
194184
- review_secrets
195-
- review-dog-misspell
196185
runs-on: ubuntu-latest
197186
strategy:
198187
fail-fast: false
199188
matrix:
200-
splunk-version: ["8.1", "9.0"]
189+
splunk-version: ["8.1", "8.2", "9.0"]
201190
test-marker: [
202191
"splunk_connection_docker",
203192
"splunk_app_fiction",

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ coverage.xml
2323
.hypothesis/
2424
.pytest_cache
2525
pytest_splunk_addon.log
26-
helmut.log
26+
splunksplwrapper.log
2727
!tests/e2e/addons/*/.log
2828
docs/_build/
2929
/site/

poetry.lock

Lines changed: 21 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ classifiers = [
3232
include = ["pytest_splunk_addon/**/*.json", "pytest_splunk_addon/**/*.txt"]
3333

3434
[tool.poetry.dependencies]
35-
httplib2 = "<=0.20.4"
3635
python = "^3.7"
3736
pytest = ">5.4.0,<7.3"
3837
splunk-sdk = "^1.6"
@@ -48,6 +47,7 @@ defusedxml = "^0.7.1"
4847
Faker = "^13.12.0"
4948
xmltodict = "^0.13.0"
5049
xmlschema = "^1.11.3"
50+
splunksplwrapper = "^1.0.1"
5151

5252
[tool.poetry.extras]
5353
docker = ['lovely-pytest-docker']

pytest_splunk_addon/helmut/__init__.py

Lines changed: 0 additions & 23 deletions
This file was deleted.

pytest_splunk_addon/helmut/app/__init__.py

Lines changed: 0 additions & 214 deletions
This file was deleted.

pytest_splunk_addon/helmut/connector/__init__.py

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)