blob: 3a60b8fc9cfb2653a8be046f5adf49cea5ef4770 [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'
Zack Williams7b318a02018-09-27 16:23:17 -07007 refspec: 'refs/heads/*'
8
Andy Bavier9a80d152018-09-26 16:16:03 -07009 timed-trigger: '{every-four-hours}'
10 jobs:
11 - 'siab-e2e-att':
12
Andy Bavierd4160c52018-09-27 15:18:27 -070013- scm:
Zack Williams7b318a02018-09-27 16:23:17 -070014 name: automation-tools-scm
Andy Bavierd4160c52018-09-27 15:18:27 -070015 scm:
Zack Williams7b318a02018-09-27 16:23:17 -070016 - 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 Bavierd4160c52018-09-27 15:18:27 -070023 basedir: 'cord/automation-tools'
24
25- scm:
Zack Williams7b318a02018-09-27 16:23:17 -070026 name: helm-charts-scm
Andy Bavierd4160c52018-09-27 15:18:27 -070027 scm:
Zack Williams7b318a02018-09-27 16:23:17 -070028 - 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 Bavierd4160c52018-09-27 15:18:27 -070035 basedir: 'cord/helm-charts'
36
37- scm:
38 name: tools-and-charts
39 scm:
Zack Williams7b318a02018-09-27 16:23:17 -070040 - 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 Bavierd4160c52018-09-27 15:18:27 -070050
Andy Bavier9a80d152018-09-26 16:16:03 -070051- 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 Williams7b318a02018-09-27 16:23:17 -070071 - tools-and-charts:
72 branch: '{branch}'
73 refspec: '{refspec}'
74 gerrit-server-url: '{gerrit-server-url}'
75 jenkins-ssh-credential: '{jenkins-ssh-credential}'
Andy Bavier9a80d152018-09-26 16:16:03 -070076
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