Skip to content
This repository was archived by the owner on Dec 2, 2021. It is now read-only.

Commit b19d403

Browse files
Run ci with go 1.13.15
Signed-off-by: Swetha Repakula <[email protected]>
1 parent f2c5b5a commit b19d403

File tree

6 files changed

+10
-12
lines changed

6 files changed

+10
-12
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ gotools: gotools-install
5555
unit-test: gotool.ginkgo
5656
@echo "Running unit-tests"
5757
ginkgo -p -randomizeAllSpecs -randomizeSuites -requireSuite -noColor -keepGoing -race -r evmcc
58-
cd fab3 && GO111MODULE=on ginkgo -p -randomizeAllSpecs -randomizeSuites -requireSuite -noColor -keepGoing -race -r
58+
cd fab3 && ginkgo -p -randomizeAllSpecs -randomizeSuites -requireSuite -noColor -keepGoing -race -r
5959

6060
unit-tests: unit-test
6161

@@ -81,6 +81,7 @@ docker-images:
8181
done
8282
@docker inspect hyperledger/fabric-javaenv:amd64-latest --format ' ' || \
8383
echo "tag javaenv" && docker tag busybox hyperledger/fabric-javaenv:amd64-latest
84+
docker pull hyperledger/fabric-ccenv:1.4 && docker tag hyperledger/fabric-ccenv:1.4 hyperledger/fabric-ccenv:amd64-latest
8485

8586
.PHONY: integration-test
8687
integration-test: docker-images gotool.ginkgo

ci/azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ pr:
1111
variables:
1212
GOPATH: $(Agent.BuildDirectory)/go
1313
PATH: $(Agent.BuildDirectory)/go/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin
14-
GO_VER: 1.11.13
14+
GO_VER: 1.13.15
1515
NODE_VER: 8.11.3
1616

1717
jobs:

evmcc/go.mod

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ require (
2323
github.com/tmthrgd/go-hex v0.0.0-20190904060850-447a3041c3bc // indirect
2424
golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550
2525
golang.org/x/sys v0.0.0-20191020212454-3e7259c5e7c2 // indirect
26-
google.golang.org/appengine v1.4.0 // indirect
2726
google.golang.org/grpc v1.24.0 // indirect
2827
)
28+
29+
go 1.13

fab3/go.mod

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,5 @@ require (
2626
replace github.com/hyperledger/fabric-chaincode-evm/evmcc => ../evmcc
2727

2828
replace github.com/go-kit/kit => github.com/go-kit/kit v0.8.0
29+
30+
go 1.13

gotools.mk

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ BUILD_DIR ?= .build
88
GOTOOLS_GOPATH ?= $(BUILD_DIR)/gotools
99
GOTOOLS_BINDIR ?= $(firstword $(subst :, ,$(GOPATH)))/bin
1010
GOROOT ?= $(firstword $(subst :, ,$(GOPATH))
11-
GO111MODULE=off
1211
1312
# go tool->path mapping
1413
go.fqp.counterfeiter := github.com/maxbrunsfeld/counterfeiter
@@ -23,16 +22,16 @@ gotools-clean:
2322
-@rm -rf $(BUILD_DIR)/gotools
2423
2524
# Special override for ginkgo since we want to use the version vendored with the project
26-
gotool.ginkgo: GINKGO_VERSION ?= "v1.10.2"
25+
gotool.ginkgo: GINKGO_VERSION ?= "v1.11.0"
2726
gotool.ginkgo:
2827
@GOPATH=$(abspath $(GOTOOLS_GOPATH)) go get -d -u github.com/onsi/ginkgo
2928
@git -C $(abspath $(GOTOOLS_GOPATH))/src/github.com/onsi/ginkgo checkout -q $(GINKGO_VERSION)
3029
@echo "Building github.com/onsi/ginkgo/ginkgo $(GINKGO_VERSION)-> ginkgo"
31-
@GOPATH=$(abspath $(GOTOOLS_GOPATH)) GOBIN=$(abspath $(GOTOOLS_BINDIR)) go install -ldflags="-X main.version=$(GINKGO_VERSION) -X main.buildDate=$$(date '+%Y-%m-%d')" github.com/onsi/ginkgo/ginkgo
30+
@GOPATH=$(abspath $(GOTOOLS_GOPATH)) GOBIN=$(abspath $(GOTOOLS_BINDIR)) GO111MODULE=on go install -ldflags="-X main.version=$(GINKGO_VERSION) -X main.buildDate=$$(date '+%Y-%m-%d')" github.com/onsi/ginkgo/ginkgo
3231
# reset to a branch, so that the next time this target is run, go get starts on a branch, as it must
3332
@git -C $(abspath $(GOTOOLS_GOPATH))/src/github.com/onsi/ginkgo/ checkout -q master
3433
35-
gotool.counterfeiter: COUNTERFEITER_VERSION ?= "v6.0.1"
34+
gotool.counterfeiter: COUNTERFEITER_VERSION ?= "v6.3.0"
3635
gotool.counterfeiter:
3736
@GOPATH=$(abspath $(GOTOOLS_GOPATH)) go get -d -u ${go.fqp.counterfeiter}
3837
@git -C $(abspath $(GOTOOLS_GOPATH))/src/${go.fqp.counterfeiter} checkout -q $(COUNTERFEITER_VERSION)

scripts/run-integration-tests.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,6 @@ main() {
4848
fi
4949
fi
5050

51-
echo "Building CCENV image"
52-
pushd ${FABRIC_DIR}
53-
make ccenv CHAINTOOL_URL='https://hyperledger.jfrog.io/hyperledger/fabric-maven/org/hyperledger/fabric-chaintool/$(CHAINTOOL_RELEASE)/fabric-chaintool-$(CHAINTOOL_RELEASE).jar'
54-
popd
55-
5651
echo "Running integration tests..."
5752
ginkgo -noColor -randomizeAllSpecs -race -keepGoing --slowSpecThreshold 80 -r "${dirs[@]}"
5853
}

0 commit comments

Comments
 (0)