containerpilot
containerpilot copied to clipboard
Issue 592 : support service meta data
implementation for service meta data support as described in issue 592 for this i needed to upgrade build dependency to
- upgrade build to go 1.13
- upgrade consul api to ~1.9.0
- upgrade prometheus api to 1.1.0
upgrades are limited to this version because build is still using glide instead of go modules. for further upgrades of prometheus, we need go module migration, which is out of scope for this issue.
this includes some fixes/api changes required in unit/integration testing because of upgraded api's
- fix integration test
- run build with current user uuid/gid so we don't have root owned files which breaks make clean when running on local docker & linux host.
for testing run
make test make integration
test are updated to check & validate service.meta data.
make lint complains about "events.Event composite literal uses unkeyed fields" but haven't change anything around events.