Skip to content

Commit

Permalink
feat: migrate from helmut to splunksplwrapper (#762)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
artemrys authored Feb 22, 2023
1 parent 3595f58 commit cf124bb
Show file tree
Hide file tree
Showing 78 changed files with 40 additions and 11,076 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/agreements.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
call-workflow-agreements:
uses: splunk/addonfactory-github-workflows/.github/workflows/reusable-agreements.yaml@v1.2.1
uses: splunk/addonfactory-github-workflows/.github/workflows/reusable-agreements.yaml@v1.3
secrets:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PERSONAL_ACCESS_TOKEN: ${{ secrets.PAT_CLATOOL }}
15 changes: 2 additions & 13 deletions .github/workflows/build-test-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,15 +82,6 @@ jobs:
uses: edplato/[email protected]
with:
scanArguments: "--max_dept 50 -x .github/workflows/exclude-patterns.txt"

review-dog-misspell:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run misspell with reviewdog
uses: reviewdog/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

test-splunk-unit:
name: Unit tests
Expand Down Expand Up @@ -141,11 +132,10 @@ jobs:
- test-splunk-doc
- test-splunk-unit
- review_secrets
- review-dog-misspell
strategy:
fail-fast: false
matrix:
splunk-version: ["8.1", "9.0"]
splunk-version: ["8.1", "8.2", "9.0"]
steps:
- uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -192,12 +182,11 @@ jobs:
- test-splunk-doc
- test-splunk-unit
- review_secrets
- review-dog-misspell
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
splunk-version: ["8.1", "9.0"]
splunk-version: ["8.1", "8.2", "9.0"]
test-marker: [
"splunk_connection_docker",
"splunk_app_fiction",
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ coverage.xml
.hypothesis/
.pytest_cache
pytest_splunk_addon.log
helmut.log
splunksplwrapper.log
!tests/e2e/addons/*/.log
docs/_build/
/site/
Expand Down
25 changes: 21 additions & 4 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ classifiers = [
include = ["pytest_splunk_addon/**/*.json", "pytest_splunk_addon/**/*.txt"]

[tool.poetry.dependencies]
httplib2 = "<=0.20.4"
python = "^3.7"
pytest = ">5.4.0,<7.3"
splunk-sdk = "^1.6"
Expand All @@ -48,6 +47,7 @@ defusedxml = "^0.7.1"
Faker = "^13.12.0"
xmltodict = "^0.13.0"
xmlschema = "^1.11.3"
splunksplwrapper = "^1.0.1"

[tool.poetry.extras]
docker = ['lovely-pytest-docker']
Expand Down
23 changes: 0 additions & 23 deletions pytest_splunk_addon/helmut/__init__.py

This file was deleted.

214 changes: 0 additions & 214 deletions pytest_splunk_addon/helmut/app/__init__.py

This file was deleted.

27 changes: 0 additions & 27 deletions pytest_splunk_addon/helmut/connector/__init__.py

This file was deleted.

Loading

0 comments on commit cf124bb

Please sign in to comment.