]> git.openstreetmap.org Git - chef.git/blobdiff - .kitchen.yml
Enable promscale for tests
[chef.git] / .kitchen.yml
index b7bff87ba97a67189e612ace8da7e18ea9f843cf..ce85f88432d2422c20ee2d8bae99e156c9f32d88 100644 (file)
@@ -1,7 +1,7 @@
 ---
 driver:
   name: dokken
-  chef_version: 16
+  chef_version: 17
   env:
     - container=dokken
 
@@ -18,13 +18,6 @@ verifier:
   sudo: false
 
 platforms:
-  - name: ubuntu-18.04
-    driver:
-      image: dokken/ubuntu-18.04
-      privileged: true
-      pid_one_command: /bin/systemd
-      intermediate_instructions:
-        - RUN /usr/bin/apt-get update -y
   - name: ubuntu-20.04
     driver:
       image: dokken/ubuntu-20.04
@@ -275,6 +268,24 @@ 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]
+    attributes:
+      prometheus:
+        promscale: true
   - name: python
     run_list:
       - recipe[python::default]
@@ -330,6 +341,9 @@ suites:
   - name: tilelog
     run_list:
       - recipe[tilelog::default]
+  - name: timescaledb
+    run_list:
+      - recipe[timescaledb::default]
   - name: tools
     run_list:
       - recipe[tools::default]