14141de5f8ed7d973dd5a2c123a75131b705fc98
[releng.git] / jjb / laas / laas.yml
1 ---
2 - project:
3     name: laas-dashboard-jobs
4
5     project: 'laas'
6     project-name: 'laas'
7
8     stream:
9       - master
10
11     disabled: false
12
13     jobs:
14       - 'laas-dashboard-backup'
15       - 'laas-dashboard-deploy'
16
17 - job-template:
18     name: 'laas-dashboard-backup'
19
20     disabled: '{obj:disabled}'
21
22     parameters:
23       - 'laas-dashboard-defaults'
24
25     triggers:
26       - timed: '@daily'
27
28     builders:
29       - shell:
30           !include-raw: shell/backup-dashboard.sh
31
32 - job-template:
33     name: 'laas-dashboard-deploy'
34
35     disabled: '{obj:disabled}'
36
37     parameters:
38       - project-parameter:
39           project: '{project}'
40           branch: 'master'
41       - 'laas-dashboard-defaults'
42
43     scm:
44       - git-scm-gerrit
45
46     triggers:
47       - gerrit-trigger-change-merged:
48           branch: 'master'
49           project: '{project}'
50           files: 'dashboard/docker-compose.yml'
51
52     builders:
53       - shell:
54           !include-raw: shell/deploy-dashboard.sh