Scott Baker | ff88771 | 2020-04-29 13:39:41 -0700 | [diff] [blame] | 1 | --- |
| 2 | # device-management tests |
| 3 | |
Scott Baker | ff88771 | 2020-04-29 13:39:41 -0700 | [diff] [blame] | 4 | - job-template: |
| 5 | id: 'device-management-patch-test' |
| 6 | name: 'verify_{project}_sanity-test{name-extension}' |
| 7 | extra-helm-flags: '' |
| 8 | skip-vote: false |
Matteo Scandolo | 37f168b | 2021-04-15 16:20:46 -0700 | [diff] [blame] | 9 | volthaSystemTestsChange: '' |
| 10 | volthaHelmChartsChange: '' |
Scott Baker | ff88771 | 2020-04-29 13:39:41 -0700 | [diff] [blame] | 11 | |
| 12 | description: | |
| 13 | <!-- Managed by Jenkins Job Builder --> |
| 14 | Created by {id} job-template from ci-management/jjb/device-management.yaml <br /><br /> |
| 15 | Validation for device-management using mock redfish servers |
| 16 | |
| 17 | properties: |
Joey Armstrong | 8e1de65 | 2022-09-02 12:09:52 -0400 | [diff] [blame] | 18 | - onf-infra-volthadevs-permissions |
Scott Baker | ff88771 | 2020-04-29 13:39:41 -0700 | [diff] [blame] | 19 | - cord-infra-properties: |
| 20 | build-days-to-keep: '{build-days-to-keep}' |
| 21 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 22 | |
| 23 | wrappers: |
| 24 | - lf-infra-wrappers: |
| 25 | build-timeout: '{build-timeout}' |
| 26 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 27 | |
| 28 | parameters: |
| 29 | - string: |
| 30 | name: buildNode |
Joey Armstrong | c5194c4 | 2024-07-23 15:31:18 -0400 | [diff] [blame] | 31 | # default: 'ubuntu18.04-basebuild-4c-8g' |
Joey Armstrong | 6fb53fb | 2024-08-27 16:44:29 -0400 | [diff] [blame] | 32 | default: 'ubuntu18.04-basebuild-8c-15g' |
Scott Baker | ff88771 | 2020-04-29 13:39:41 -0700 | [diff] [blame] | 33 | description: 'Name of the Jenkins node to run the job on' |
| 34 | |
| 35 | - string: |
Matteo Scandolo | 37f168b | 2021-04-15 16:20:46 -0700 | [diff] [blame] | 36 | name: branch |
Scott Baker | ff88771 | 2020-04-29 13:39:41 -0700 | [diff] [blame] | 37 | default: 'master' |
| 38 | description: 'Name of the repo branch to use' |
| 39 | |
| 40 | - string: |
| 41 | name: gerritProject |
| 42 | default: '$GERRIT_PROJECT' |
| 43 | description: 'Name of the Gerrit project' |
| 44 | |
| 45 | - string: |
Matteo Scandolo | 37f168b | 2021-04-15 16:20:46 -0700 | [diff] [blame] | 46 | name: gerritRefspec |
| 47 | default: '$GERRIT_REFSPEC' |
| 48 | description: 'PatchSet REFSPEC in Gerrit, example value: "refs/changes/79/18779/13"' |
Scott Baker | ff88771 | 2020-04-29 13:39:41 -0700 | [diff] [blame] | 49 | |
| 50 | - string: |
| 51 | name: extraHelmFlags |
| 52 | default: '{extra-helm-flags}' |
Matteo Scandolo | af40298 | 2021-05-07 11:19:06 -0700 | [diff] [blame] | 53 | description: 'Helm flags to pass to every helm install command' |
Scott Baker | ff88771 | 2020-04-29 13:39:41 -0700 | [diff] [blame] | 54 | |
Matteo Scandolo | 37f168b | 2021-04-15 16:20:46 -0700 | [diff] [blame] | 55 | - string: |
| 56 | name: volthaSystemTestsChange |
| 57 | default: '{volthaSystemTestsChange}' |
| 58 | description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"' |
| 59 | |
| 60 | - string: |
| 61 | name: volthaHelmChartsChange |
| 62 | default: '{volthaHelmChartsChange}' |
| 63 | description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"' |
| 64 | |
Scott Baker | ff88771 | 2020-04-29 13:39:41 -0700 | [diff] [blame] | 65 | project-type: pipeline |
| 66 | concurrent: true |
| 67 | |
| 68 | dsl: !include-raw-escape: pipeline/{pipeline-script} |
| 69 | |
| 70 | triggers: |
| 71 | - gerrit: |
| 72 | server-name: '{gerrit-server-name}' |
| 73 | dependency-jobs: '{dependency-jobs}' |
| 74 | silent-start: true |
| 75 | trigger-on: |
| 76 | - patchset-created-event: |
| 77 | exclude-drafts: true |
| 78 | exclude-trivial-rebase: false |
| 79 | exclude-no-code-change: true |
| 80 | - draft-published-event |
| 81 | - comment-added-contains-event: |
| 82 | comment-contains-value: '(?i)^.*recheck$' |
| 83 | projects: |
| 84 | - project-compare-type: REG_EXP |
| 85 | project-pattern: '^device-management$' |
| 86 | branches: |
| 87 | - branch-compare-type: REG_EXP |
| 88 | branch-pattern: '{branch-regexp}' |
| 89 | file-paths: |
| 90 | - compare-type: REG_EXP |
| 91 | pattern: '{all-files-regexp}' |
| 92 | skip-vote: |
| 93 | successful: '{skip-vote}' |
| 94 | failed: '{skip-vote}' |
| 95 | unstable: '{skip-vote}' |
| 96 | notbuilt: '{skip-vote}' |
Joey Armstrong | af679da | 2023-01-31 14:22:41 -0500 | [diff] [blame] | 97 | |
| 98 | # [EOF] |