blob: 524fa391b82b14cad339abd0b39c0899834efc06 [file] [log] [blame]
Carmelo Casconebaceafe2021-01-10 19:28:49 -08001---
2# jobs for https://github.com/omec-project/up4
3
4- project:
5 name: up4
6 project: "{name}"
7 github-organization: "omec-project"
8 github_pr_auth_id: "64fe2b1a-b33a-4f13-8442-ad8360434003"
9 github_pr_org_list:
10 - "omec-project"
11 jobs:
12 - "up4-jobs":
13 stream: "master"
14 # As we run integration tests with 3 ONOS instances,
15 # we need a beefy node.
16 build-node: "ubuntu16.04-basebuild-8c-15g"
17
18- job-group:
19 name: "up4-jobs"
20 jobs:
21 - "up4-pr-verify"
22
23- job-template:
24 id: "up4-pr-verify"
25 name: "up4-pr-verify"
26 description: |
27 Created by {id} job-template from ci-management/up4.yaml<br/>
28
29 project-type: pipeline
30 concurrent: true
31
32 properties:
33 # Visibility restricted to Aether members only.
34 - cord-infra-aether-private:
35 - cord-infra-properties:
36 build-days-to-keep: "15"
37 artifact-num-to-keep: "-1"
38 - github:
39 url: "https://github.com/{github-organization}/{project}"
40
41 parameters:
42 - string:
43 name: buildNode
44 default: "{build-node}"
45 description: "Name of the Jenkins executor node to run the job on."
46 - string:
47 name: sha1
48 default: "origin/{stream}"
49 description: "The actual commit or branch to build."
50
51 # Run pipeline that is checked-in in the same PR we want to verify.
52 pipeline-scm:
53 script-path: ".jenkins/Jenkinsfile"
54 scm:
55 - git:
56 url: "git@github.com:{github-organization}/{project}.git"
57 credentials-id: "github-onf-bot-ssh-key"
58 refspec: "+refs/pull/*:refs/remotes/origin/pr/*"
59 branches:
60 - "$sha1"
61 submodule:
62 disable: true
63 shallow-clone: true
64
65 triggers:
66 - cord-infra-github-pr-trigger:
67 github_pr_org_list: "{obj:github_pr_org_list}"
68 github_pr_auth_id: "{github_pr_auth_id}"
69 status_context: "up4-pr-verify"
70
71 wrappers:
72 - lf-infra-wrappers:
73 build-timeout: "{build-timeout}"
74 jenkins-ssh-credential: "{jenkins-ssh-credential}"