blob: f5441abee68ad8667c7bc68c4eeb098af1986f8a [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:
36 - &xenial-20163 <%=ENV['IMAGE_XENIAL_20163'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2016.3/salt:2018_11_19'%>
37 - &xenial-20177 <%=ENV['IMAGE_XENIAL_20177'] || 'docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19'%>
38 - &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 +020039
40platforms:
Martin Polreich515736d2018-11-28 11:15:27 +010041 - name: xenial-2016.3
Martin Polreich21f23142017-05-16 11:03:46 +020042 driver_config:
Martin Polreich515736d2018-11-28 11:15:27 +010043 image: *xenial-20163
44 platform: ubuntu
45
46 - name: xenial-2017.7
47 driver_config:
48 image: *xenial-20177
49 platform: ubuntu
50
51 - name: xenial-stable
52 driver_config:
53 image: *xenial-stable
Martin Polreich21f23142017-05-16 11:03:46 +020054 platform: ubuntu
55
56suites:
57
Martin Polreich515736d2018-11-28 11:15:27 +010058 - name: server-rdiff
Martin Polreich21f23142017-05-16 11:03:46 +020059 provisioner:
60 pillars-from-files:
Martin Polreich02bb0102017-05-16 13:14:02 +020061 backupninja.sls: tests/pillar/server_rdiff.sls
Martin Polreich21f23142017-05-16 11:03:46 +020062
Martin Polreich515736d2018-11-28 11:15:27 +010063 - name: client-rsync
Martin Polreich21f23142017-05-16 11:03:46 +020064 provisioner:
65 pillars-from-files:
Martin Polreich02bb0102017-05-16 13:14:02 +020066 backupninja.sls: tests/pillar/client_rsync.sls
Martin Polreich21f23142017-05-16 11:03:46 +020067
Martin Polreich515736d2018-11-28 11:15:27 +010068 - name: client-rsync-backup-times
Martin Polreich41ee69c2018-03-05 13:17:02 +010069 provisioner:
70 pillars-from-files:
71 backupninja.sls: tests/pillar/client_rsync_backup_times.sls
Martin Polreich515736d2018-11-28 11:15:27 +010072 excludes: xenial-2016.3
Martin Polreich41ee69c2018-03-05 13:17:02 +010073
Martin Polreich515736d2018-11-28 11:15:27 +010074 - name: client-s3
Martin Polreich21f23142017-05-16 11:03:46 +020075 provisioner:
76 pillars-from-files:
Martin Polreich02bb0102017-05-16 13:14:02 +020077 backupninja.sls: tests/pillar/client_s3.sls
Martin Polreich21f23142017-05-16 11:03:46 +020078
Martin Polreich515736d2018-11-28 11:15:27 +010079 - name: client-s3-disabled-auto
Martin Polreich41ee69c2018-03-05 13:17:02 +010080 provisioner:
81 pillars-from-files:
82 backupninja.sls: tests/pillar/client_s3_disabled_auto.sls
Martin Polreich515736d2018-11-28 11:15:27 +010083 excludes: xenial-2016.3
Martin Polreich41ee69c2018-03-05 13:17:02 +010084
Martin Polreich515736d2018-11-28 11:15:27 +010085 - name: client-webdav
Martin Polreich21f23142017-05-16 11:03:46 +020086 provisioner:
87 pillars-from-files:
Martin Polreich02bb0102017-05-16 13:14:02 +020088 backupninja.sls: tests/pillar/client_webdav.sls
Martin Polreich515736d2018-11-28 11:15:27 +010089
Martin Polreich21f23142017-05-16 11:03:46 +020090# vim: ft=yaml sw=2 ts=2 sts=2 tw=125