Code Review
/
transportpce.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Refactor ConvertORTopoToTapiTopoTest"
[transportpce.git]
/
tox.ini
diff --git
a/tox.ini
b/tox.ini
index 98bde2aef98add84001c88d0825a485a7a88686e..73f3460ee563f51e23f57e900dcf715b554608d7 100644
(file)
--- a/
tox.ini
+++ b/
tox.ini
@@
-26,6
+26,7
@@
setupdir = tests/
[testenv]
passenv = LAUNCHER
USE_LIGHTY
[testenv]
passenv = LAUNCHER
USE_LIGHTY
+ USE_SIMS
NO_ODL_STARTUP
http_proxy
HTTP_PROXY
NO_ODL_STARTUP
http_proxy
HTTP_PROXY
@@
-59,27
+60,37
@@
allowlist_externals = build.sh
depends = buildcontroller,tests_hybrid
changedir = {toxinidir}/lighty
commands =
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]
[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 =
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]
[testenv:sims221]
-allowlist_externals = install_honeynode.sh
+passenv = USE_SIMS
+allowlist_externals = install_sims.sh
depends = buildcontroller
commands =
depends = buildcontroller
commands =
- ./install_
honeynode
.sh 2.2.1
+ ./install_
sims
.sh 2.2.1
[testenv:sims71]
[testenv:sims71]
-allowlist_externals = install_honeynode.sh
+passenv = USE_SIMS
+allowlist_externals = install_sims.sh
depends = buildcontroller
commands =
depends = buildcontroller
commands =
- ./install_
honeynode
.sh 7.1
+ ./install_
sims
.sh 7.1
[testenv:testsPCE]
depends = buildcontroller
[testenv:testsPCE]
depends = buildcontroller
@@
-120,7
+131,7
@@
depends = buildcontroller,build_karaf_tests121,sims121,testsPCE
allowlist_externals = launch_tests.sh
passenv = LAUNCHER
USE_LIGHTY
allowlist_externals = launch_tests.sh
passenv = LAUNCHER
USE_LIGHTY
- NO_ODL_STARTUP
+ USE_SIMS
USE_ODL_RESTCONF_VERSION
setenv =
# USE_LIGHTY=True
USE_ODL_RESTCONF_VERSION
setenv =
# USE_LIGHTY=True
@@
-173,6
+184,7
@@
depends = buildcontroller,build_karaf_tests221,sims221,tests71
allowlist_externals = launch_tests.sh
passenv = LAUNCHER
USE_LIGHTY
allowlist_externals = launch_tests.sh
passenv = LAUNCHER
USE_LIGHTY
+ USE_SIMS
NO_ODL_STARTUP
USE_ODL_RESTCONF_VERSION
setenv =
NO_ODL_STARTUP
USE_ODL_RESTCONF_VERSION
setenv =
@@
-200,6
+212,7
@@
depends = buildcontroller,build_karaf_tests71,sims71,tests_tapi
allowlist_externals = launch_tests.sh
passenv = LAUNCHER
USE_LIGHTY
allowlist_externals = launch_tests.sh
passenv = LAUNCHER
USE_LIGHTY
+ USE_SIMS
NO_ODL_STARTUP
USE_ODL_RESTCONF_VERSION
setenv =
NO_ODL_STARTUP
USE_ODL_RESTCONF_VERSION
setenv =
@@
-227,6
+240,7
@@
depends = buildcontroller,build_karaf_tests_hybrid,sims121,sims221,sims71,tests1
allowlist_externals = launch_tests.sh
passenv = LAUNCHER
USE_LIGHTY
allowlist_externals = launch_tests.sh
passenv = LAUNCHER
USE_LIGHTY
+ USE_SIMS
NO_ODL_STARTUP
USE_ODL_RESTCONF_VERSION
setenv =
NO_ODL_STARTUP
USE_ODL_RESTCONF_VERSION
setenv =
@@
-240,9
+254,11
@@
commands =
[testenv:tests_tapi]
depends = buildcontroller,build_karaf_tests221,sims221
[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
passenv = LAUNCHER
USE_LIGHTY
+ USE_SIMS
NO_ODL_STARTUP
OLM_TIMER1
OLM_TIMER2
NO_ODL_STARTUP
OLM_TIMER1
OLM_TIMER2
@@
-258,14
+274,14
@@
setenv =
commands =
# ./add_tapi_feature_to_tests221.sh
commands =
# ./add_tapi_feature_to_tests221.sh
-
-
./launch_tests.sh tapi {posargs:}
+ ./launch_tests.sh tapi {posargs:}
[testenv:with_docker]
depends = buildcontroller,sims221
[testenv:with_docker]
depends = buildcontroller,sims221
-allowlist_externals = launch_tests.sh
- dockercmd.sh
+allowlist_externals = launch_tests.sh dockercmd.sh
passenv = LAUNCHER
USE_LIGHTY
passenv = LAUNCHER
USE_LIGHTY
+ USE_SIMS
NO_ODL_STARTUP
USE_ODL_RESTCONF_VERSION
# OLM_TIMER1
NO_ODL_STARTUP
USE_ODL_RESTCONF_VERSION
# OLM_TIMER1
@@
-387,7
+403,14
@@
commands =
basepython = python3
deps = pre-commit
passenv = HOME
basepython = python3
deps = pre-commit
passenv = HOME
+allowlist_externals = sh
+ cpan
+ sudo
+ which
commands =
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
pre-commit run --all-files --show-diff-on-failure
pre-commit run gitlint-ci --hook-stage manual