From afadbf30a448e113592897652a5d159612ed2b9f Mon Sep 17 00:00:00 2001 From: Pavel Zorin Date: Thu, 25 Jan 2024 16:48:25 +0000 Subject: [PATCH] [CI] Abort image building process if the npcap file non found (#384) --- Makefile.common | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Makefile.common b/Makefile.common index c2246a79..e2a52e49 100644 --- a/Makefile.common +++ b/Makefile.common @@ -17,11 +17,9 @@ endif endif # Requires login at google storage. -copy-npcap: status=".status.copy-npcap" copy-npcap: - @echo '0' > ${status} ifeq ($(CI),true) - @gsutil cp gs://$(GS_BUCKET_PATH)/private/$(NPCAP_FILE) ../npcap/lib/$(NPCAP_FILE) || echo '1' > ${status} + @gsutil cp gs://$(GS_BUCKET_PATH)/private/$(NPCAP_FILE) ../npcap/lib/$(NPCAP_FILE) else @echo 'Only available if running in the CI' endif