• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ligato / vpp-agent / 3192
57%
master: 53%

Build:
Build:
LAST BUILD BRANCH: v3.3.0-alpha
DEFAULT BRANCH: master
Ran 30 Oct 2019 11:02AM UTC
Jobs 1
Files 348
Run time 22s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

30 Oct 2019 10:53AM UTC coverage: 58.119% (-0.02%) from 58.135%
3192

push

travis-ci-com

VladoLavor
Migrate to Go modules and vanity import path + organize proto files (#1541)

* Convert to "go mod" mechanism for importing modules.

Rather than embed the full vendor/ dependency tree, manage
it using "go mod" and fetch it as needed.  Remove references
to the vendor/ directory from Makefile, Dockerfile, and scripts.

Signed-off-by: Jon Loeliger <jdl@netgate.com>

* Remove the entire vendor/ subdirectory.

With the use of "go mod", the vendor/ tree is not needed.

Signed-off-by: Jon Loeliger <jdl@netgate.com>

* Update generated protobuf files after 'go mod' change.

Signed-off-by: Jon Loeliger <jdl@netgate.com>

* fix: Register proto files with complete prefix to match imports

This involves little bit of extra setup before generating proto files.
Before generating, in the temp dir, symlink is used to force protoc to
include full prefix 'ligato/vpp-agent/' for registrating files to:
- make imports in proto files more clear
- provide more context to proto descriptors to identify messages and services
- prevent conflicts in other projects (proto does not check files for duplicate registration!)
- make grpc reflection work properly out of the box

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Cache downloaded modules

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Fix modules

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Remove usage of tree command

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Use vanity import path

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Use buf for protobuf files

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Proper proto package names

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Use latest major go version for travis

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Regenerate proto files

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Remove tree command

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>

* Update proto files

... (continued)

21830 of 37561 relevant lines covered (58.12%)

12.94 hits per line

Jobs
ID Job ID Ran Files Coverage
5 3192.5 30 Oct 2019 11:02AM UTC 0
58.12
Travis Job 3192.5
Source Files on build 3192
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #3192
  • b162810f on github
  • Prev Build on dev (#3191)
  • Next Build on dev (#3193)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc