]> git.openstreetmap.org Git - chef.git/blobdiff - .kitchen.yml
Merge remote-tracking branch 'github/pull/688'
[chef.git] / .kitchen.yml
index f4a55180f8e23417fb6d1363531dbf8c5e240ded..db96649406dedc96ab79bf139afb7a52cea140cc 100644 (file)
@@ -9,9 +9,9 @@ driver:
   ipv6: true
   ipv6_subnet: "fd95:8552:964c::/64"
   dns:
   ipv6: true
   ipv6_subnet: "fd95:8552:964c::/64"
   dns:
-    - 1.1.1.1
     - 8.8.8.8
     - 8.8.4.4
     - 8.8.8.8
     - 8.8.4.4
+    - 1.1.1.1
     - 1.0.0.1
 
 transport:
     - 1.0.0.1
 
 transport:
@@ -23,6 +23,9 @@ provisioner:
   data_bags_path: test/data_bags
   slow_resource_report: true
   clean_dokken_sandbox: true
   data_bags_path: test/data_bags
   slow_resource_report: true
   clean_dokken_sandbox: true
+  attributes:
+    networking:
+      dnssec: "false" # Disable DNSSEC as occasionally unreliable in GitHub Actions
 
 verifier:
   name: inspec
 
 verifier:
   name: inspec
@@ -38,7 +41,7 @@ platforms:
       intermediate_instructions:
         - RUN /usr/bin/apt-get update -y
         - RUN /usr/bin/apt-get install -y eatmydata
       intermediate_instructions:
         - RUN /usr/bin/apt-get update -y
         - RUN /usr/bin/apt-get install -y eatmydata
-        - RUN echo libeatmydata.so >>/etc/ld.so.preload
+        - RUN echo /usr/lib/$(uname -m)-linux-gnu/libeatmydata.so >>/etc/ld.so.preload
   - name: ubuntu-22.04
     driver:
       image: ghcr.io/test-kitchen/dokken/ubuntu-22.04
   - name: ubuntu-22.04
     driver:
       image: ghcr.io/test-kitchen/dokken/ubuntu-22.04
@@ -47,7 +50,7 @@ platforms:
       intermediate_instructions:
         - RUN /usr/bin/apt-get update -y
         - RUN /usr/bin/apt-get install -y eatmydata
       intermediate_instructions:
         - RUN /usr/bin/apt-get update -y
         - RUN /usr/bin/apt-get install -y eatmydata
-        - RUN echo libeatmydata.so >>/etc/ld.so.preload
+        - RUN echo /usr/lib/$(uname -m)-linux-gnu/libeatmydata.so >>/etc/ld.so.preload
   - name: debian-12
     driver:
       image: ghcr.io/test-kitchen/dokken/debian-12
   - name: debian-12
     driver:
       image: ghcr.io/test-kitchen/dokken/debian-12
@@ -56,7 +59,7 @@ platforms:
       intermediate_instructions:
         - RUN /usr/bin/apt-get update -y
         - RUN /usr/bin/apt-get install -y eatmydata
       intermediate_instructions:
         - RUN /usr/bin/apt-get update -y
         - RUN /usr/bin/apt-get install -y eatmydata
-        - RUN echo libeatmydata.so >>/etc/ld.so.preload
+        - RUN echo /usr/lib/$(uname -m)-linux-gnu/libeatmydata.so >>/etc/ld.so.preload
 
 suites:
   - name: accounts
 
 suites:
   - name: accounts
@@ -68,6 +71,9 @@ suites:
   - name: apt
     run_list:
       - recipe[apt::default]
   - name: apt
     run_list:
       - recipe[apt::default]
+  - name: apt-repository
+    run_list:
+      - recipe[apt::repository]
   - name: awscli
     run_list:
       - recipe[awscli::default]
   - name: awscli
     run_list:
       - recipe[awscli::default]