Skip to content

Commit

Permalink
Adding jenkins config file for maintainer-tool
Browse files Browse the repository at this point in the history
Signed-off-by: Deepali Kasture <[email protected]>
  • Loading branch information
deepalik21 committed Oct 28, 2022
1 parent 6461f5e commit f8335db
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ceph-maintainer-tool/build/build
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
46 changes: 46 additions & 0 deletions ceph-maintainer-tool/config/definitions/ceph-maintainer-tool.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit f8335db

Please sign in to comment.