]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
script/kubejacker: Add python_common library
authorVarsha Rao <varao@redhat.com>
Fri, 11 Dec 2020 13:03:50 +0000 (18:33 +0530)
committerVarsha Rao <varao@redhat.com>
Fri, 11 Dec 2020 17:51:58 +0000 (23:21 +0530)
Signed-off-by: Varsha Rao <varao@redhat.com>
src/script/kubejacker/Dockerfile
src/script/kubejacker/kubejacker.sh

index 6c8153451e1998afed2520e2039ab691ebd6bb70..2b111be76daaf7150215c977036331dd4dd38ba1 100644 (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
index 586871b0e81a569e06f6b3ec6bdc02e7a1b96942..e013669e993e7dd87a0a4694e4785c5747e52b70 100755 (executable)
@@ -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