File tree Expand file tree Collapse file tree 2 files changed +60
-0
lines changed Expand file tree Collapse file tree 2 files changed +60
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ # the following two methods exist in scripts/build_utils.sh
4+ pkgs=( " python-ldap" )
5+ TEMPVENV=$( create_venv_dir)
6+ VENV=${TEMPVENV} /bin
7+
8+ source $VENV /activate
9+
10+ install_python_packages $TEMPVENV " pkgs[@]"
11+
12+ cd " $WORKSPACE /ceph/"
13+ # run maintainer tool script over ceph repo
14+ $VENV /python " $WORKSPACE /ceph-maintainer-tool/maintainer-tool.py" src/pybind/mgr/
Original file line number Diff line number Diff line change 1+ - scm :
2+ name : maintainer-tool
3+ scm :
4+ - git :
5+ url : https://github.com/deepalik21/ceph-maintainer-tool.git
6+ branches :
7+ - origin/main
8+ browser : auto
9+ timeout : 20
10+ basedir : " ceph-maintainer-tool"
11+ wipe-workspace : false
12+
13+ - scm :
14+ name : ceph
15+ scm :
16+ - git :
17+ url : https://github.com/ceph/ceph.git
18+ timeout : 20
19+ wipe-workspace : false
20+ basedir : " ceph"
21+ branches :
22+ - origin/main
23+
24+
25+ - job :
26+ name : ceph-maintainer-tool
27+ description : Ceph maintainer tool
28+ project-type : freestyle
29+ block-downstream : false
30+ block-upstream : false
31+ defaults : global
32+ display-name : ' ceph-maintainer-tool'
33+
34+ triggers :
35+ # run every saturday at noon
36+ - timed : " 0 12 * * 6"
37+
38+ scm :
39+ - maintainer-tool
40+ - ceph
41+
42+ builders :
43+ - shell :
44+ !include-raw:
45+ - ../../../scripts/build_utils.sh
46+ - ../../build/build
You can’t perform that action at this time.
0 commit comments