Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop #867

Draft
wants to merge 30 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
b851bb9
feat: updating network resolution data model (#840)
harshilgajera-crest May 16, 2024
74f7de5
chore(release): 5.3.0-beta.1
srv-rr-github-token May 16, 2024
3859725
feat: updating network resolution model (#844)
harshilgajera-crest May 27, 2024
dd9c6b8
chore(release): 5.3.0-beta.2
srv-rr-github-token May 27, 2024
a143c49
fix: updating src and dest fields (#846)
harshilgajera-crest May 29, 2024
8d4fb44
fix: do not log .conf parser warnings from all workers (#845)
harshilgajera-crest May 29, 2024
c02e369
chore(deps): lock file maintenance (#787)
renovate[bot] Jun 3, 2024
bea216e
chore(release): 5.3.0-beta.3
srv-rr-github-token Jun 3, 2024
93d280e
chore: merge respective docker-compose* and pytest* files into one (#…
harshilgajera-crest Jun 11, 2024
1157ab9
feat: updating cim model definitions (#856)
harshilgajera-crest Jun 26, 2024
0f96996
chore(release): 5.3.0-beta.4
srv-rr-github-token Jun 26, 2024
fc43cea
refactor: remove standard_lib nested folder (#850)
harshilgajera-crest Jun 27, 2024
89fd96e
feat: schema changes for LR notes (#857)
kkedziak-splunk Jun 28, 2024
d68d20d
Revert "feat: schema changes for LR notes" (#861)
artemrys Jul 1, 2024
42b6a3b
chore(release): 5.3.0-beta.5
srv-rr-github-token Jul 1, 2024
5e7d1e8
feat: add support for CIM v5.3.2 (#853)
harshilgajera-crest Jul 1, 2024
6acef89
chore(release): 5.3.0-beta.6
srv-rr-github-token Jul 1, 2024
168b915
feat: schema changes for LR notes (#862)
kkedziak-splunk Jul 3, 2024
ea24436
chore(release): 5.3.0-beta.7
srv-rr-github-token Jul 3, 2024
a00fc81
fix: updating url rule (#864)
harshilgajera-crest Jul 10, 2024
ee5ef84
chore(release): 5.3.0-beta.8
srv-rr-github-token Jul 10, 2024
91fd95d
feat: adding new data models (#863)
harshilgajera-crest Jul 11, 2024
b54ce6a
chore(release): 5.3.0-beta.9
srv-rr-github-token Jul 11, 2024
b2f6dc5
feat: adding CLEAN_KEYS support (#869)
harshilgajera-crest Jul 24, 2024
575c440
chore(release): 5.3.0-beta.10
srv-rr-github-token Jul 24, 2024
c8510f3
Merge branch 'main' into develop
harshilgajera-crest Aug 14, 2024
5f188c4
chore(release): 5.4.0-beta.1
srv-rr-github-token Aug 14, 2024
c4f72fe
feat!: remove feature cim-field-report generation (#885)
dvarasani-crest Aug 22, 2024
19f3967
fix: remove-pytest_exception_interact hook (#881)
kdoroszko-splunk Aug 28, 2024
9c2012d
chore(release): 5.4.0-beta.2
srv-rr-github-token Aug 28, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/build-test-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ jobs:
export SPLUNK_VERSION=${{ matrix.splunk.version }}
export SPLUNK_HEC_TOKEN="9b741d03-43e9-4164-908b-e09102327d22"
echo $SPLUNK_VERSION
docker compose -f "docker-compose-ci.yml" build
SPLUNK_PASSWORD=Chang3d! docker compose -f docker-compose-ci.yml up --abort-on-container-exit
docker compose -f "docker-compose.yml" build
SPLUNK_PASSWORD=Chang3d! docker compose -f docker-compose.yml up --abort-on-container-exit
docker volume ls
- name: Collect Results
run: |
Expand All @@ -129,6 +129,7 @@ jobs:
path: |
test-results-${{ matrix.splunk.version }}


test-splunk-matrix:
needs:
- meta
Expand All @@ -149,7 +150,6 @@ jobs:
"splunk_app_cim_broken",
"splunk_fiction_indextime",
"splunk_fiction_indextime_broken",
"splunk_fiction_indextime_wrong_hec_token",
"splunk_setup_fixture",
"splunk_app_req",
"splunk_app_req_broken",
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.tests
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ RUN export DEBIAN_FRONTEND=noninteractive ;\

ENV LANG en_US.utf8

COPY pytest-ci.ini /work/pytest.ini
COPY pytest.ini /work/pytest.ini
COPY tests /work/tests/
WORKDIR /work

Expand Down
190 changes: 134 additions & 56 deletions NOTICE

Large diffs are not rendered by default.

93 changes: 0 additions & 93 deletions docker-compose-ci.yml

This file was deleted.

11 changes: 10 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,15 @@
#work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
version: "3.7"
services:
test:
build:
context: .
dockerfile: Dockerfile.tests
links:
- splunk
- sc4s
volumes:
- results:/work/test-results

sc4s:
image: ghcr.io/splunk/splunk-connect-for-syslog/container2:latest
Expand Down Expand Up @@ -101,5 +110,5 @@ services:
- ${CURRENT_DIR}/uf_files:${CURRENT_DIR}/uf_files

volumes:
splunk-sc4s-var:
results:
external: false
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ export PATH="/root/.local/bin:$PATH"
source ~/.poetry/env
sleep 15
poetry install
exec poetry run pytest -vv $@
exec poetry run pytest -vv --junitxml=/work/test-results/test.xml $@
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

[tool.poetry]
name = "pytest-splunk-addon"
version = "5.3.0"
version = "5.4.0-beta.2"
description = "A Dynamic test tool for Splunk Apps and Add-ons"
authors = ["Splunk <[email protected]>"]
license = "APACHE-2.0"
Expand Down Expand Up @@ -60,7 +60,6 @@ pytest11 = { plugin = "pytest_splunk_addon.plugin", "splunk" = "pytest_splunk_ad

[tool.poetry.scripts]
cim-report = 'pytest_splunk_addon.utilities.junit_parser:main'
cim-field-report = 'pytest_splunk_addon.tools.cim_field_report:main'
sample_splitter = 'pytest_splunk_addon.utilities.sample_splitter:main'

[build-system]
Expand Down
20 changes: 0 additions & 20 deletions pytest-ci.ini

This file was deleted.

2 changes: 1 addition & 1 deletion pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
#
[pytest]
testpaths = tests
addopts = -v --tb=long -m docker --log-level=INFO
addopts = -v --tb=long -m external tests/e2e
filterwarnings =
ignore::DeprecationWarning
Loading
Loading