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

Chore: trimming test report #873

Closed
wants to merge 29 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 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
42131ca
ci: adding hook
harshilgajera-crest Jul 29, 2024
360251a
ci: lint changes
harshilgajera-crest Jul 30, 2024
75cdd2c
ci: updating decorator
harshilgajera-crest Jul 31, 2024
550dd18
Merge remote-tracking branch 'origin/ci/feature-release' into ci/trim…
artemrys Aug 5, 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
4 changes: 2 additions & 2 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 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
726 changes: 696 additions & 30 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 $@
60 changes: 39 additions & 21 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 @@ -16,7 +16,7 @@

[tool.poetry]
name = "pytest-splunk-addon"
version = "5.2.6"
version = "5.3.0-beta.10"
description = "A Dynamic test tool for Splunk Apps and Add-ons"
authors = ["Splunk <[email protected]>"]
license = "APACHE-2.0"
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