Skip to content

Commit

Permalink
[CI] Abort image building process if the npcap file non found (#384)
Browse files Browse the repository at this point in the history
  • Loading branch information
pazone authored Jan 25, 2024
1 parent 04c903c commit afadbf3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Makefile.common
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit afadbf3

Please sign in to comment.