blob: 507e93eb34c4c0b1a6450db978e8d7788d0848c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
---
- project:
name: pharos-dashboard-jobs
project: 'pharos-tools'
disabled: false
jobs:
- '{project}-verify-basic'
- 'pharos-dashboard-backup'
- 'pharos-dashboard-deploy'
- job-template:
name: 'pharos-dashboard-backup'
disabled: '{obj:disabled}'
parameters:
- 'pharos-dashboard-defaults'
triggers:
- timed: '@daily'
builders:
- shell:
!include-raw: shell/backup-dashboard.sh
- job-template:
name: 'pharos-dashboard-deploy'
disabled: '{obj:disabled}'
parameters:
- project-parameter:
project: '{project}'
branch: 'master'
- 'pharos-dashboard-defaults'
scm:
- git-scm-gerrit
triggers:
- gerrit-trigger-change-merged:
branch: 'master'
project: '{project}'
# In the future this should be switch to just the compose file
# for when tags are updated
# files: 'dashboard/docker-compose.yml'
files: 'dashboard/**'
builders:
- shell:
!include-raw: shell/deploy-dashboard.sh
|