-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from splunk/feature/auto-pr-dep-buld-pytest
Update submodules
- Loading branch information
Showing
12 changed files
with
38 additions
and
408 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
#COPYRIGHT SPLUNK, Inc 2020 | ||
|
||
version: 2.1 | ||
orbs: | ||
go: circleci/[email protected] | ||
|
@@ -157,18 +159,29 @@ orbs: | |
ls -l deps/build/addonfactory_test_matrix_splunk/splunk_matrix.conf | ||
export SPLUNK_VERSION=$(crudini --get deps/build/addonfactory_test_matrix_splunk/splunk_matrix.conf "<<parameters.splunk_version>>" VERSION) | ||
docker-compose -f docker-compose-ci.yml build | ||
docker-compose -f docker-compose-ci.yml up -d splunk | ||
sleep 90 | ||
docker-compose -f docker-compose-ci.yml up -d splunk | ||
while [ $? -ne 0 ]; do docker logs c14f4fadf39a | grep "Ansible playbook complete" ; done | ||
sleep 30 | ||
- run: | ||
name: Run diag | ||
when: always | ||
command: | | ||
mkdir /tmp/diag | ||
diag=$(docker-compose -f docker-compose-ci.yml exec splunk sudo -u splunk /opt/splunk/bin/splunk diag | grep "Splunk diagnosis file created" | sed -n 's/.* \(\/.*\.gz\)/\1/p') | ||
docker-compose -f docker-compose-ci.yml exec splunk sudo chmod +r ${diag//[$'\t\r\n']} | ||
docker cp project_splunk_1:${diag//[$'\t\r\n']} /tmp/diag | ||
- run: | ||
name: Check btool | ||
when: always | ||
command: | | ||
docker-compose -f docker-compose-ci.yml exec splunk sudo /opt/splunk/bin/splunk cmd btool check | ||
docker-compose -f docker-compose-ci.yml up -d splunk | ||
sleep 30 | ||
- run: | ||
name: Test | ||
when: always | ||
command: | | ||
docker-compose -f docker-compose-ci.yml up --abort-on-container-exit | ||
docker-compose -f docker-compose-ci.yml up --abort-on-container-exit test | ||
no_output_timeout: 1h | ||
- run: | ||
name: collect results | ||
|
@@ -195,6 +208,9 @@ orbs: | |
docker_layer_caching: true | ||
- test_aio: | ||
splunk_version: <<parameters.splunk_version>> | ||
- store_artifacts: | ||
path: /tmp/diag | ||
destination: test-diag | ||
- store_artifacts: | ||
path: test-results | ||
destination: test-results | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule pytest-splunk-addon
updated
25 files
+277 −0 | .circleci/config.yml | |
+0 −5 | .env | |
+0 −22 | .github/workflows/package_runner.yml | |
+16 −18 | .github/workflows/test_matrix.yml | |
+3 −1 | .gitignore | |
+3 −0 | .gitmodules | |
+4 −4 | Dockerfile | |
+1 −0 | LICENSE | |
+0 −88 | Makefile | |
+0 −1 | config.env | |
+0 −3 | deploy.env | |
+1 −0 | deps/build/addonfactory_test_matrix_splunk | |
+32 −0 | docker-compose-ci.yml | |
+1 −1 | entrypoint.sh | |
+10 −0 | pytest-ci.ini | |
+3 −1 | pytest.ini | |
+52 −13 | pytest_splunk_addon/plugin.py | |
+67 −7 | pytest_splunk_addon/standard_lib/addon_basic.py | |
+0 −2 | requirements.txt | |
+625 −0 | semtag | |
+6 −13 | setup.cfg | |
+36 −33 | setup.py | |
+0 −4 | tests/conftest.py | |
+50 −33 | tests/test_splunk_addon.py | |
+0 −79 | wait-for |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file added
BIN
+39.1 KB
...ge/bin/seckit_sa_geolocation/aob_py3/markupsafe/_speedups.cpython-37m-x86_64-linux-gnu.so
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
|
||
pytest | ||
pytest-runner | ||
requests | ||
|
Oops, something went wrong.