blob: 69913c6e7feb522e1cf7705fff9b80c66e08f99a [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 Polreich88287f72019-04-10 08:21:43 +020021 branch: <%=ENV['GERRIT_BRANCH'] || 'master' %>
Martin Polreich21f23142017-05-16 11:03:46 +020022 state_top:
23 base:
24 "*":
25 - backupninja
26 pillars:
27 top.sls:
28 base:
29 "*":
30 - backupninja
31
32verifier:
33 name: inspec
34 sudo: true
35
Martin Polreich515736d2018-11-28 11:15:27 +010036docker_images:
Martin Polreich515736d2018-11-28 11:15:27 +010037 - &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-2017.7
42 driver_config:
43 image: *xenial-20177
44 platform: ubuntu
45
46 - name: xenial-stable
47 driver_config:
48 image: *xenial-stable
Martin Polreich21f23142017-05-16 11:03:46 +020049 platform: ubuntu
50
51suites:
52
Martin Polreich515736d2018-11-28 11:15:27 +010053 - name: server-rdiff
Martin Polreich21f23142017-05-16 11:03:46 +020054 provisioner:
55 pillars-from-files:
Martin Polreich02bb0102017-05-16 13:14:02 +020056 backupninja.sls: tests/pillar/server_rdiff.sls
Martin Polreich21f23142017-05-16 11:03:46 +020057
Martin Polreich515736d2018-11-28 11:15:27 +010058 - name: client-rsync
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/client_rsync.sls
Martin Polreich21f23142017-05-16 11:03:46 +020062
Martin Polreich515736d2018-11-28 11:15:27 +010063 - name: client-rsync-backup-times
Martin Polreich41ee69c2018-03-05 13:17:02 +010064 provisioner:
65 pillars-from-files:
66 backupninja.sls: tests/pillar/client_rsync_backup_times.sls
Martin Polreich515736d2018-11-28 11:15:27 +010067 excludes: xenial-2016.3
Martin Polreich41ee69c2018-03-05 13:17:02 +010068
Martin Polreich515736d2018-11-28 11:15:27 +010069 - name: client-s3
Martin Polreich21f23142017-05-16 11:03:46 +020070 provisioner:
71 pillars-from-files:
Martin Polreich02bb0102017-05-16 13:14:02 +020072 backupninja.sls: tests/pillar/client_s3.sls
Martin Polreich21f23142017-05-16 11:03:46 +020073
Martin Polreich515736d2018-11-28 11:15:27 +010074 - name: client-s3-disabled-auto
Martin Polreich41ee69c2018-03-05 13:17:02 +010075 provisioner:
76 pillars-from-files:
77 backupninja.sls: tests/pillar/client_s3_disabled_auto.sls
Martin Polreich515736d2018-11-28 11:15:27 +010078 excludes: xenial-2016.3
Martin Polreich41ee69c2018-03-05 13:17:02 +010079
Martin Polreich515736d2018-11-28 11:15:27 +010080 - name: client-webdav
Martin Polreich21f23142017-05-16 11:03:46 +020081 provisioner:
82 pillars-from-files:
Martin Polreich02bb0102017-05-16 13:14:02 +020083 backupninja.sls: tests/pillar/client_webdav.sls
Martin Polreich515736d2018-11-28 11:15:27 +010084
Martin Polreich21f23142017-05-16 11:03:46 +020085# vim: ft=yaml sw=2 ts=2 sts=2 tw=125