f3b0b94020
Change-Id: Ieaaba3f1a550e456914d160e5930077986fdbe50
56 lines
1.1 KiB
YAML
56 lines
1.1 KiB
YAML
---
|
|
driver:
|
|
name: docker
|
|
hostname: prometheus.ci.local
|
|
use_sudo: false
|
|
|
|
provisioner:
|
|
name: salt_solo
|
|
salt_install: bootstrap
|
|
salt_bootstrap_url: https://bootstrap.saltstack.com
|
|
salt_version: latest
|
|
require_chef: false
|
|
log_level: error
|
|
formula: prometheus
|
|
grains:
|
|
noservices: True
|
|
state_top:
|
|
base:
|
|
"*":
|
|
- prometheus
|
|
pillars:
|
|
top.sls:
|
|
base:
|
|
"*":
|
|
- prometheus
|
|
|
|
verifier:
|
|
name: inspec
|
|
sudo: true
|
|
|
|
|
|
platforms:
|
|
- name: <%=ENV['PLATFORM'] || 'saltstack-ubuntu-xenial-salt-stable' %>
|
|
driver_config:
|
|
image: <%=ENV['PLATFORM'] || 'epcim/salt-formulas:saltstack-ubuntu-xenial-salt-stable'%>
|
|
platform: ubuntu
|
|
|
|
suites:
|
|
|
|
- name: alertmanager
|
|
provisioner:
|
|
pillars-from-files:
|
|
prometheus.sls: tests/pillar/alertmanager.sls
|
|
|
|
## Pushgateway not ready yet
|
|
# - name: pushgateway_complex
|
|
# provisioner:
|
|
# pillars-from-files:
|
|
# prometheus.sls: tests/pillar/pushgateway_complex.sls
|
|
|
|
- name: server
|
|
provisioner:
|
|
pillars-from-files:
|
|
prometheus.sls: tests/pillar/server.sls
|
|
|
|
# vim: ft=yaml sw=2 ts=2 sts=2 tw=125
|