From ef7893c946edf89c69453d17347d973f282ebd84 Mon Sep 17 00:00:00 2001 From: Bryan Gurney Date: Wed, 3 Jan 2024 10:25:00 -0500 Subject: [PATCH] fedora_karmatest: Use submodule for libcryptsetup-rs repo Signed-off-by: Bryan Gurney --- fedora_karma_test/stratis_fedora_karmatest.sh | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/fedora_karma_test/stratis_fedora_karmatest.sh b/fedora_karma_test/stratis_fedora_karmatest.sh index 32a7ba9..94020a1 100644 --- a/fedora_karma_test/stratis_fedora_karmatest.sh +++ b/fedora_karma_test/stratis_fedora_karmatest.sh @@ -6,15 +6,25 @@ for repo in stratisd devicemapper-rs libcryptsetup-rs libblkid-rs; do echo $repo git clone https://github.com/stratis-storage/$repo cd $repo - if [ $repo != 'stratisd' ]; then + case $repo in + stratisd) + make clippy + make fmt-ci + make build-all-rust + ;; + libcryptsetup-rs) + git submodule init + git submodule update make clippy make fmt-ci make build - else + ;; + *) make clippy make fmt-ci - make build-all-rust - fi + make build + ;; + esac cd .. done