Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
apache#506)

* fix sample url using https://github.com/apache/dubbo-go-pixiu-samples.git

* donot replace pixiu/pkg

* samples always run under dubbo-go-pixiu/integrate_test

* fix CI issue

Co-authored-by: mazhihui <mazhihui@baimaohui.net>
  • Loading branch information
ma642 and mazhihui authored Oct 30, 2022
1 parent 2f98cd2 commit d682c6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions start_integrate_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ echo "github pull request base branch -> $3"
echo "github pull request head branch -> ${GITHUB_HEAD_REF}"

echo "use dubbo-go-samples $3 branch for integration testing"
git clone -b main https://github.com/dubbo-go-pixiu/samples.git integrate_samples && cd integrate_samples
git clone -b main https://github.com/apache/dubbo-go-pixiu-samples.git integrate_samples && cd integrate_samples

# update dubbo-go to current commit id
go mod edit -replace=github.com/apache/dubbo-go-pixiu=github.com/"$1"@"$2"

grep -rl "github.com/apache/dubbo-go-pixiu/pkg" | xargs sed -i 's/github.com\/apache\/dubbo-go-pixiu\/pkg\//github.com\/apache\/dubbo-go-pixiu\/pixiu\/pkg\//g'
#grep -rl "github.com/apache/dubbo-go-pixiu/pkg" | xargs sed -i 's/github.com\/apache\/dubbo-go-pixiu\/pkg\//github.com\/apache\/dubbo-go-pixiu\/pixiu\/pkg\//g'

# prepare dependency
go mod tidy
Expand Down

0 comments on commit d682c6a

Please sign in to comment.