Bartek Grzybowski | 2dd0554 | 2020-02-07 15:10:03 +0100 | [diff] [blame] | 1 | --- |
| 2 | - job-template: |
| 3 | # Job template for verifying Vagrantfiles |
| 4 | # |
| 5 | # The purpose of this job template is to run: |
| 6 | # vagrant validate |
| 7 | |
| 8 | name: '{project-name}-{stream}-verify-vagrantfile' |
| 9 | project-type: freestyle |
| 10 | description: 'Job intended for validating vagrantfiles' |
Bartek Grzybowski | a14a667 | 2020-02-10 10:08:28 +0100 | [diff] [blame] | 11 | node: ubuntu1604-builder-2c-1g |
Bartek Grzybowski | 2dd0554 | 2020-02-07 15:10:03 +0100 | [diff] [blame] | 12 | |
| 13 | parameters: |
| 14 | - lf-infra-parameters: |
| 15 | project: '{project}' |
| 16 | stream: '{stream}' |
| 17 | branch: '{branch}' |
| 18 | |
| 19 | properties: |
| 20 | - infra-properties: |
| 21 | build-days-to-keep: '{build-days-to-keep}' |
| 22 | |
| 23 | scm: |
| 24 | - gerrit-trigger-scm: |
| 25 | refspec: '$GERRIT_REFSPEC' |
| 26 | choosing-strategy: 'gerrit' |
| 27 | submodule-recursive: '{submodule-recursive}' |
| 28 | |
| 29 | wrappers: |
| 30 | - infra-wrappers: |
| 31 | build-timeout: '{build-timeout}' |
| 32 | |
| 33 | triggers: |
| 34 | - gerrit-trigger-patch-submitted: |
| 35 | server: '{server-name}' |
| 36 | project: '{project}' |
| 37 | branch: '{branch}' |
| 38 | files: '**/Vagrantfile' |
| 39 | |
| 40 | builders: |
| 41 | - integration-install-vagrant |
| 42 | - shell: !include-raw-escape: 'vagrantfile-verify.sh' |
| 43 | |
| 44 | publishers: |
| 45 | - lf-infra-publish |