Skip to content

Commit

Permalink
Remove Travis definitions (#41)
Browse files Browse the repository at this point in the history
* Remove Travis definitions

* Test success case

* Run protoc build as part of verification

* No interactive shell on Jenkins

* test failure case

* test passing case
  • Loading branch information
ray-milkey authored Feb 17, 2021
1 parent c70a510 commit b1ec2a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 43 deletions.
40 changes: 0 additions & 40 deletions .travis.yml

This file was deleted.

6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ test: protos golang license_check linters
cd go && go test -race github.com/onosproject/onos-api/go/...

jenkins-test: # @HELP run the unit tests and source code validation producing a junit style report for Jenkins
jenkins-test: build-tools jenkins-tools deps license_check linters
jenkins-test: build-tools jenkins-tools deps test
export TEST_PACKAGES=github.com/onosproject/onos-api/go/... && cd go && ./../../build-tools/build/jenkins/make-unit
mv go/*.xml .

Expand All @@ -39,13 +39,13 @@ license_check: build-tools # @HELP examine and ensure license headers exist
./../build-tools/licensing/boilerplate.py -v --rootdir=/go/src/github.com/onosproject/onos-api/proto

buflint: #@HELP run the "buf check lint" command on the proto files in 'api'
docker run -it -v `pwd`:/go/src/github.com/onosproject/onos-api \
docker run -v `pwd`:/go/src/github.com/onosproject/onos-api \
-w /go/src/github.com/onosproject/onos-api \
bufbuild/buf:${BUF_VERSION} check lint

protos: # @HELP compile the protobuf files (using protoc-go Docker)
protos:
docker run -it \
docker run \
-v `pwd`:/onos-api \
-w /onos-api \
--entrypoint build/bin/compile-protos.sh \
Expand Down

0 comments on commit b1ec2a2

Please sign in to comment.