From: Gulsum Atici Date: Thu, 30 Mar 2023 14:44:08 +0000 (+0300) Subject: Change in tox.ini to use allowlist_externals X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FRO.git;a=commitdiff_plain;h=cd58e503a0b8491522dbe28dd759df3639f8abc8 Change in tox.ini to use allowlist_externals Change-Id: Iee2b7bf86fa58702c14939d15041032114c4bd7a Signed-off-by: Gulsum Atici --- diff --git a/releasenotes/notes/use_allowlist_externals-9d97b1e3a1d72bf5.yaml b/releasenotes/notes/use_allowlist_externals-9d97b1e3a1d72bf5.yaml new file mode 100644 index 00000000..5f97c032 --- /dev/null +++ b/releasenotes/notes/use_allowlist_externals-9d97b1e3a1d72bf5.yaml @@ -0,0 +1,20 @@ +####################################################################################### +# 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. diff --git a/tox.ini b/tox.ini index 686a4da8..8ab0e4a5 100644 --- a/tox.ini +++ b/tox.ini @@ -35,7 +35,7 @@ parallel_show_output = true [testenv:release_notes] deps = reno skip_install = true -whitelist_externals = bash +allowlist_externals = bash commands = reno new {posargs:new_feature} bash -c "sed -i -e '1 e head -16 tox.ini' releasenotes/notes/{posargs:new_feature}*.yaml" @@ -70,7 +70,7 @@ deps = {[testenv]deps} -r{toxinidir}/requirements-dev.txt -r{toxinidir}/requirements-test.txt skip_install = true -whitelist_externals = sh +allowlist_externals = sh commands = sh -c 'rm -f nosetests.xml' coverage erase @@ -195,7 +195,7 @@ commands = [testenv:pip-compile] deps = pip-tools==6.4.0 skip_install = true -whitelist_externals = bash +allowlist_externals = bash [ commands = - bash -c "for file in requirements*.in ; do \ @@ -213,7 +213,7 @@ commands = deps = {[testenv]deps} -r{toxinidir}/requirements-dist.txt skip_install = true -whitelist_externals = sh +allowlist_externals = sh changedir = {toxinidir}/NG-RO commands = sh -c 'rm -rf osm_ng_ro/requirements.txt deb_dist dist osm_ng_ro.egg-info osm_ng_ro*.tar.gz' @@ -227,7 +227,7 @@ commands = deps = {[testenv]deps} -r{toxinidir}/requirements-dist.txt skip_install = true -whitelist_externals = sh +allowlist_externals = sh changedir = {toxinidir}/RO-plugin commands = sh -c 'rm -rf deb_dist dist osm_ro_plugin.egg-info osm_ro_plugin*.tar.gz' @@ -240,7 +240,7 @@ commands = deps = {[testenv]deps} -r{toxinidir}/requirements-dist.txt skip_install = true -whitelist_externals = sh +allowlist_externals = sh changedir = {toxinidir}/RO-SDN-arista_cloudvision commands = sh -c 'rm -rf deb_dist dist osm_rosdn_arista_cloudvision.egg-info osm_rosdn_arista_cloudvision*.tar.gz' @@ -253,7 +253,7 @@ commands = deps = {[testenv]deps} -r{toxinidir}/requirements-dist.txt skip_install = true -whitelist_externals = sh +allowlist_externals = sh changedir = {toxinidir}/RO-SDN-dpb commands = sh -c 'rm -rf deb_dist dist osm_rosdn_dpb.egg-info osm_rosdn_dpb*.tar.gz' @@ -266,7 +266,7 @@ commands = deps = {[testenv]deps} -r{toxinidir}/requirements-dist.txt skip_install = true -whitelist_externals = sh +allowlist_externals = sh changedir = {toxinidir}/RO-SDN-dynpac commands = sh -c 'rm -rf deb_dist dist osm_rosdn_dynpac.egg-info osm_rosdn_dynpac*.tar.gz' @@ -279,7 +279,7 @@ commands = deps = {[testenv]deps} -r{toxinidir}/requirements-dist.txt skip_install = true -whitelist_externals = sh +allowlist_externals = sh changedir = {toxinidir}/RO-SDN-floodlight_openflow commands = sh -c 'rm -rf deb_dist dist osm_rosdn_floodlightof.egg-info osm_rosdn_floodlightof*.tar.gz' @@ -292,7 +292,7 @@ commands = deps = {[testenv]deps} -r{toxinidir}/requirements-dist.txt skip_install = true -whitelist_externals = sh +allowlist_externals = sh changedir = {toxinidir}/RO-SDN-ietfl2vpn commands = sh -c 'rm -rf deb_dist dist osm_rosdn_ietfl2vpn.egg-info osm_rosdn_ietfl2vpn*.tar.gz' @@ -305,7 +305,7 @@ commands = deps = {[testenv]deps} -r{toxinidir}/requirements-dist.txt skip_install = true -whitelist_externals = sh +allowlist_externals = sh changedir = {toxinidir}/RO-SDN-juniper_contrail commands = sh -c 'rm -rf deb_dist dist osm_rosdn_juniper_contrail.egg-info osm_rosdn_juniper_contrail*.tar.gz' @@ -318,7 +318,7 @@ commands = deps = {[testenv]deps} -r{toxinidir}/requirements-dist.txt skip_install = true -whitelist_externals = sh +allowlist_externals = sh changedir = {toxinidir}/RO-SDN-odl_openflow commands = sh -c 'rm -rf deb_dist dist osm_rosdn_odlof.egg-info osm_rosdn_odlof*.tar.gz' @@ -331,7 +331,7 @@ commands = deps = {[testenv]deps} -r{toxinidir}/requirements-dist.txt skip_install = true -whitelist_externals = sh +allowlist_externals = sh changedir = {toxinidir}/RO-SDN-onos_openflow commands = sh -c 'rm -rf deb_dist dist osm_rosdn_onosof.egg-info osm_rosdn_onosof*.tar.gz' @@ -344,7 +344,7 @@ commands = deps = {[testenv]deps} -r{toxinidir}/requirements-dist.txt skip_install = true -whitelist_externals = sh +allowlist_externals = sh changedir = {toxinidir}/RO-SDN-onos_vpls commands = sh -c 'rm -rf deb_dist dist osm_rosdn_onos_vpls.egg-info osm_rosdn_onos_vpls*.tar.gz' @@ -357,7 +357,7 @@ commands = deps = {[testenv]deps} -r{toxinidir}/requirements-dist.txt skip_install = true -whitelist_externals = sh +allowlist_externals = sh changedir = {toxinidir}/RO-VIM-aws commands = sh -c 'rm -rf deb_dist dist osm_rovim_aws.egg-info osm_rovim_aws*.tar.gz' @@ -370,7 +370,7 @@ commands = deps = {[testenv]deps} -r{toxinidir}/requirements-dist.txt skip_install = true -whitelist_externals = sh +allowlist_externals = sh changedir = {toxinidir}/RO-VIM-azure commands = sh -c 'rm -rf deb_dist dist osm_rovim_azure.egg-info osm_rovim_azure*.tar.gz' @@ -383,7 +383,7 @@ commands = deps = {[testenv]deps} -r{toxinidir}/requirements-dist.txt skip_install = true -whitelist_externals = sh +allowlist_externals = sh changedir = {toxinidir}/RO-VIM-openstack commands = sh -c 'rm -rf deb_dist dist osm_rovim_openstack.egg-info osm_rovim_openstack*.tar.gz' @@ -396,7 +396,7 @@ commands = deps = {[testenv]deps} -r{toxinidir}/requirements-dist.txt skip_install = true -whitelist_externals = sh +allowlist_externals = sh changedir = {toxinidir}/RO-VIM-openvim commands = sh -c 'rm -rf deb_dist dist osm_rovim_openvim.egg-info osm_rovim_openvim*.tar.gz' @@ -409,7 +409,7 @@ commands = deps = {[testenv]deps} -r{toxinidir}/requirements-dist.txt skip_install = true -whitelist_externals = sh +allowlist_externals = sh changedir = {toxinidir}/RO-VIM-vmware commands = sh -c 'rm -rf deb_dist dist osm_rovim_vmware.egg-info osm_rovim_vmware*.tar.gz'