diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2017-06-07 21:06:57 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2017-06-07 21:06:57 +0900 |
commit | 7a34c7c0ed2a7fe332150af7bb001a24c1403969 (patch) | |
tree | fb17b5b17ca89272e8f956dd57ef01aeac8d7ec2 /test/lib | |
parent | d65df0b0452e2acb3234836507ba07107035d572 (diff) |
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 <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'test/lib')
-rw-r--r-- | test/lib/base.py | 2 |
1 files changed, 1 insertions, 1 deletions
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/...' |