]> git.openstreetmap.org Git - chef.git/commitdiff
Enabled eatmydata in test kitchen
authorGrant Slater <github@firefishy.com>
Tue, 8 Aug 2023 04:07:55 +0000 (05:07 +0100)
committerGrant Slater <github@firefishy.com>
Tue, 8 Aug 2023 14:33:16 +0000 (15:33 +0100)
.kitchen.yml

index 8e2603d2d32879a541b787b86c949a3eafddde53..cfa87e44bcf72954a05c33dac06e7872a4c6e0bf 100644 (file)
@@ -36,6 +36,8 @@ platforms:
       pid_one_command: /bin/systemd
       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
   - name: ubuntu-22.04
     driver:
       image: dokken/ubuntu-22.04
@@ -43,6 +45,8 @@ platforms:
       pid_one_command: /bin/systemd
       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
   - name: debian-12
     driver:
       image: dokken/debian-12
@@ -50,6 +54,8 @@ platforms:
       pid_one_command: /bin/systemd
       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
 
 suites:
   - name: accounts