Skip to content
Snippets Groups Projects
Commit db06034b authored by garciadeblas's avatar garciadeblas Committed by aticig
Browse files

Change in tox.ini to use allowlist_externals


Change-Id: I9c871562a88ae41b58c7026f6624d88521c389d4
Signed-off-by: default avatargarciadeblas <gerardo.garciadeblas@telefonica.com>
parent f694e82b
No related branches found
Tags v12.0.6
No related merge requests found
#######################################################################################
# Copyright ETSI Contributors and Others.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
# implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#######################################################################################
---
other:
- |
Change in tox.ini to use allowlist_externals.
...@@ -35,7 +35,7 @@ parallel_show_output = true ...@@ -35,7 +35,7 @@ parallel_show_output = true
[testenv:release_notes] [testenv:release_notes]
deps = reno deps = reno
skip_install = true skip_install = true
whitelist_externals = bash allowlist_externals = bash
commands = commands =
reno new {posargs:new_feature} reno new {posargs:new_feature}
bash -c "sed -i -e '1 e head -16 tox.ini' releasenotes/notes/{posargs:new_feature}*.yaml" bash -c "sed -i -e '1 e head -16 tox.ini' releasenotes/notes/{posargs:new_feature}*.yaml"
...@@ -205,7 +205,7 @@ commands = ...@@ -205,7 +205,7 @@ commands =
[testenv:pip-compile] [testenv:pip-compile]
deps = pip-tools==6.6.2 deps = pip-tools==6.6.2
skip_install = true skip_install = true
whitelist_externals = bash allowlist_externals = bash
[ [
commands = commands =
- bash -c "for file in requirements*.in ; do \ - bash -c "for file in requirements*.in ; do \
...@@ -223,7 +223,7 @@ commands = ...@@ -223,7 +223,7 @@ commands =
deps = {[testenv]deps} deps = {[testenv]deps}
-r{toxinidir}/requirements-dist.txt -r{toxinidir}/requirements-dist.txt
skip_install = true skip_install = true
whitelist_externals = sh allowlist_externals = sh
changedir = {toxinidir}/NG-RO changedir = {toxinidir}/NG-RO
commands = commands =
sh -c 'rm -rf osm_ng_ro/requirements.txt deb_dist dist osm_ng_ro.egg-info osm_ng_ro*.tar.gz' sh -c 'rm -rf osm_ng_ro/requirements.txt deb_dist dist osm_ng_ro.egg-info osm_ng_ro*.tar.gz'
...@@ -237,7 +237,7 @@ commands = ...@@ -237,7 +237,7 @@ commands =
deps = {[testenv]deps} deps = {[testenv]deps}
-r{toxinidir}/requirements-dist.txt -r{toxinidir}/requirements-dist.txt
skip_install = true skip_install = true
whitelist_externals = sh allowlist_externals = sh
changedir = {toxinidir}/RO-plugin changedir = {toxinidir}/RO-plugin
commands = commands =
sh -c 'rm -rf deb_dist dist osm_ro_plugin.egg-info osm_ro_plugin*.tar.gz' sh -c 'rm -rf deb_dist dist osm_ro_plugin.egg-info osm_ro_plugin*.tar.gz'
...@@ -250,7 +250,7 @@ commands = ...@@ -250,7 +250,7 @@ commands =
deps = {[testenv]deps} deps = {[testenv]deps}
-r{toxinidir}/requirements-dist.txt -r{toxinidir}/requirements-dist.txt
skip_install = true skip_install = true
whitelist_externals = sh allowlist_externals = sh
changedir = {toxinidir}/RO-SDN-arista_cloudvision changedir = {toxinidir}/RO-SDN-arista_cloudvision
commands = commands =
sh -c 'rm -rf deb_dist dist osm_rosdn_arista_cloudvision.egg-info osm_rosdn_arista_cloudvision*.tar.gz' sh -c 'rm -rf deb_dist dist osm_rosdn_arista_cloudvision.egg-info osm_rosdn_arista_cloudvision*.tar.gz'
...@@ -263,7 +263,7 @@ commands = ...@@ -263,7 +263,7 @@ commands =
deps = {[testenv]deps} deps = {[testenv]deps}
-r{toxinidir}/requirements-dist.txt -r{toxinidir}/requirements-dist.txt
skip_install = true skip_install = true
whitelist_externals = sh allowlist_externals = sh
changedir = {toxinidir}/RO-SDN-dpb changedir = {toxinidir}/RO-SDN-dpb
commands = commands =
sh -c 'rm -rf deb_dist dist osm_rosdn_dpb.egg-info osm_rosdn_dpb*.tar.gz' sh -c 'rm -rf deb_dist dist osm_rosdn_dpb.egg-info osm_rosdn_dpb*.tar.gz'
...@@ -276,7 +276,7 @@ commands = ...@@ -276,7 +276,7 @@ commands =
deps = {[testenv]deps} deps = {[testenv]deps}
-r{toxinidir}/requirements-dist.txt -r{toxinidir}/requirements-dist.txt
skip_install = true skip_install = true
whitelist_externals = sh allowlist_externals = sh
changedir = {toxinidir}/RO-SDN-dynpac changedir = {toxinidir}/RO-SDN-dynpac
commands = commands =
sh -c 'rm -rf deb_dist dist osm_rosdn_dynpac.egg-info osm_rosdn_dynpac*.tar.gz' sh -c 'rm -rf deb_dist dist osm_rosdn_dynpac.egg-info osm_rosdn_dynpac*.tar.gz'
...@@ -289,7 +289,7 @@ commands = ...@@ -289,7 +289,7 @@ commands =
deps = {[testenv]deps} deps = {[testenv]deps}
-r{toxinidir}/requirements-dist.txt -r{toxinidir}/requirements-dist.txt
skip_install = true skip_install = true
whitelist_externals = sh allowlist_externals = sh
changedir = {toxinidir}/RO-SDN-floodlight_openflow changedir = {toxinidir}/RO-SDN-floodlight_openflow
commands = commands =
sh -c 'rm -rf deb_dist dist osm_rosdn_floodlightof.egg-info osm_rosdn_floodlightof*.tar.gz' sh -c 'rm -rf deb_dist dist osm_rosdn_floodlightof.egg-info osm_rosdn_floodlightof*.tar.gz'
...@@ -302,7 +302,7 @@ commands = ...@@ -302,7 +302,7 @@ commands =
deps = {[testenv]deps} deps = {[testenv]deps}
-r{toxinidir}/requirements-dist.txt -r{toxinidir}/requirements-dist.txt
skip_install = true skip_install = true
whitelist_externals = sh allowlist_externals = sh
changedir = {toxinidir}/RO-SDN-ietfl2vpn changedir = {toxinidir}/RO-SDN-ietfl2vpn
commands = commands =
sh -c 'rm -rf deb_dist dist osm_rosdn_ietfl2vpn.egg-info osm_rosdn_ietfl2vpn*.tar.gz' sh -c 'rm -rf deb_dist dist osm_rosdn_ietfl2vpn.egg-info osm_rosdn_ietfl2vpn*.tar.gz'
...@@ -315,7 +315,7 @@ commands = ...@@ -315,7 +315,7 @@ commands =
deps = {[testenv]deps} deps = {[testenv]deps}
-r{toxinidir}/requirements-dist.txt -r{toxinidir}/requirements-dist.txt
skip_install = true skip_install = true
whitelist_externals = sh allowlist_externals = sh
changedir = {toxinidir}/RO-SDN-juniper_contrail changedir = {toxinidir}/RO-SDN-juniper_contrail
commands = commands =
sh -c 'rm -rf deb_dist dist osm_rosdn_juniper_contrail.egg-info osm_rosdn_juniper_contrail*.tar.gz' sh -c 'rm -rf deb_dist dist osm_rosdn_juniper_contrail.egg-info osm_rosdn_juniper_contrail*.tar.gz'
...@@ -328,7 +328,7 @@ commands = ...@@ -328,7 +328,7 @@ commands =
deps = {[testenv]deps} deps = {[testenv]deps}
-r{toxinidir}/requirements-dist.txt -r{toxinidir}/requirements-dist.txt
skip_install = true skip_install = true
whitelist_externals = sh allowlist_externals = sh
changedir = {toxinidir}/RO-SDN-odl_openflow changedir = {toxinidir}/RO-SDN-odl_openflow
commands = commands =
sh -c 'rm -rf deb_dist dist osm_rosdn_odlof.egg-info osm_rosdn_odlof*.tar.gz' sh -c 'rm -rf deb_dist dist osm_rosdn_odlof.egg-info osm_rosdn_odlof*.tar.gz'
...@@ -341,7 +341,7 @@ commands = ...@@ -341,7 +341,7 @@ commands =
deps = {[testenv]deps} deps = {[testenv]deps}
-r{toxinidir}/requirements-dist.txt -r{toxinidir}/requirements-dist.txt
skip_install = true skip_install = true
whitelist_externals = sh allowlist_externals = sh
changedir = {toxinidir}/RO-SDN-onos_openflow changedir = {toxinidir}/RO-SDN-onos_openflow
commands = commands =
sh -c 'rm -rf deb_dist dist osm_rosdn_onosof.egg-info osm_rosdn_onosof*.tar.gz' sh -c 'rm -rf deb_dist dist osm_rosdn_onosof.egg-info osm_rosdn_onosof*.tar.gz'
...@@ -354,7 +354,7 @@ commands = ...@@ -354,7 +354,7 @@ commands =
deps = {[testenv]deps} deps = {[testenv]deps}
-r{toxinidir}/requirements-dist.txt -r{toxinidir}/requirements-dist.txt
skip_install = true skip_install = true
whitelist_externals = sh allowlist_externals = sh
changedir = {toxinidir}/RO-SDN-onos_vpls changedir = {toxinidir}/RO-SDN-onos_vpls
commands = commands =
sh -c 'rm -rf deb_dist dist osm_rosdn_onos_vpls.egg-info osm_rosdn_onos_vpls*.tar.gz' sh -c 'rm -rf deb_dist dist osm_rosdn_onos_vpls.egg-info osm_rosdn_onos_vpls*.tar.gz'
...@@ -367,7 +367,7 @@ commands = ...@@ -367,7 +367,7 @@ commands =
deps = {[testenv]deps} deps = {[testenv]deps}
-r{toxinidir}/requirements-dist.txt -r{toxinidir}/requirements-dist.txt
skip_install = true skip_install = true
whitelist_externals = sh allowlist_externals = sh
changedir = {toxinidir}/RO-VIM-aws changedir = {toxinidir}/RO-VIM-aws
commands = commands =
sh -c 'rm -rf deb_dist dist osm_rovim_aws.egg-info osm_rovim_aws*.tar.gz' sh -c 'rm -rf deb_dist dist osm_rovim_aws.egg-info osm_rovim_aws*.tar.gz'
...@@ -380,7 +380,7 @@ commands = ...@@ -380,7 +380,7 @@ commands =
deps = {[testenv]deps} deps = {[testenv]deps}
-r{toxinidir}/requirements-dist.txt -r{toxinidir}/requirements-dist.txt
skip_install = true skip_install = true
whitelist_externals = sh allowlist_externals = sh
changedir = {toxinidir}/RO-VIM-azure changedir = {toxinidir}/RO-VIM-azure
commands = commands =
sh -c 'rm -rf deb_dist dist osm_rovim_azure.egg-info osm_rovim_azure*.tar.gz' sh -c 'rm -rf deb_dist dist osm_rovim_azure.egg-info osm_rovim_azure*.tar.gz'
...@@ -393,7 +393,7 @@ commands = ...@@ -393,7 +393,7 @@ commands =
deps = {[testenv]deps} deps = {[testenv]deps}
-r{toxinidir}/requirements-dist.txt -r{toxinidir}/requirements-dist.txt
skip_install = true skip_install = true
whitelist_externals = sh allowlist_externals = sh
changedir = {toxinidir}/RO-VIM-openstack changedir = {toxinidir}/RO-VIM-openstack
commands = commands =
sh -c 'rm -rf deb_dist dist osm_rovim_openstack.egg-info osm_rovim_openstack*.tar.gz' sh -c 'rm -rf deb_dist dist osm_rovim_openstack.egg-info osm_rovim_openstack*.tar.gz'
...@@ -406,7 +406,7 @@ commands = ...@@ -406,7 +406,7 @@ commands =
deps = {[testenv]deps} deps = {[testenv]deps}
-r{toxinidir}/requirements-dist.txt -r{toxinidir}/requirements-dist.txt
skip_install = true skip_install = true
whitelist_externals = sh allowlist_externals = sh
changedir = {toxinidir}/RO-VIM-openvim changedir = {toxinidir}/RO-VIM-openvim
commands = commands =
sh -c 'rm -rf deb_dist dist osm_rovim_openvim.egg-info osm_rovim_openvim*.tar.gz' sh -c 'rm -rf deb_dist dist osm_rovim_openvim.egg-info osm_rovim_openvim*.tar.gz'
...@@ -419,7 +419,7 @@ commands = ...@@ -419,7 +419,7 @@ commands =
deps = {[testenv]deps} deps = {[testenv]deps}
-r{toxinidir}/requirements-dist.txt -r{toxinidir}/requirements-dist.txt
skip_install = true skip_install = true
whitelist_externals = sh allowlist_externals = sh
changedir = {toxinidir}/RO-VIM-vmware changedir = {toxinidir}/RO-VIM-vmware
commands = commands =
sh -c 'rm -rf deb_dist dist osm_rovim_vmware.egg-info osm_rovim_vmware*.tar.gz' sh -c 'rm -rf deb_dist dist osm_rovim_vmware.egg-info osm_rovim_vmware*.tar.gz'
...@@ -432,7 +432,7 @@ commands = ...@@ -432,7 +432,7 @@ commands =
deps = {[testenv]deps} deps = {[testenv]deps}
-r{toxinidir}/requirements-dist.txt -r{toxinidir}/requirements-dist.txt
skip_install = true skip_install = true
whitelist_externals = sh allowlist_externals = sh
changedir = {toxinidir}/RO-VIM-gcp changedir = {toxinidir}/RO-VIM-gcp
commands = commands =
sh -c 'rm -rf deb_dist dist osm_rovim_gcp.egg-info osm_rovim_gcp*.tar.gz' sh -c 'rm -rf deb_dist dist osm_rovim_gcp.egg-info osm_rovim_gcp*.tar.gz'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment