]> git.openstreetmap.org Git - chef.git/blobdiff - .kitchen.yml
Publish site uplink interface name as a prometheus metric
[chef.git] / .kitchen.yml
index 17d9839f6080f4b134af0ca6785d1d5205c2c6be..35e9ba62d0760869350ac7ec9a4a5e648f41e575 100644 (file)
@@ -1,7 +1,7 @@
 ---
 driver:
   name: dokken
-  chef_version: 15
+  chef_version: 16
   env:
     - container=dokken
 
@@ -18,9 +18,9 @@ verifier:
   sudo: false
 
 platforms:
-  - name: ubuntu-18.04
+  - name: ubuntu-20.04
     driver:
-      image: dokken/ubuntu-18.04
+      image: dokken/ubuntu-20.04
       privileged: true
       pid_one_command: /bin/systemd
       intermediate_instructions:
@@ -268,6 +268,21 @@ suites:
       postgresql:
         versions:
           - 10
+  - name: prometheus
+    run_list:
+      - recipe[prometheus::default]
+    attributes:
+      networking:
+        interfaces:
+          test:
+            interface: eth0
+            role: internal
+            address: 172.18.0.2
+            prefix: 16
+            gateway: 172.18.0.1
+  - name: prometheus-server
+    run_list:
+      - recipe[prometheus::server]
   - name: python
     run_list:
       - recipe[python::default]
@@ -323,6 +338,9 @@ suites:
   - name: tilelog
     run_list:
       - recipe[tilelog::default]
+  - name: timescaledb
+    run_list:
+      - recipe[timescaledb::default]
   - name: tools
     run_list:
       - recipe[tools::default]