diff --git a/jjb-deploy.yaml b/jjb-deploy.yaml new file mode 100644 index 000000000..002636e6a --- /dev/null +++ b/jjb-deploy.yaml @@ -0,0 +1,18 @@ +--- +- job: + name: jjb-deploy + project-type: pipeline + sandbox: true + dsl: | + def GIT_REPO = 'http://github.com/ceph/ceph-csi' + def GIT_BRANCH = 'ci/centos' + node { + stage('checkout ci repository') { + git url: "${GIT_REPO}", branch: "${GIT_BRANCH}", changelog: false + } + stage('validation') { + sh './deploy/jjb.sh deploy' + } + } + triggers: + - github diff --git a/jjb-validate.yaml b/jjb-validate.yaml new file mode 100644 index 000000000..ec37a5773 --- /dev/null +++ b/jjb-validate.yaml @@ -0,0 +1,22 @@ +--- +- job: + name: jjb-validate + project-type: pipeline + sandbox: true + dsl: | + def GIT_REPO = 'http://github.com/ceph/ceph-csi' + def GIT_BRANCH = 'ci/centos' + node { + stage('checkout ci repository') { + git url: "${GIT_REPO}", branch: "${GIT_BRANCH}", changelog: false + } + stage('validation') { + sh './deploy/jjb.sh validate' + } + } + triggers: + - github-pull-request: + admin-list: + - nixpanic + org-list: + - ceph