Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
2
22a7f0099
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Summer2022
22a7f0099
Commits
137142c0
Commit
137142c0
authored
4 years ago
by
scott.wang
Browse files
Options
Downloads
Patches
Plain Diff
Fix dockerfile mistake, and fast fail
parent
1f52032e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.travis.yml
+9
-0
9 additions, 0 deletions
.travis.yml
test/integrate/dubbo/go-client/Dockerfile
+2
-3
2 additions, 3 deletions
test/integrate/dubbo/go-client/Dockerfile
test/integrate/dubbo/go-server/Dockerfile
+2
-3
2 additions, 3 deletions
test/integrate/dubbo/go-server/Dockerfile
with
13 additions
and
6 deletions
.travis.yml
+
9
−
0
View file @
137142c0
...
...
@@ -18,6 +18,15 @@ script:
-
COMMITID=$(git rev-parse HEAD)
# license-check
# start zookeeper registry insecure listen in [:]:2181
-
echo 'start integrate-test'
# start zookeeper registry insecure listen in [:]:2181
-
docker run -d --network host zookeeper
-
ROOTDIR=$(pwd)
-
cd ./test/integrate/dubbo/go-client && docker build . -t ci-consumer --build-arg COMMITID=${COMMITID} && cd $ROOTDIR
-
cd ./test/integrate/dubbo/go-server && docker build . -t ci-provider --build-arg COMMITID=${COMMITID} && cd $ROOTDIR
-
docker run -d --network host ci-provider
-
docker run -it --network host ci-consumer
-
exit
0
-
echo 'start license check'
-
go fmt ./... && [[ -z `git status -s` ]]
-
sh before_validate_license.sh
...
...
This diff is collapsed.
Click to expand it.
test/integrate/dubbo/go-client/Dockerfile
+
2
−
3
View file @
137142c0
...
...
@@ -10,9 +10,8 @@ ENV APP_LOG_CONF_FILE "log.yml"
ARG
COMMITID
ADD
. /go/src/github.com/apache/dubbo-go/test/integrate/dubbo/go-client
RUN
go get
-u
github.com/apache/dubbo-go@ARG
# update dubbo-go to current commit id
RUN
go get
-u
github.com/apache/dubbo-go@
${
COMMITID
}
RUN
go
install
github.com/apache/dubbo-go/test/integrate/dubbo/go-client
CMD
go-client
\ No newline at end of file
This diff is collapsed.
Click to expand it.
test/integrate/dubbo/go-server/Dockerfile
+
2
−
3
View file @
137142c0
...
...
@@ -10,9 +10,8 @@ ENV APP_LOG_CONF_FILE "log.yml"
ARG
COMMITID
ADD
. /go/src/github.com/apache/dubbo-go/test/integrate/dubbo/go-server
RUN
go get
-u
github.com/apache/dubbo-go@ARG
# update dubbo-go to current commit id
RUN
go get
-u
github.com/apache/dubbo-go@
${
COMMITID
}
RUN
go
install
github.com/apache/dubbo-go/test/integrate/dubbo/go-server
CMD
go-server
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment