Clean stage-archive.sh and use allowlist_extenals in tox.ini 13/13213/1
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Tue, 18 Apr 2023 13:04:57 +0000 (15:04 +0200)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Tue, 18 Apr 2023 13:05:39 +0000 (15:05 +0200)
Change-Id: I690598c770f52d805ee3516fead7fa191c90205f
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
devops-stages/stage-archive.sh
tox.ini

index 56a1c5c..cff918d 100755 (executable)
@@ -19,8 +19,3 @@ 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 "ARCHIVE"
diff --git a/tox.ini b/tox.ini
index 81860e5..8c9927d 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -40,7 +40,7 @@ commands =
 [testenv:cover]
 commands =
         sh -c 'echo No unit tests'
-whitelist_externals = sh
+allowlist_externals = sh
 
 
 #######################################################################################
@@ -74,7 +74,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 \