Skip to content
This repository was archived by the owner on Jul 1, 2024. It is now read-only.

Commit 3dad304

Browse files
Remove use of dep and update version of Go to Go 1.13 (#8)
Remove use of `dep` and update version of Go to Go 1.13. The `stellar/go` repo was changed in stellar/go#1542 to use the build-in Go Modules instead of Dep for dependency management. The standard `go` commands can now be relied on for downloading and installing dependencies without any need to run any additional commands like we had to with Dep. Go 1.13 is the latest version of Go and we should use it for these tests since the repository no longer supports Go 1.10.
1 parent 4c8d86f commit 3dad304

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

container/dependencies.sh

+2-3
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,9 @@ apt-get install -y git mercurial gcc curl postgresql openssl
55

66
wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.33.1/install.sh | bash
77

8-
wget -nv https://storage.googleapis.com/golang/go1.10.linux-amd64.tar.gz
9-
tar xf go1.10.linux-amd64.tar.gz
8+
wget -nv https://dl.google.com/go/go1.13.linux-amd64.tar.gz
9+
tar xf go1.13.linux-amd64.tar.gz
1010
mv go /usr/local
1111

1212
mkdir -p /.gopath/bin
1313
mkdir -p /.gopath/src
14-
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh

container/start.sh

-3
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ function download_bridge() {
1919
mkdir -p $MONOREPO
2020
git clone https://github.com/stellar/go $MONOREPO
2121
cd $MONOREPO
22-
dep ensure -v
2322
go build -v ./services/bridge
2423
go build -v ./services/compliance
2524
cd -
@@ -34,7 +33,6 @@ function download_bridge() {
3433
cd $MONOREPO
3534
git checkout release-bridge-$RC_VERSION
3635
git pull
37-
dep ensure -v
3836
go build -v ./services/bridge
3937
cd -
4038
# Move binaries to home dir
@@ -44,7 +42,6 @@ function download_bridge() {
4442
cd $MONOREPO
4543
git checkout release-compliance-$RC_VERSION
4644
git pull
47-
dep ensure -v
4845
go build -v ./services/compliance
4946
cd -
5047
# Move binaries to home dir

0 commit comments

Comments
 (0)