Clean stage-archive.sh and use allowlist_externals in tox.ini 12/13212/2
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Tue, 18 Apr 2023 12:42:40 +0000 (14:42 +0200)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Thu, 20 Apr 2023 07:46:39 +0000 (09:46 +0200)
Change-Id: I214df1372915a96db81ba36faff93dabffe18b6b
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
devops-stages/stage-archive.sh
tox.ini

index 36d341f..0c1e93c 100755 (executable)
@@ -18,7 +18,4 @@ rm -rf pool
 rm -rf dists
 mkdir -p pool/$MDG
 mv deb_dist/*.deb pool/$MDG/
-mkdir -p dists/unstable/$MDG/binary-amd64/
-apt-ftparchive packages pool/$MDG > dists/unstable/$MDG/binary-amd64/Packages
-gzip -9fk dists/unstable/$MDG/binary-amd64/Packages
-echo "dists/**,pool/$MDG/*.deb"
+
diff --git a/tox.ini b/tox.ini
index 39aa70d..c77d921 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -83,7 +83,7 @@ commands =
 [testenv:pip-compile]
 deps =  pip-tools==6.6.2
 skip_install = true
-whitelist_externals = bash
+allowlist_externals = bash
         [
 commands =
         - bash -c "for file in requirements*.in ; do \
@@ -107,7 +107,7 @@ commands =
         python3 setup.py --command-packages=stdeb.command sdist_dsc
         sh -c 'cd deb_dist/osm-nbi*/ && dpkg-buildpackage -rfakeroot -uc -us'
         sh -c 'rm osm_nbi/requirements.txt'
-whitelist_externals = sh
+allowlist_externals = sh
 
 #######################################################################################
 [flake8]