blob: ba19cf25b5a736cef349a0298065d8e65e57932f [file] [log] [blame]
Andy Bavier9a80d152018-09-26 16:16:03 -07001---
2- project:
3 name: siab-e2e-att
4 project: '{name}'
5 build-node: 'qct-pod4-node2'
Andy Bavier9a80d152018-09-26 16:16:03 -07006 branch: 'master'
Andy Bavier1ff53c32018-09-28 13:12:56 -07007 refspec: 'refs/heads/master'
Zack Williams7b318a02018-09-27 16:23:17 -07008
Andy Bavier9a80d152018-09-26 16:16:03 -07009 timed-trigger: '{every-four-hours}'
10 jobs:
Andy Bavier4e47ca62018-09-28 08:54:19 -070011 - 'siab-e2e-att'
Andy Bavierd4160c52018-09-27 15:18:27 -070012
Andy Bavier9a80d152018-09-26 16:16:03 -070013- job-template:
14 id: 'siab-e2e-att'
15 name: 'verify_automation-tools_{project}'
16 description: |
17 Created by {id} job-template from ci-management/jjb/siab-e2e.yaml
18
19 triggers:
20 - timed: '{timed-trigger}'
21
22 properties:
23 - cord-infra-properties:
24 build-days-to-keep: '{build-days-to-keep}'
25 artifact-num-to-keep: '{artifact-num-to-keep}'
26
27 wrappers:
28 - lf-infra-wrappers:
29 build-timeout: '{build-timeout}'
30 jenkins-ssh-credential: '{jenkins-ssh-credential}'
31
32 scm:
Andy Bavier4e47ca62018-09-28 08:54:19 -070033 - cord-infra-gerrit-scm:
34 git-url: '{gerrit-server-url}/automation-tools'
Zack Williams7b318a02018-09-27 16:23:17 -070035 refspec: '{refspec}'
Andy Bavier4e47ca62018-09-28 08:54:19 -070036 branch: '{branch}'
37 submodule-recursive: 'false'
38 choosing-strategy: default
Zack Williams7b318a02018-09-27 16:23:17 -070039 jenkins-ssh-credential: '{jenkins-ssh-credential}'
Andy Bavier4e47ca62018-09-28 08:54:19 -070040 basedir: 'cord/automation-tools'
Andy Bavier9a80d152018-09-26 16:16:03 -070041
42 node: '{build-node}'
43 project-type: freestyle
44 concurrent: false
45
46 builders:
47 - shell: |
48 #!/usr/bin/env bash
49 set -eu -o pipefail
50
51 cd cord/automation-tools/seba-in-a-box
Andy Bavier1ff53c32018-09-28 13:12:56 -070052 [ -e /usr/bin/kubeadm ] && make reset-kubeadm
Andy Bavier9a80d152018-09-26 16:16:03 -070053 make -j2
54 make run-tests