Zack Williams | ac98441 | 2018-04-04 15:39:45 -0700 | [diff] [blame] | 1 | --- |
| 2 | # run `helm lint` on helm charts |
| 3 | |
| 4 | - job-template: |
| 5 | name: 'verify-helm-charts-{stream}' |
| 6 | |
| 7 | git-url: '$GIT_URL/$GERRIT_PROJECT' |
| 8 | submodule-recursive: false |
| 9 | |
| 10 | builders: |
| 11 | - shell: !include-raw-escape: helmlint.sh |
| 12 | |
| 13 | properties: |
| 14 | - lf-infra-properties: |
| 15 | project: '{project}' |
| 16 | build-days-to-keep: '{build-days-to-keep}' |
| 17 | |
| 18 | parameters: |
| 19 | - lf-infra-parameters: |
| 20 | project: '{project}' |
| 21 | branch: '{stream}' |
| 22 | stream: '{stream}' |
| 23 | lftools-version: '{lftools-version}' |
| 24 | |
| 25 | wrappers: |
| 26 | - lf-infra-wrappers: |
| 27 | build-timeout: '{build-timeout}' |
| 28 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 29 | |
Zack Williams | d8a5977 | 2018-04-06 09:52:30 -0700 | [diff] [blame^] | 30 | concurrent: true |
| 31 | |
Zack Williams | ac98441 | 2018-04-04 15:39:45 -0700 | [diff] [blame] | 32 | scm: |
| 33 | - lf-infra-gerrit-scm: |
| 34 | git-url: '{git-url}' |
| 35 | refspec: '$GERRIT_REFSPEC' |
| 36 | branch: '$GERRIT_BRANCH' |
| 37 | submodule-recursive: '{submodule-recursive}' |
| 38 | choosing-strategy: gerrit |
| 39 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 40 | |
| 41 | triggers: |
| 42 | - gerrit: |
| 43 | server-name: '{gerrit-server-name}' |
| 44 | trigger-on: |
| 45 | - patchset-created-event: |
| 46 | exclude-drafts: true |
| 47 | exclude-trivial-rebase: false |
| 48 | exclude-no-code-change: true |
| 49 | - draft-published-event |
| 50 | - comment-added-contains-event: |
| 51 | comment-contains-value: '(?i)^.*recheck$' |
| 52 | projects: |
| 53 | - project-compare-type: PLAIN |
| 54 | project-pattern: '{project}' |
| 55 | branches: |
| 56 | - branch-compare-type: ANT |
| 57 | branch-pattern: '**/{stream}' |
| 58 | |
| 59 | - project: |
| 60 | name: verify-helm-charts |
| 61 | project-name: verify-helm-charts |
| 62 | |
| 63 | project: helm-charts |
| 64 | |
| 65 | project-type: freestyle |
| 66 | |
Zack Williams | d8a5977 | 2018-04-06 09:52:30 -0700 | [diff] [blame^] | 67 | node: '{build-node}' |
Zack Williams | ac98441 | 2018-04-04 15:39:45 -0700 | [diff] [blame] | 68 | build-timeout: '10' |
| 69 | build-node: '{build-node}' |
| 70 | |
Zack Williams | d8a5977 | 2018-04-06 09:52:30 -0700 | [diff] [blame^] | 71 | supported_versions: &supported_versions |
| 72 | - 'master' |
| 73 | |
| 74 | stream: *supported_versions |
Zack Williams | ac98441 | 2018-04-04 15:39:45 -0700 | [diff] [blame] | 75 | |
| 76 | jobs: |
| 77 | - 'verify-helm-charts-{stream}' |