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

Run CI with go 1.13.15 #37

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

swetharepakula
Copy link
Contributor

No description provided.

@swetharepakula swetharepakula requested a review from a team March 21, 2021 04:36
@swetharepakula swetharepakula force-pushed the upgrade-go-version branch 8 times, most recently from d6f8e66 to 516b780 Compare March 21, 2021 06:37
 - use fabric `release-1.4` branch to pull in fix for nexus repo change
 required to build fabric components

Signed-off-by: Swetha Repakula <swetha.repakula@gmail.com>
@swetharepakula swetharepakula force-pushed the upgrade-go-version branch 2 times, most recently from b19d403 to ccc26e2 Compare March 21, 2021 07:32
Signed-off-by: Swetha Repakula <swetha.repakula@gmail.com>
@MHBauer
Copy link
Contributor

MHBauer commented Mar 22, 2021

Definitely confusing for the integration tests.

I see

[BeforeSuite] BeforeSuite 
/home/vsts/work/1/go/src/github.com/hyperledger/fabric-chaincode-evm/integration/e2e/e2e_suite_test.go:27

  missing required image: hyperledger/fabric-ccenv:amd64-latest

  /home/vsts/work/1/go/src/github.com/hyperledger/fabric-chaincode-evm/integration/vendor/github.com/hyperledger/fabric/integration/nwo/components.go:32

but above that it prints out that image

hyperledger/fabric-ccenv                             amd64-latest                    9452dfa86987   Less than a second ago   1.42GB

Rumor was it worked locally?

MHBauer
MHBauer previously approved these changes Mar 22, 2021
Copy link
Contributor

@MHBauer MHBauer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pretty much fine. Nits only if you want to address.

Not sure how to get the integration working from a quick look.

@@ -73,6 +73,7 @@ var _ = SynchronizedBeforeSuite(func() []byte {
By("setting up the channel")
network.CreateAndJoinChannel(orderer, channelName)
network.UpdateChannelAnchors(orderer, channelName)
network.EventuallyTimeout = 2 * time.Minute
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bigger timeouts? Things going slower?

echo "Please switch Fabric Repository to tag v1.4.0 before running these tests"
FABRIC_VERSION=$(git -C ${FABRIC_DIR} rev-parse --abbrev-ref HEAD)
if [[ ${FABRIC_VERSION} != "release-1.4" ]]; then
echo "Please switch Fabric Repository to release v1.4.0 before running these tests, it currently is on ${FABRIC_VERSION}"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this have to match exactly the branch name?

If so, the echo Error message should update to say "branch relaese-1.4".

pr:
- master
- main
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would suggest pulling this out into a spearate pr, but we're probably in a broken state until it gets done.

Add a Comment in the commit message.

Need a follow up issue, for revising the documentation where the default branch name shows up.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like #36 does most of that

@MHBauer
Copy link
Contributor

MHBauer commented Mar 22, 2021

Oh, I see, this is a stack on #38

@@ -53,6 +53,7 @@ main() {
make ccenv CHAINTOOL_URL='https://hyperledger.jfrog.io/hyperledger/fabric-maven/org/hyperledger/fabric-chaintool/$(CHAINTOOL_RELEASE)/fabric-chaintool-$(CHAINTOOL_RELEASE).jar'
popd

echo "$(docker images)"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thx, good output.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
2 participants