diff --git a/ceph-maintainer-tool/build/build b/ceph-maintainer-tool/build/build index 9a53d36c2..f63b97cfe 100644 --- a/ceph-maintainer-tool/build/build +++ b/ceph-maintainer-tool/build/build @@ -5,7 +5,7 @@ pkgs=( "python-ldap" ) TEMPVENV=$(create_venv_dir) VENV=${TEMPVENV}/bin -install_python_packages $TEMPVENV "pkgs[@]" +install_python_packages $TEMPVENV "pkgs[@]" "pip==22.0.4" cd "$WORKSPACE/ceph/" #run maintainer tool script over ceph repo diff --git a/ceph-maintainer-tool/config/definitions/ceph-maintainer-tool.yml b/ceph-maintainer-tool/config/definitions/ceph-maintainer-tool.yml new file mode 100644 index 000000000..6532100a7 --- /dev/null +++ b/ceph-maintainer-tool/config/definitions/ceph-maintainer-tool.yml @@ -0,0 +1,46 @@ +- scm: + name: maintainer-tool + scm: + - git: + url: https://github.com/deepalik21/ceph-maintainer-tool.git + branches: + - origin/main + browser: auto + timeout: 20 + basedir: "ceph-maintainer-tool" + wipe-workspace: false + +- scm: + name: ceph + scm: + - git: + url: https://github.com/ceph/ceph.git + timeout: 20 + wipe-workspace: false + basedir: "ceph" + branches: + - origin/main + + +- job: + name: ceph-maintainer-tool + description: Ceph maintainer tool + project-type: freestyle + block-downstream: false + block-upstream: false + defaults: global + display-name: 'ceph-maintainer-tool' + + triggers: + # run every saturday at noon + - timed: "0 12 * * 6" + + scm: + - maintainer-tool + - ceph + + builders: + - shell: + !include-raw: + - ../../../scripts/build_utils.sh + - ../../build/build