Skip to content
Snippets Groups Projects
Commit 1b9c74fd authored by 邹毅贤's avatar 邹毅贤
Browse files

Fix: integration testing problems

parent 0e20aa46
No related branches found
No related tags found
No related merge requests found
......@@ -29,6 +29,7 @@ ADD . /go/src/github.com/apache/dubbo-go/test/integrate/dubbo/go-client
# update dubbo-go to current commit id
RUN test ${PR_ORIGIN_REPO} && echo "github.com/apache/dubbo-go will be replace to github.com/${PR_ORIGIN_REPO}@${PR_ORIGIN_COMMITID}" || echo 'go get github.com/apache/dubbo-go@develop'
RUN test ${PR_ORIGIN_REPO} && echo "module github.com/apache/dubbo-go/test/integrate/dubbo/go-client" > go.mod
RUN test ${PR_ORIGIN_REPO} && sed -n '2,$p' go.main.mod >> go.mod
RUN test ${PR_ORIGIN_REPO} && go mod edit -replace=github.com/apache/dubbo-go=github.com/${PR_ORIGIN_REPO}@${PR_ORIGIN_COMMITID} || go mod vendor
......
......@@ -29,6 +29,7 @@ ADD . /go/src/github.com/apache/dubbo-go/test/integrate/dubbo/go-server
# update dubbo-go to current commit id
RUN test ${PR_ORIGIN_REPO} && echo "github.com/apache/dubbo-go will be replace to github.com/${PR_ORIGIN_REPO}@${PR_ORIGIN_COMMITID}" || echo 'go get github.com/apache/dubbo-go@develop'
RUN test ${PR_ORIGIN_REPO} && echo "module github.com/apache/dubbo-go/test/integrate/dubbo/go-server" > go.mod
RUN test ${PR_ORIGIN_REPO} && sed -n '2,$p' go.main.mod >> go.mod
RUN test ${PR_ORIGIN_REPO} && go mod edit -replace=github.com/apache/dubbo-go=github.com/${PR_ORIGIN_REPO}@${PR_ORIGIN_COMMITID} || go mod vendor
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment