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 | |
| 30 | scm: |
| 31 | - lf-infra-gerrit-scm: |
| 32 | git-url: '{git-url}' |
| 33 | refspec: '$GERRIT_REFSPEC' |
| 34 | branch: '$GERRIT_BRANCH' |
| 35 | submodule-recursive: '{submodule-recursive}' |
| 36 | choosing-strategy: gerrit |
| 37 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 38 | |
| 39 | triggers: |
| 40 | - gerrit: |
| 41 | server-name: '{gerrit-server-name}' |
| 42 | trigger-on: |
| 43 | - patchset-created-event: |
| 44 | exclude-drafts: true |
| 45 | exclude-trivial-rebase: false |
| 46 | exclude-no-code-change: true |
| 47 | - draft-published-event |
| 48 | - comment-added-contains-event: |
| 49 | comment-contains-value: '(?i)^.*recheck$' |
| 50 | projects: |
| 51 | - project-compare-type: PLAIN |
| 52 | project-pattern: '{project}' |
| 53 | branches: |
| 54 | - branch-compare-type: ANT |
| 55 | branch-pattern: '**/{stream}' |
| 56 | |
| 57 | - project: |
| 58 | name: verify-helm-charts |
| 59 | project-name: verify-helm-charts |
| 60 | |
| 61 | project: helm-charts |
| 62 | |
| 63 | project-type: freestyle |
| 64 | |
| 65 | build-timeout: '10' |
| 66 | build-node: '{build-node}' |
| 67 | |
| 68 | stream: |
| 69 | - "master" |
| 70 | |
| 71 | jobs: |
| 72 | - 'verify-helm-charts-{stream}' |