Skip to content

Commit

Permalink
kitchen: add suites for metricsport/blackbox exporter with tor stable…
Browse files Browse the repository at this point in the history
… and nightly
  • Loading branch information
nusenu committed Dec 11, 2022
1 parent e565e55 commit 74c3d79
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .kitchen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,23 @@ suites:
- freebsd-13
- freebsd-12
- openbsd7
- name: t-guard-metricsport-blackbox-exporter
provisioner:
playbook: "test/integration/default/guard-metricsport-blackbox.yml"
- name: t-guard-alpha-metricsport-blackbox-exporter
provisioner:
playbook: "test/integration/default/guard-alpha-metricsport-blackbox.yml"
excludes:
- freebsd-13
- freebsd-12
- openbsd7
- name: t-guard-nightly-metricsport-blackbox-exporter
provisioner:
playbook: "test/integration/default/guard-nightly-metricsport-blackbox.yml"
excludes:
- freebsd-13
- freebsd-12
- openbsd7
- name: t-guard-blackbox-exporter
provisioner:
playbook: "test/integration/default/guard-blackbox-exporter.yml"
Expand Down
12 changes: 12 additions & 0 deletions test/integration/default/guard-metricsport-blackbox.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
- hosts: all
vars_files:
- vars/dry-run-vars.yml
vars:
- tor_enableMetricsPort: True
- tor_gen_metricsport_htpasswd: True
- tor_metricsport_nginx_config_file: /tmp/web-reverse-proxy
- tor_gen_blackbox_scrape_config: True
- tor_prometheus_scrape_file: ~/.tor/tor-prometheus-scrape-config_metricsport_and_blackbox_exporter
roles:
- "{{ playbook_dir | regex_replace('test/integration/default$') }}"
13 changes: 13 additions & 0 deletions test/integration/default/guard-nightly-metricsport-blackbox.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
- hosts: all
vars_files:
- vars/dry-run-vars.yml
vars:
- tor_nightly_builds: True
- tor_enableMetricsPort: True
- tor_gen_metricsport_htpasswd: True
- tor_metricsport_nginx_config_file: /tmp/web-reverse-proxy
- tor_gen_blackbox_scrape_config: True
- tor_prometheus_scrape_file: ~/.tor/tor-prometheus-scrape-config_metricsport_and_blackbox_exporter
roles:
- "{{ playbook_dir | regex_replace('test/integration/default$') }}"

0 comments on commit 74c3d79

Please sign in to comment.