script/kubejacker: Add python_common library

Signed-off-by: Varsha Rao <varao@redhat.com>
This commit is contained in:
Varsha Rao 2020-12-11 18:33:50 +05:30
parent c139d0da44
commit e126c94366
2 changed files with 5 additions and 0 deletions

View File

@ -11,4 +11,5 @@ FROM ceph/daemon-base:latest-master
#ADD eclib.tar.gz /usr/local/lib64/ceph/erasure-code/
#ADD clslib.tar.gz /usr/local/lib64/rados-classes/
ADD python_common.tar.gz /usr/share/ceph/python_common
ADD mgr_plugins.tar.gz /usr/share/ceph/mgr

View File

@ -49,6 +49,10 @@ cp $SCRIPTPATH/Dockerfile kubejacker
#tar czf $BUILDPATH/kubejacker/lib.tar.gz $LIBS
#popd
pushd ../src/python-common/ceph
tar --exclude=__pycache__ --exclude=tests -czf $BUILDPATH/kubejacker/python_common.tar.gz *
popd
pushd ../src/pybind/mgr
find ./ -name "*.pyc" -exec rm -f {} \;
# Exclude node_modules because it's the huge sources in dashboard/frontend