From 27280cf8a67a26f75d96dd5d11d29c164870dad5 Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Thu, 21 Jul 2022 21:38:07 +0000 Subject: [PATCH] gear: Be sure to run datasource before install Seems in certain condition the datasource is kicking late and serving the datasource not fast as wanted. We make sure to pull it before install, so we also give chance to convoluted setups to pull configs. Also wires up autoinstall tests to CI --- Earthfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Earthfile b/Earthfile index af8efa8..ebd20f5 100644 --- a/Earthfile +++ b/Earthfile @@ -363,9 +363,11 @@ datasource-iso: WORKDIR /build RUN touch meta-data COPY ./${CLOUD_CONFIG} user-data + RUN cat user-data RUN mkisofs -output ci.iso -volid cidata -joliet -rock user-data meta-data SAVE ARTIFACT /build/ci.iso iso.iso AS LOCAL build/datasource.iso +# usage e.g. ./earthly.sh +run-qemu-tests --FLAVOR=alpine --FROM_ARTIFACTS=true run-qemu-tests: FROM opensuse/leap WORKDIR /test