d2iq-archive / mesos-dns

DNS-based service discovery for Mesos.
https://mesosphere.github.com/mesos-dns
Apache License 2.0
483 stars 137 forks source link

Simplify gometalinter ci test #462

Closed drewkerrigan closed 8 years ago

drewkerrigan commented 8 years ago
sargun commented 8 years ago

Can we re-enable the tests? And figure out how to solve them rather than just dropping them all? Quite a few of the other linter checks make quite a lot of sense to keep on.

jdef commented 8 years ago

agree with @sargun ; disable-all is a pretty heavy hammer. let's either fix the problems, or put specific disable patterns in there. for example:

gometalinter \
  --vendor --disable=gotype \
  --exclude='cyclomatic complexity .* of function .dnsCharTable.* is high' \
  --concurrency=6 --cyclo-over=12 --tests --deadline=300s ./...
drewkerrigan commented 8 years ago

Yes I agree that's a better approach, I'll modify the check

drewkerrigan commented 8 years ago

CC: @alberts

jdef commented 8 years ago

Would be really nice if we could put all the metalinter excludes in one place, vs having a copy in Jenkinsfile and in the circleci file. If we want to tackle that in a separate PR that's fine, just want to see it in the backlog somewhere if we're not tackling it here

jdef commented 8 years ago

lgtm once tests pass

sargun commented 8 years ago

@drewkerrigan Can you squash your commits and have a single commit with the summary of the changes, and then I'll merge.

sargun commented 8 years ago

LGTM.