/
ceph-dashboard-pr-backend.yml
65 lines (61 loc) · 2.02 KB
/
ceph-dashboard-pr-backend.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
- job:
name: ceph-dashboard-pr-backend
project-type: freestyle
defaults: global
concurrent: true
node: huge && bionic && x86_64 && !xenial && !trusty
display-name: 'ceph: dashboard Pull Requests backend'
quiet-period: 5
block-downstream: false
block-upstream: false
retry-count: 3
properties:
- build-discarder:
days-to-keep: 15
num-to-keep: 300
artifact-days-to-keep: -1
artifact-num-to-keep: -1
- github:
url: https://github.com/ceph/ceph/
- rebuild:
auto-rebuild: true
parameters:
- string:
name: sha1
description: "commit id or a refname, like 'origin/pr/72/head'"
triggers:
- github-pull-request:
allow-whitelist-orgs-as-admins: true
org-list:
- ceph
black-list-target-branches:
- luminous
- mimic
trigger-phrase: 'jenkins test dashboard backend'
skip-build-phrase: '^jenkins do not test.*'
only-trigger-phrase: true
github-hooks: true
permit-all: true
auto-close-on-fail: false
status-context: "ceph dashboard backend API tests"
started-status: "running ceph dashboard backend API tests"
success-status: "ceph dashboard backend API tests succeeded"
failure-status: "ceph dashboard backend API tests failed"
scm:
- git:
url: https://github.com/ceph/ceph.git
branches:
- ${sha1}
refspec: +refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/*
browser: auto
timeout: 20
skip-tag: true
shallow-clone: true
wipe-workspace: true
builders:
- shell:
!include-raw:
- ../../../scripts/build_utils.sh
- ../../build/build
- ../../../scripts/dashboard/install-backend-api-test-deps.sh
- shell: "cd src/pybind/mgr/dashboard; timeout 7200 ./run-backend-api-tests.sh"