Andy Bavier | 9a80d15 | 2018-09-26 16:16:03 -0700 | [diff] [blame] | 1 | --- |
| 2 | - project: |
| 3 | name: siab-e2e-att |
| 4 | project: '{name}' |
| 5 | build-node: 'qct-pod4-node2' |
Andy Bavier | 9a80d15 | 2018-09-26 16:16:03 -0700 | [diff] [blame] | 6 | branch: 'master' |
Zack Williams | 7b318a0 | 2018-09-27 16:23:17 -0700 | [diff] [blame^] | 7 | refspec: 'refs/heads/*' |
| 8 | |
Andy Bavier | 9a80d15 | 2018-09-26 16:16:03 -0700 | [diff] [blame] | 9 | timed-trigger: '{every-four-hours}' |
| 10 | jobs: |
| 11 | - 'siab-e2e-att': |
| 12 | |
Andy Bavier | d4160c5 | 2018-09-27 15:18:27 -0700 | [diff] [blame] | 13 | - scm: |
Zack Williams | 7b318a0 | 2018-09-27 16:23:17 -0700 | [diff] [blame^] | 14 | name: automation-tools-scm |
Andy Bavier | d4160c5 | 2018-09-27 15:18:27 -0700 | [diff] [blame] | 15 | scm: |
Zack Williams | 7b318a0 | 2018-09-27 16:23:17 -0700 | [diff] [blame^] | 16 | - cord-infra-gerrit-scm: |
| 17 | git-url: '{gerrit-server-url}/automation-tools' |
| 18 | refspec: '{refspec}' |
| 19 | branch: '{branch}' |
| 20 | submodule-recursive: 'false' |
| 21 | choosing-strategy: default |
| 22 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
Andy Bavier | d4160c5 | 2018-09-27 15:18:27 -0700 | [diff] [blame] | 23 | basedir: 'cord/automation-tools' |
| 24 | |
| 25 | - scm: |
Zack Williams | 7b318a0 | 2018-09-27 16:23:17 -0700 | [diff] [blame^] | 26 | name: helm-charts-scm |
Andy Bavier | d4160c5 | 2018-09-27 15:18:27 -0700 | [diff] [blame] | 27 | scm: |
Zack Williams | 7b318a0 | 2018-09-27 16:23:17 -0700 | [diff] [blame^] | 28 | - cord-infra-gerrit-scm: |
| 29 | git-url: '{gerrit-server-url}/helm-charts' |
| 30 | refspec: '{refspec}' |
| 31 | branch: '{branch}' |
| 32 | submodule-recursive: 'false' |
| 33 | choosing-strategy: default |
| 34 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
Andy Bavier | d4160c5 | 2018-09-27 15:18:27 -0700 | [diff] [blame] | 35 | basedir: 'cord/helm-charts' |
| 36 | |
| 37 | - scm: |
| 38 | name: tools-and-charts |
| 39 | scm: |
Zack Williams | 7b318a0 | 2018-09-27 16:23:17 -0700 | [diff] [blame^] | 40 | - automation-tools-scm: |
| 41 | branch: '{branch}' |
| 42 | refspec: '{refspec}' |
| 43 | gerrit-server-url: '{gerrit-server-url}' |
| 44 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 45 | - helm-charts-scm: |
| 46 | branch: '{branch}' |
| 47 | refspec: '{refspec}' |
| 48 | gerrit-server-url: '{gerrit-server-url}' |
| 49 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
Andy Bavier | d4160c5 | 2018-09-27 15:18:27 -0700 | [diff] [blame] | 50 | |
Andy Bavier | 9a80d15 | 2018-09-26 16:16:03 -0700 | [diff] [blame] | 51 | - job-template: |
| 52 | id: 'siab-e2e-att' |
| 53 | name: 'verify_automation-tools_{project}' |
| 54 | description: | |
| 55 | Created by {id} job-template from ci-management/jjb/siab-e2e.yaml |
| 56 | |
| 57 | triggers: |
| 58 | - timed: '{timed-trigger}' |
| 59 | |
| 60 | properties: |
| 61 | - cord-infra-properties: |
| 62 | build-days-to-keep: '{build-days-to-keep}' |
| 63 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 64 | |
| 65 | wrappers: |
| 66 | - lf-infra-wrappers: |
| 67 | build-timeout: '{build-timeout}' |
| 68 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 69 | |
| 70 | scm: |
Zack Williams | 7b318a0 | 2018-09-27 16:23:17 -0700 | [diff] [blame^] | 71 | - tools-and-charts: |
| 72 | branch: '{branch}' |
| 73 | refspec: '{refspec}' |
| 74 | gerrit-server-url: '{gerrit-server-url}' |
| 75 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
Andy Bavier | 9a80d15 | 2018-09-26 16:16:03 -0700 | [diff] [blame] | 76 | |
| 77 | node: '{build-node}' |
| 78 | project-type: freestyle |
| 79 | concurrent: false |
| 80 | |
| 81 | builders: |
| 82 | - shell: | |
| 83 | #!/usr/bin/env bash |
| 84 | set -eu -o pipefail |
| 85 | |
| 86 | cd cord/automation-tools/seba-in-a-box |
| 87 | make reset-kubeadm |
| 88 | make -j2 |
| 89 | make run-tests |