nbi.py: initial commit for NetSlices with definition
[osm/NBI.git] / devops-stages / stage-archive.sh
1 #!/bin/sh
2 MDG=NBI
3 rm -rf pool
4 rm -rf dists
5 mkdir -p pool/$MDG
6 mv deb_dist/*.deb pool/$MDG/
7 mkdir -p dists/unstable/$MDG/binary-amd64/
8 apt-ftparchive packages pool/$MDG > dists/unstable/$MDG/binary-amd64/Packages
9 gzip -9fk dists/unstable/$MDG/binary-amd64/Packages
10 echo "dists/**,pool/$MDG/*.deb"