Skip to content

Commit

Permalink
Adding jenkins job 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 Sep 9, 2022
1 parent 4d81054 commit ce5174d
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
15 changes: 15 additions & 0 deletions ceph-maintainer-tool/build/build
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/bash

cat > maintainer-tool.py
mkdir maintainer-tool
cd maintainer-tool
git clone [email protected]:deepalik21/ceph-maintainer-tool.git
cd ceph-maintainer-tool
cp maintainer-tool.py ../../maintainer-tool.py
rm -rf .git*
cd ..
rmdir -r ceph-maintainer-tool
cd ..
rmdir maintainer-tool
python maintainer-tool.py src/pybind/mgr/
rm maintainer-tool.py
21 changes: 21 additions & 0 deletions ceph-maintainer-tool/config/ceph-maintainer-tool.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
- job:
name: ceph-maintainer-tool
project-type: freestyle
defaults: global
display-name: 'ceph-maintainer-tool'
block-downstream: false
block-upstream: false
scm:
- git:
url: [email protected]:ceph/ceph.git
basedir: ceph
credentials-id: 'jenkins-build'
branches:
- $CONTAINER_BRANCH
skip-tag: true
wipe-workspace: true
builders:
- shell:
echo "You are inspecting Ceph repo under path src/pybind/mgr/"
!include-raw:
- ../../build/build

0 comments on commit ce5174d

Please sign in to comment.