From: Jörg Behrmann Date: Thu, 1 Aug 2024 07:53:38 +0000 (+0200) Subject: ci: add nop versions of all scripts to our integration tests X-Git-Tag: v25~377 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cfdcfca4a526f855d718fcf6cb1efcf863c88baf;p=thirdparty%2Fmkosi.git ci: add nop versions of all scripts to our integration tests --- diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3f71fe4f6..19ae998a7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -162,6 +162,24 @@ jobs: DefaultDeviceTimeoutSec=180 EOF + # fail if the script already exists, to avoid hard to debug CI errors + [[ -f mkosi.configure ]] && exit 1 + tee mkosi.configure <&2 + cat + EOF + chmod +x mkosi.configure + + # prepare and postinst are already used in CI + for script in sync build finalize postoutput clean + do + [[ -f "mkosi.${script}" ]] && exit 1 + tee "mkosi.${script}" <&2 + TOK + chmod +x "mkosi.${script}" + done + - name: Run integration tests run: | sudo --preserve-env \