Modifying the script for building ops-manager tile
* Script for auto-building the ops-manager LBaaS tile is modified in order to not store deb packages in our repository (as well as python source code archive) Change-Id: Id30d972c1a38873a9e7200f086d850c4c4d46bb7
This commit is contained in:
parent
95e27c4467
commit
6b390e72c1
LBaaS/LBaaS-ops-manager-tile
build_lbaas_tile.sh
releases/packages/python/python
Python-3.5.0.tgzbinutils_2.24-5ubuntu14_amd64.debbuild-essential_11.6ubuntu6_amd64.debcf-cli-installer_6.13.0_x86-64.debcpp-4.8_4.8.4-2ubuntu1~14.04_amd64.debcpp_4%3a4.8.2-1ubuntu6_amd64.debdpkg-dev_1.17.5ubuntu5.5_all.debfakeroot_1.20-3ubuntu2_amd64.debg++-4.8_4.8.4-2ubuntu1~14.04_amd64.debg++_4%3a4.8.2-1ubuntu6_amd64.debgcc-4.8_4.8.4-2ubuntu1~14.04_amd64.debgcc_4%3a4.8.2-1ubuntu6_amd64.deblibalgorithm-diff-perl_1.19.02-3_all.deblibalgorithm-diff-xs-perl_0.04-2build4_amd64.deblibalgorithm-merge-perl_0.08-2_all.deblibasan0_4.8.4-2ubuntu1~14.04_amd64.deblibatomic1_4.8.4-2ubuntu1~14.04_amd64.deblibc-dev-bin_2.19-0ubuntu6.6_amd64.deblibc6-dev_2.19-0ubuntu6.6_amd64.deblibcloog-isl4_0.18.2-1_amd64.deblibdpkg-perl_1.17.5ubuntu5.5_all.deblibfakeroot_1.20-3ubuntu2_amd64.deblibffi-dev_3.1~rc1+r3.0.13-12ubuntu0.1_amd64.deblibffi6_3.1~rc1+r3.0.13-12ubuntu0.1_amd64.deblibfile-fcntllock-perl_0.14-2build1_amd64.deblibgcc-4.8-dev_4.8.4-2ubuntu1~14.04_amd64.deblibgmp10_2%3a5.1.3+dfsg-1ubuntu1_amd64.deblibgomp1_4.8.4-2ubuntu1~14.04_amd64.deblibisl10_0.12.2-1_amd64.deblibitm1_4.8.4-2ubuntu1~14.04_amd64.deblibmpc3_1.0.1-1ubuntu1_amd64.deblibmpfr4_3.1.2-1_amd64.deblibquadmath0_4.8.4-2ubuntu1~14.04_amd64.deblibssl-dev_1.0.1f-1ubuntu2.16_amd64.deblibssl-doc_1.0.1f-1ubuntu2.16_all.deblibstdc++-4.8-dev_4.8.4-2ubuntu1~14.04_amd64.deblibtsan0_4.8.4-2ubuntu1~14.04_amd64.deblinux-libc-dev_3.13.0-77.121_amd64.debmake_3.81-8.2ubuntu3_amd64.debmanpages-dev_3.54-1ubuntu1_all.debmanpages_3.54-1ubuntu1_all.debzlib1g-dev_1%3a1.2.8.dfsg-1ubuntu1_amd64.deb
@ -1,3 +1,6 @@
|
||||
# Stop the script if an error occurs.
|
||||
set -e
|
||||
|
||||
# Pack jobs and packages.
|
||||
cd releases/jobs;
|
||||
|
||||
@ -13,6 +16,16 @@ popd
|
||||
|
||||
cd ../packages;
|
||||
|
||||
pushd python/python
|
||||
aptitude download binutils build-essential cpp cpp-4.8 dpkg-dev fakeroot g++-4.8 gcc gcc-4.8 libalgorithm-diff-perl \
|
||||
libalgorithm-diff-xs-perl libalgorithm-merge-perl libasan0 libatomic1 libc6-dev libc-dev-bin libcloog-isl4 \
|
||||
libdpkg-perl libfakeroot libffi6 libffi-dev libfile-fcntllock-perl libgcc-4.8-dev libgmp10 libgomp1 libisl10 \
|
||||
libitm1 libmpc3 libmpfr4 libquadmath0 libssl-dev libssl-doc libstdc++-4.8-dev libtsan0 linux-libc-dev make \
|
||||
manpages-dev manpages zlib1g-dev
|
||||
|
||||
wget https://www.python.org/ftp/python/3.5.0/Python-3.5.0.tgz
|
||||
popd
|
||||
|
||||
pushd python
|
||||
tar zcvf python.tgz *;
|
||||
mv python.tgz ../
|
||||
@ -31,7 +44,11 @@ mkdir tmp/releases/packages
|
||||
mv releases/jobs/lbaas-config.tgz tmp/releases/jobs/
|
||||
mv releases/jobs/delete-lbaas.tgz tmp/releases/jobs/
|
||||
mv releases/packages/python.tgz tmp/releases/packages/
|
||||
|
||||
# In this case cp returns exit code 1 (it copies only files without nested directories).
|
||||
set +e
|
||||
cp releases/* tmp/releases/
|
||||
set -e
|
||||
|
||||
# Put correct sha1 to release.MF
|
||||
if [ "$(uname -s)" == "Darwin" ]; then
|
||||
@ -69,3 +86,8 @@ mv tmp/lbaas-tile.zip .
|
||||
|
||||
# Delete temp directory.
|
||||
rm -rf tmp
|
||||
|
||||
# Delete downloaded debs and Python.
|
||||
set +e
|
||||
rm releases/packages/python/python/*.deb
|
||||
rm releases/packages/python/python/Python-3.5.0.tgz
|
||||
|
Binary file not shown.
Binary file not shown.
BIN
LBaaS/LBaaS-ops-manager-tile/releases/packages/python/python/build-essential_11.6ubuntu6_amd64.deb
BIN
LBaaS/LBaaS-ops-manager-tile/releases/packages/python/python/build-essential_11.6ubuntu6_amd64.deb
Binary file not shown.
Binary file not shown.
BIN
LBaaS/LBaaS-ops-manager-tile/releases/packages/python/python/cpp-4.8_4.8.4-2ubuntu1~14.04_amd64.deb
BIN
LBaaS/LBaaS-ops-manager-tile/releases/packages/python/python/cpp-4.8_4.8.4-2ubuntu1~14.04_amd64.deb
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
LBaaS/LBaaS-ops-manager-tile/releases/packages/python/python/g++-4.8_4.8.4-2ubuntu1~14.04_amd64.deb
BIN
LBaaS/LBaaS-ops-manager-tile/releases/packages/python/python/g++-4.8_4.8.4-2ubuntu1~14.04_amd64.deb
Binary file not shown.
Binary file not shown.
BIN
LBaaS/LBaaS-ops-manager-tile/releases/packages/python/python/gcc-4.8_4.8.4-2ubuntu1~14.04_amd64.deb
BIN
LBaaS/LBaaS-ops-manager-tile/releases/packages/python/python/gcc-4.8_4.8.4-2ubuntu1~14.04_amd64.deb
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
LBaaS/LBaaS-ops-manager-tile/releases/packages/python/python/libalgorithm-merge-perl_0.08-2_all.deb
BIN
LBaaS/LBaaS-ops-manager-tile/releases/packages/python/python/libalgorithm-merge-perl_0.08-2_all.deb
Binary file not shown.
BIN
LBaaS/LBaaS-ops-manager-tile/releases/packages/python/python/libasan0_4.8.4-2ubuntu1~14.04_amd64.deb
BIN
LBaaS/LBaaS-ops-manager-tile/releases/packages/python/python/libasan0_4.8.4-2ubuntu1~14.04_amd64.deb
Binary file not shown.
Binary file not shown.
BIN
LBaaS/LBaaS-ops-manager-tile/releases/packages/python/python/libc-dev-bin_2.19-0ubuntu6.6_amd64.deb
BIN
LBaaS/LBaaS-ops-manager-tile/releases/packages/python/python/libc-dev-bin_2.19-0ubuntu6.6_amd64.deb
Binary file not shown.
BIN
LBaaS/LBaaS-ops-manager-tile/releases/packages/python/python/libc6-dev_2.19-0ubuntu6.6_amd64.deb
BIN
LBaaS/LBaaS-ops-manager-tile/releases/packages/python/python/libc6-dev_2.19-0ubuntu6.6_amd64.deb
Binary file not shown.
Binary file not shown.
BIN
LBaaS/LBaaS-ops-manager-tile/releases/packages/python/python/libdpkg-perl_1.17.5ubuntu5.5_all.deb
BIN
LBaaS/LBaaS-ops-manager-tile/releases/packages/python/python/libdpkg-perl_1.17.5ubuntu5.5_all.deb
Binary file not shown.
BIN
LBaaS/LBaaS-ops-manager-tile/releases/packages/python/python/libfakeroot_1.20-3ubuntu2_amd64.deb
BIN
LBaaS/LBaaS-ops-manager-tile/releases/packages/python/python/libfakeroot_1.20-3ubuntu2_amd64.deb
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
LBaaS/LBaaS-ops-manager-tile/releases/packages/python/python/libgomp1_4.8.4-2ubuntu1~14.04_amd64.deb
BIN
LBaaS/LBaaS-ops-manager-tile/releases/packages/python/python/libgomp1_4.8.4-2ubuntu1~14.04_amd64.deb
Binary file not shown.
Binary file not shown.
BIN
LBaaS/LBaaS-ops-manager-tile/releases/packages/python/python/libitm1_4.8.4-2ubuntu1~14.04_amd64.deb
BIN
LBaaS/LBaaS-ops-manager-tile/releases/packages/python/python/libitm1_4.8.4-2ubuntu1~14.04_amd64.deb
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
LBaaS/LBaaS-ops-manager-tile/releases/packages/python/python/libssl-dev_1.0.1f-1ubuntu2.16_amd64.deb
BIN
LBaaS/LBaaS-ops-manager-tile/releases/packages/python/python/libssl-dev_1.0.1f-1ubuntu2.16_amd64.deb
Binary file not shown.
BIN
LBaaS/LBaaS-ops-manager-tile/releases/packages/python/python/libssl-doc_1.0.1f-1ubuntu2.16_all.deb
BIN
LBaaS/LBaaS-ops-manager-tile/releases/packages/python/python/libssl-doc_1.0.1f-1ubuntu2.16_all.deb
Binary file not shown.
Binary file not shown.
BIN
LBaaS/LBaaS-ops-manager-tile/releases/packages/python/python/libtsan0_4.8.4-2ubuntu1~14.04_amd64.deb
BIN
LBaaS/LBaaS-ops-manager-tile/releases/packages/python/python/libtsan0_4.8.4-2ubuntu1~14.04_amd64.deb
Binary file not shown.
BIN
LBaaS/LBaaS-ops-manager-tile/releases/packages/python/python/linux-libc-dev_3.13.0-77.121_amd64.deb
BIN
LBaaS/LBaaS-ops-manager-tile/releases/packages/python/python/linux-libc-dev_3.13.0-77.121_amd64.deb
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user