Devin Lim | 38d1406 | 2018-01-11 17:08:00 -0800 | [diff] [blame] | 1 | --- |
| 2 | # ONOS System Test Pipeline jobs |
| 3 | |
| 4 | - var-init-boiler-plate: &var-init-boiler-plate |
| 5 | name: var-init-boiler-plate |
| 6 | FUNC: "FUNCgroup\nFUNCflow\nFUNCintent\nFUNCintentRest\nFUNCipv6Intent\nFUNCnetCfg\nFUNCnetconf\nFUNCoptical\nFUNCovsdbtest\nFUNCformCluster" |
| 7 | HA: "HAclusterRestart\nHAfullNetPartition\nHAkillNodes\nHAsanity\nHAscaling\nHAsingleInstanceRestart\nHAstopNodes\nHAswapNodes\nHAupgrade\nHAupgradeRollback" |
| 8 | SCPF: "SCPFcbench\nSCPFflowTp1g\nSCPFhostLat\nSCPFintentEventTp\nSCPFintentInstallWithdrawLat\nSCPFintentRerouteLat\nSCPFmastershipFailoverLat\nSCPFbatchFlowResp\nSCPFportLat\nSCPFscaleTopo\nSCPFscalingMaxIntents\nSCPFswitchLat\nSCPFflowTp1gWithFlowObj\nSCPFintentEventTpWithFlowObj\nSCPFintentRerouteLatWithFlowObj\nSCPFscalingMaxIntentsWithFlowObj\nSCPFintentInstallWithdrawLatWithFlowObj" |
| 9 | USECASE: "FUNCbgpls\nFUNCvirNetNB\nPLATdockertest\nVPLSBasic\nVPLSfailsafe\nUSECASE_SdnipFunction\nUSECASE_SdnipFunctionCluster\nSRClusterRestart\nSRDynamic\nSRHighAvailability\nSRLinkFailure\nSROnosFailure\nSRSanity\nSRSwitchFailure" |
| 10 | |
| 11 | - job-boiler-plate: &job-boiler-plate |
| 12 | name: job-boiler-plate |
| 13 | |
| 14 | project-type: pipeline |
| 15 | |
| 16 | sandbox: true |
| 17 | |
Devin Lim | 38d1406 | 2018-01-11 17:08:00 -0800 | [diff] [blame] | 18 | properties: |
| 19 | |
| 20 | - build-discarder: |
| 21 | num-to-keep: 20 |
| 22 | |
Devin Lim | 74cf6cb | 2018-01-12 15:03:34 -0800 | [diff] [blame^] | 23 | - job-template: |
Devin Lim | 38d1406 | 2018-01-11 17:08:00 -0800 | [diff] [blame] | 24 | name: all-pipeline-trigger |
| 25 | |
| 26 | <<: *var-init-boiler-plate |
| 27 | <<: *job-boiler-plate |
Devin Lim | 74cf6cb | 2018-01-12 15:03:34 -0800 | [diff] [blame^] | 28 | jvmPre: "${{" |
| 29 | jvmHeap: JAVA_OPTS:--Xms8G -Xmx8G |
| 30 | jvmEnd: "}}" |
Devin Lim | 38d1406 | 2018-01-11 17:08:00 -0800 | [diff] [blame] | 31 | parameters: |
| 32 | |
Devin Lim | 74cf6cb | 2018-01-12 15:03:34 -0800 | [diff] [blame^] | 33 | - lf-infra-parameters: |
| 34 | project: '{project}' |
| 35 | branch: '{stream}' |
| 36 | stream: '{stream}' |
| 37 | lftools-version: '{lftools-version}' |
| 38 | |
Devin Lim | 38d1406 | 2018-01-11 17:08:00 -0800 | [diff] [blame] | 39 | - bool: |
| 40 | name: manual_run |
| 41 | default: false |
| 42 | description: | |
| 43 | Check this option if you are manually running this job (you most likely are). |
| 44 | You must specify which tests to run in the text field below. |
| 45 | |
| 46 | - bool: |
| 47 | name: PostResult |
| 48 | default: false |
| 49 | description: | |
| 50 | Check this option if you want to update the results on the wiki. |
| 51 | When manually run, this will update the wiki pages corresponding to the tests that were run. |
| 52 | This option will always be selected during nightly builds. |
| 53 | |
| 54 | - bool: |
| 55 | name: isOldFlow |
| 56 | default: false |
| 57 | description: | |
| 58 | Check this option if you prefer to run the old flow rule over the new one. |
| 59 | * This only applies to SCPF tests. |
| 60 | |
| 61 | - choice: |
| 62 | name: ONOSVersion |
| 63 | choices: |
| 64 | - 'master' |
| 65 | - '1.12' |
| 66 | - '1.11' |
| 67 | description: "ONOS and TestON versions to run on." |
| 68 | |
| 69 | - string: |
| 70 | name: ONOSJVMHeap |
Devin Lim | 74cf6cb | 2018-01-12 15:03:34 -0800 | [diff] [blame^] | 71 | default: "${{JAVA_OPTS:--Xms8G -Xmx8G}}" |
Devin Lim | 38d1406 | 2018-01-11 17:08:00 -0800 | [diff] [blame] | 72 | description: 'ONOS cell JVM heap size setting.' |
| 73 | |
Devin Lim | 74cf6cb | 2018-01-12 15:03:34 -0800 | [diff] [blame^] | 74 | - text: |
Devin Lim | 38d1406 | 2018-01-11 17:08:00 -0800 | [diff] [blame] | 75 | name: Tests |
| 76 | default: '{FUNC}\n{HA}\n{SCPF}\n{USECASE}' |
| 77 | description: 'Specify the tests you want to run, if manual_run is selected.' |
| 78 | |
| 79 | concurrent: false |
| 80 | |
| 81 | triggers: |
| 82 | - timed: | |
| 83 | 30 19 * * 1,2,3,4,5 |
| 84 | 30 11 * * 6,7 |
| 85 | |
| 86 | pipeline-scm: |
| 87 | script-path: TestON/JenkinsFile/JenkinsfileTrigger |
| 88 | scm: |
| 89 | - git: |
| 90 | url: '$GIT_URL/$GERRIT_PROJECT' |
| 91 | credentials-id: '{jenkins-ssh-credential}' |
| 92 | branches: |
Devin Lim | 74cf6cb | 2018-01-12 15:03:34 -0800 | [diff] [blame^] | 93 | - 'master' |
Devin Lim | 38d1406 | 2018-01-11 17:08:00 -0800 | [diff] [blame] | 94 | |
| 95 | - project: |
| 96 | name: all-pipeline-trigger |
| 97 | project-name: all-pipeline-trigger |
| 98 | project: OnosSystemTest |
| 99 | stream: 'master' |
| 100 | # can we use this node or master ? |
| 101 | build-node: 'ubuntu16.04-basebuild-8c-15g' |
| 102 | jobs: |
| 103 | - 'all-pipeline-trigger' |