From b0bdc7ca0c534a40cb2a1e93049ab1406738f7da Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Sat, 14 Sep 2019 00:14:53 +0800 Subject: [PATCH] ceph-pull-requests-arm64: use jjb settings instead of raw xml Signed-off-by: Kefu Chai --- .../definitions/ceph-pull-requests-arm64.yml | 43 +++++-------------- 1 file changed, 10 insertions(+), 33 deletions(-) diff --git a/ceph-pull-requests-arm64/config/definitions/ceph-pull-requests-arm64.yml b/ceph-pull-requests-arm64/config/definitions/ceph-pull-requests-arm64.yml index 5bdc71e4..ce6a4415 100644 --- a/ceph-pull-requests-arm64/config/definitions/ceph-pull-requests-arm64.yml +++ b/ceph-pull-requests-arm64/config/definitions/ceph-pull-requests-arm64.yml @@ -39,39 +39,16 @@ quiet-period: '5' retry-count: '3' scm: - - raw: - xml: | - - 2 - - - origin - +refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/* - https://github.com/ceph/ceph.git - - - - - ${sha1} - - - false - - - - 20 - - - false - false - - 20 - 0 - false - - - - + - git: + url: https://github.com/ceph/ceph.git + name: origin + branches: + - ${sha1} + refspec: +refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/* + skip-tag: true + shallow-clone: true + timeout: 20 + wipe-workspace: true triggers: - github-pull-request: allow-whitelist-orgs-as-admins: true -- 2.39.5