summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@gmail.com>2019-04-04 20:39:38 +0900
committerFUJITA Tomonori <fujita.tomonori@gmail.com>2019-04-04 21:33:20 +0900
commit2203e7640b7c5d37555ceb26d08870970cf54708 (patch)
tree9bd4018e382561fa3758756e9f85e90b6a3b4076 /test
parent0ef2ef26aac46845f2a483b4725cbf2c1243cd63 (diff)
test: switch to module from dep completely
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
Diffstat (limited to 'test')
-rw-r--r--test/lib/base.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/lib/base.py b/test/lib/base.py
index b8a40050..6ae99e4c 100644
--- a/test/lib/base.py
+++ b/test/lib/base.py
@@ -164,10 +164,9 @@ 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 -u github.com/golang/dep/cmd/dep'
- c << 'RUN mkdir -p /go/src/github.com/osrg/'
- c << 'ADD gobgp /go/src/github.com/osrg/gobgp/'
- c << 'RUN cd /go/src/github.com/osrg/gobgp && dep ensure && go install ./cmd/gobgpd ./cmd/gobgp'
+ c << 'ENV GO111MODULE on'
+ c << 'ADD gobgp /tmp/gobgp'
+ c << 'RUN cd /tmp/gobgp && go install ./cmd/gobgpd ./cmd/gobgp'
rindex = local_gobgp_path.rindex('gobgp')
if rindex < 0: