laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/42627?usp=email )
Change subject: tests/fetch_image: add SKIP_FETCH_IMAGE env var ...................................................................... tests/fetch_image: add SKIP_FETCH_IMAGE env var Allow skipping the image fetch logic to let the gerrit job copy the image from another job instead. Related: osmo-ci I736b2b194813e6edff0197145fe08168c3e66903 Change-Id: I9445d6d5e4723bf6a87d4bffcdc638560471328b --- M tests/sysmo-octsim/fetch_image.sh 1 file changed, 7 insertions(+), 1 deletion(-) Approvals: osmith: Verified fixeria: Looks good to me, but someone else must approve laforge: Looks good to me, approved diff --git a/tests/sysmo-octsim/fetch_image.sh b/tests/sysmo-octsim/fetch_image.sh index 119d611..cc673d3 100755 --- a/tests/sysmo-octsim/fetch_image.sh +++ b/tests/sysmo-octsim/fetch_image.sh @@ -2,5 +2,11 @@ . ./test-data echo "fetch image" -wget -O $DFU_IMAGE http://ftp.osmocom.org/binaries/osmo-ccid-firmware/latest/sysmoOCTSIM.bin -nv + +if [ "$SKIP_FETCH_IMAGE" = 1 ]; then + echo "skipping fetch image (SKIP_FETCH_IMAGE=1)" >&2 +else + wget -O $DFU_IMAGE https://ftp.osmocom.org/binaries/osmo-ccid-firmware/latest/sysmoOCTSIM.bin -nv +fi + echo "done" -- To view, visit https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/42627?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: osmo-ccid-firmware Gerrit-Branch: master Gerrit-Change-Id: I9445d6d5e4723bf6a87d4bffcdc638560471328b Gerrit-Change-Number: 42627 Gerrit-PatchSet: 2 Gerrit-Owner: osmith <[email protected]> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <[email protected]> Gerrit-Reviewer: laforge <[email protected]> Gerrit-Reviewer: lynxis lazus <[email protected]> Gerrit-Reviewer: osmith <[email protected]>
