From 7a34c7c0ed2a7fe332150af7bb001a24c1403969 Mon Sep 17 00:00:00 2001 From: FUJITA Tomonori Date: Wed, 7 Jun 2017 21:06:57 +0900 Subject: test: ignore the failure of caching dependeny with building docker image `go get -d github.com/osrg/gobgp/...` could fail (e.g., an imported library has gone). After that, we build a docker image from modified source code. Signed-off-by: FUJITA Tomonori --- test/lib/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/lib/base.py b/test/lib/base.py index 907050bc..0421e9d7 100644 --- a/test/lib/base.py +++ b/test/lib/base.py @@ -103,7 +103,7 @@ def make_gobgp_ctn(tag='gobgp', local_gobgp_path='', from_image='osrg/quagga'): c = CmdBuffer() c << 'FROM {0}'.format(from_image) - c << 'RUN go get -d github.com/osrg/gobgp/...' + c << 'RUN go get -d github.com/osrg/gobgp/...; exit 0' c << 'RUN rm -rf /go/src/github.com/osrg/gobgp' c << 'ADD gobgp /go/src/github.com/osrg/gobgp/' c << 'RUN go get github.com/osrg/gobgp/...' -- cgit v1.2.3