[testenv]
passenv = LAUNCHER
USE_LIGHTY
+ USE_SIMS
NO_ODL_STARTUP
http_proxy
HTTP_PROXY
depends = buildcontroller,tests_hybrid
changedir = {toxinidir}/lighty
commands =
- ./build.sh
+ - ./build.sh
+
+[testenv:sims]
+passenv = USE_SIMS
+allowlist_externals = install_lightynode.sh
+depends = buildcontroller
+commands =
+ ./install_lightynode.sh {posargs:}
[testenv:sims121]
-allowlist_externals = install_honeynode.sh
+passenv = USE_SIMS
+allowlist_externals = install_sims.sh
depends = buildcontroller
# sims profiles does not strictly depends on buildcontroller
# but this dependency avoids race condition in the gate
commands =
- ./install_honeynode.sh 1.2.1
+ ./install_sims.sh 1.2.1
[testenv:sims221]
-allowlist_externals = install_honeynode.sh
+passenv = USE_SIMS
+allowlist_externals = install_sims.sh
depends = buildcontroller
commands =
- ./install_honeynode.sh 2.2.1
+ ./install_sims.sh 2.2.1
[testenv:sims71]
-allowlist_externals = install_honeynode.sh
+passenv = USE_SIMS
+allowlist_externals = install_sims.sh
depends = buildcontroller
commands =
- ./install_honeynode.sh 7.1
+ ./install_sims.sh 7.1
[testenv:testsPCE]
depends = buildcontroller
allowlist_externals = launch_tests.sh
passenv = LAUNCHER
USE_LIGHTY
- NO_ODL_STARTUP
+ USE_SIMS
USE_ODL_RESTCONF_VERSION
setenv =
# USE_LIGHTY=True
allowlist_externals = launch_tests.sh
passenv = LAUNCHER
USE_LIGHTY
+ USE_SIMS
NO_ODL_STARTUP
USE_ODL_RESTCONF_VERSION
setenv =
allowlist_externals = launch_tests.sh
passenv = LAUNCHER
USE_LIGHTY
+ USE_SIMS
NO_ODL_STARTUP
USE_ODL_RESTCONF_VERSION
setenv =
allowlist_externals = launch_tests.sh
passenv = LAUNCHER
USE_LIGHTY
+ USE_SIMS
NO_ODL_STARTUP
USE_ODL_RESTCONF_VERSION
setenv =
[testenv:tests_tapi]
depends = buildcontroller,build_karaf_tests221,sims221
-allowlist_externals = launch_tests.sh add_tapi_feature_to_tests221.sh
+allowlist_externals = launch_tests.sh
+# add_tapi_feature_to_tests221.sh
passenv = LAUNCHER
USE_LIGHTY
+ USE_SIMS
NO_ODL_STARTUP
OLM_TIMER1
OLM_TIMER2
commands =
# ./add_tapi_feature_to_tests221.sh
-- ./launch_tests.sh tapi {posargs:}
+ ./launch_tests.sh tapi {posargs:}
[testenv:with_docker]
depends = buildcontroller,sims221
-allowlist_externals = launch_tests.sh
- dockercmd.sh
+allowlist_externals = launch_tests.sh dockercmd.sh
passenv = LAUNCHER
USE_LIGHTY
+ USE_SIMS
NO_ODL_STARTUP
USE_ODL_RESTCONF_VERSION
# OLM_TIMER1
basepython = python3
deps = pre-commit
passenv = HOME
+allowlist_externals = sh
+ cpan
+ sudo
+ which
commands =
+ sh -c 'which cpan || sudo yum install -y perl-CPAN \
+ || (echo "cpan command not found - please install it \
+ (e.g. sudo apt-get install perl-modules | yum install perl-CPAN )" >&2 && exit 1)'
pre-commit run --all-files --show-diff-on-failure
pre-commit run gitlint-ci --hook-stage manual