From 6461f5e19eb5023f98452e90da9e26eed9976f48 Mon Sep 17 00:00:00 2001 From: Deepali Kasture Date: Fri, 9 Sep 2022 14:46:12 -0400 Subject: [PATCH] Adding jenkins job for maintainer tool Signed-off-by: Deepali Kasture --- ceph-maintainer-tool/build/build | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 ceph-maintainer-tool/build/build diff --git a/ceph-maintainer-tool/build/build b/ceph-maintainer-tool/build/build new file mode 100644 index 000000000..9a53d36c2 --- /dev/null +++ b/ceph-maintainer-tool/build/build @@ -0,0 +1,12 @@ +#!/bin/bash + +# the following two methods exist in scripts/build_utils.sh +pkgs=( "python-ldap" ) +TEMPVENV=$(create_venv_dir) +VENV=${TEMPVENV}/bin + +install_python_packages $TEMPVENV "pkgs[@]" + +cd "$WORKSPACE/ceph/" +#run maintainer tool script over ceph repo +$VENV/python "$WORKSPACE/ceph-maintainer-tool/maintainer-tool.py" src/pybind/mgr/ \ No newline at end of file