blob: 24c194255bf20b8c7c9c1d5fe3c311fe054c035d [file] [log] [blame]
Martin Polreich21f23142017-05-16 11:03:46 +02001---
2driver:
3 name: docker
4 hostname: backupninja.ci.local
5 use_sudo: false
6
7provisioner:
8 name: salt_solo
9 salt_install: bootstrap
10 salt_bootstrap_url: https://bootstrap.saltstack.com
11 salt_version: latest
12 require_chef: false
13 log_level: error
14 formula: backupninja
15 grains:
16 noservices: True
17 dependencies:
18 - name: linux
19 repo: git
Martin Polreich515736d2018-11-28 11:15:27 +010020 source: https://gerrit.mcp.mirantis.com/salt-formulas/linux
Martin Polreich21f23142017-05-16 11:03:46 +020021 state_top:
22 base:
23 "*":
24 - backupninja
25 pillars:
26 top.sls:
27 base:
28 "*":
29 - backupninja
30
31verifier:
32 name: inspec
33 sudo: true
34
Martin Polreich515736d2018-11-28 11:15:27 +010035docker_images:
Martin Polreich515736d2018-11-28 11:15:27 +010036 - &xenial-20177 <%=ENV['IMAGE_XENIAL_20177'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19'%>
37 - &xenial-stable <%=ENV['IMAGE_XENIAL_STABLE'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19'%>
Martin Polreich21f23142017-05-16 11:03:46 +020038
39platforms:
Martin Polreich515736d2018-11-28 11:15:27 +010040 - name: xenial-2017.7
41 driver_config:
42 image: *xenial-20177
43 platform: ubuntu
44
45 - name: xenial-stable
46 driver_config:
47 image: *xenial-stable
Martin Polreich21f23142017-05-16 11:03:46 +020048 platform: ubuntu
49
50suites:
51
Martin Polreich515736d2018-11-28 11:15:27 +010052 - name: server-rdiff
Martin Polreich21f23142017-05-16 11:03:46 +020053 provisioner:
54 pillars-from-files:
Martin Polreich02bb0102017-05-16 13:14:02 +020055 backupninja.sls: tests/pillar/server_rdiff.sls
Martin Polreich21f23142017-05-16 11:03:46 +020056
Martin Polreich515736d2018-11-28 11:15:27 +010057 - name: client-rsync
Martin Polreich21f23142017-05-16 11:03:46 +020058 provisioner:
59 pillars-from-files:
Martin Polreich02bb0102017-05-16 13:14:02 +020060 backupninja.sls: tests/pillar/client_rsync.sls
Martin Polreich21f23142017-05-16 11:03:46 +020061
Martin Polreich515736d2018-11-28 11:15:27 +010062 - name: client-rsync-backup-times
Martin Polreich41ee69c2018-03-05 13:17:02 +010063 provisioner:
64 pillars-from-files:
65 backupninja.sls: tests/pillar/client_rsync_backup_times.sls
Martin Polreich515736d2018-11-28 11:15:27 +010066 excludes: xenial-2016.3
Martin Polreich41ee69c2018-03-05 13:17:02 +010067
Martin Polreich515736d2018-11-28 11:15:27 +010068 - name: client-s3
Martin Polreich21f23142017-05-16 11:03:46 +020069 provisioner:
70 pillars-from-files:
Martin Polreich02bb0102017-05-16 13:14:02 +020071 backupninja.sls: tests/pillar/client_s3.sls
Martin Polreich21f23142017-05-16 11:03:46 +020072
Martin Polreich515736d2018-11-28 11:15:27 +010073 - name: client-s3-disabled-auto
Martin Polreich41ee69c2018-03-05 13:17:02 +010074 provisioner:
75 pillars-from-files:
76 backupninja.sls: tests/pillar/client_s3_disabled_auto.sls
Martin Polreich515736d2018-11-28 11:15:27 +010077 excludes: xenial-2016.3
Martin Polreich41ee69c2018-03-05 13:17:02 +010078
Martin Polreich515736d2018-11-28 11:15:27 +010079 - name: client-webdav
Martin Polreich21f23142017-05-16 11:03:46 +020080 provisioner:
81 pillars-from-files:
Martin Polreich02bb0102017-05-16 13:14:02 +020082 backupninja.sls: tests/pillar/client_webdav.sls
Martin Polreich515736d2018-11-28 11:15:27 +010083
Martin Polreich21f23142017-05-16 11:03:46 +020084# vim: ft=yaml sw=2 ts=2 sts=2 tw=125