wip
This commit is contained in:
parent
978872c1e6
commit
734c3d11fa
16
tests/ansible/env/source-wizard.sh
vendored
Executable file
16
tests/ansible/env/source-wizard.sh
vendored
Executable file
|
@ -0,0 +1,16 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
DB_BACKEND=sqlite
|
||||||
|
TEST_SUITE_GIT=https://github.com/crowdsecurity/crowdsec
|
||||||
|
TEST_SUITE_VERSION=mm-wizard
|
||||||
|
|
||||||
|
export DB_BACKEND
|
||||||
|
export PACKAGE_TESTING
|
||||||
|
export TEST_SUITE_GIT
|
||||||
|
export TEST_SUITE_VERSION
|
||||||
|
export TEST_SUITE_ZIP
|
||||||
|
export TEST_PACKAGE_VERSION_DEB
|
||||||
|
export TEST_PACKAGE_VERSION_RPM
|
||||||
|
export TEST_PACKAGE_FILE
|
||||||
|
export TEST_PACKAGE_DIR
|
||||||
|
export TEST_SKIP
|
|
@ -45,7 +45,7 @@
|
||||||
pattern: "*.bats"
|
pattern: "*.bats"
|
||||||
register: testfiles
|
register: testfiles
|
||||||
|
|
||||||
- name: "Run BATS tests for source build"
|
- name: "Run BATS: functional tests for source build"
|
||||||
become: false
|
become: false
|
||||||
block:
|
block:
|
||||||
- name: "Run test scripts"
|
- name: "Run test scripts"
|
||||||
|
@ -74,7 +74,7 @@
|
||||||
when:
|
when:
|
||||||
- (package_testing is not defined) or (package_testing in ['', 'false', 'False'])
|
- (package_testing is not defined) or (package_testing in ['', 'false', 'False'])
|
||||||
|
|
||||||
- name: "Run BATS tests for binary package"
|
- name: "Run BATS: functional tests for binary package"
|
||||||
become: true
|
become: true
|
||||||
block:
|
block:
|
||||||
- name: "Run test scripts"
|
- name: "Run test scripts"
|
||||||
|
|
Loading…
Reference in a new issue