blob: 36b305ad55c9a02fd3f7751336acfc538c364523 (
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
|
---
- project:
name: "deploy"
jobs:
- "{app}-deploy-{target}":
app: "wro"
node: "ansible"
deploy_script: "deploy-target.sh"
target: "sphinkpad"
installer_url: "git@ns:repos/wro-installer.git"
- "{app}-deploy-{target}":
app: "wro"
node: "ansible"
deploy_script: "deploy-target.sh"
target: "ns"
installer_url: "git@ns:repos/wro-installer.git"
- "{app}-deploy-{target}":
app: "ldapadmin"
node: "ansible"
deploy_script: "deploy-target.sh"
target: "sphinkpad"
installer_url: "git@ns:repos/ldapadmin-installer.git"
- "{app}-deploy-{target}":
app: "ldapadmin"
node: "ansible"
deploy_script: "deploy-target.sh"
target: "ns"
installer_url: "git@ns:repos/ldapadmin-installer.git"
- job-template:
name: "{app}-deploy-{target}"
project-type: freestyle
node: "{node}"
properties:
- build-discarder:
num-to-keep: 1
artifact-days-to-keep: 0
- build-blocker:
use-build-blocker: true
blocking-jobs:
- "docker-container.*"
block_level: "GLOBAL"
queue-scanning: "BUILDABLE"
scm:
- git:
url: "{installer_url}"
branches:
- master
builders:
- shell: |
./{deploy_script} {target}
|