Hrishikesh Barman
78a9b474d2
building individual binaries with make build ( #5966 )
...
* building individual binaries
Signed-off-by: Hrishikesh Barman <hrishikeshbman@gmail.com>
5 years ago
Ganesh Vernekar
7cf09b0395
Moving tsdb into its own subdirectory
...
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
5 years ago
prombot
0a3c2e33c3
makefile: update Makefile.common with newer version
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
5 years ago
Simon Pasquier
8624913a34
Bump golangci-lint to v1.17.1 ( #5778 )
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
5 years ago
PrometheusBot
ee010e9fab
Synchronize Makefile.common from prometheus/prometheus ( #640 )
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
5 years ago
Simon Pasquier
b3ecdd3f75
Bump promu to v0.5.0
...
It also includes an update of RELEASE.md since this version simplifies a
bit the release process: promu will take care of drafting the GitHub
release.
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
5 years ago
PrometheusBot
d501ae4f6e
makefile: update Makefile.common with newer version ( #638 )
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
5 years ago
Hrishikesh Barman
f40e21bb6b
added dockerfile path and build context ( #5669 )
...
Signed-off-by: Hrishikesh Barman <hrishikeshbman@gmail.com>
5 years ago
PrometheusBot
cb4a085709
Synchronize Makefile.common from prometheus/prometheus ( #632 )
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
6 years ago
Matthias Rampke
ec7db0d541
Work around golangci-lint issues
...
The version on goreleaser is broken and different from the one in
Github: golangci/golangci-lint#575 – use the direct Github URL as a
workaround.
Additionally, the installer script attempts to `install -d /go/bin` on
CircleCI, which doesn't work due to permissions. Patch that line out –
we don't need it because we make sure the directory exists anyway.
Signed-off-by: Matthias Rampke <mr@soundcloud.com>
6 years ago
PrometheusBot
4b9970053f
makefile: update Makefile.common with newer version ( #625 )
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
6 years ago
Hrishikesh Barman
819205ed03
DOCKERFILE_PATH added to Makefile.common ( #5635 )
...
* added dockerfile path to Makefile.common
Signed-off-by: Hrishikesh Barman <hrishikeshbman@gmail.com>
6 years ago
PrometheusBot
63d9c2ab18
makefile: update Makefile.common with newer version ( #603 )
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
6 years ago
Simon Pasquier
20eb23e0ca
Makefile.common: use v0.4.0 of promu ( #5559 )
...
* Makefile.common: use v0.4.0 of promu
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
* Remove installation of github-release
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
PrometheusBot
4da65c46c9
makefile: update Makefile.common with newer version ( #597 )
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
6 years ago
Simon Pasquier
45506841e6
*: enable all default linters ( #5504 )
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
PrometheusBot
a10c001689
Synchronize Makefile.common from prometheus/prometheus ( #591 )
...
* makefile: update Makefile.common with newer version
Signed-off-by: prombot <prometheus-team@googlegroups.com>
* Add .golangci.yml
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
Simon Pasquier
f5d54e5be6
*: enable golangci-lint ( #5437 )
...
* *: enable golangci-lint
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
* Remove freebsd from supported platforms for lint
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
* Update CONTRIBUTING.md
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
* Update CONTRIBUTING.md
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
* Add common-staticcheck for compatibility
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
PrometheusBot
e2c6eb2c60
Synchronize Makefile.common from prometheus/prometheus ( #584 )
...
Propagating changes from master Makefile.common located in prometheus/prometheus.
6 years ago
Johannes Würbach
8dfd829fef
Docker images for ARM32v7 and ARM64v8 ( #5031 )
...
Build and publish ARM32v7 and ARM64v8 docker images.
Signed-off-by: Johannes Würbach <johannes.wuerbach@googlemail.com>
6 years ago
Mario Trangoni
5354ffff99
Fix some spelling issues ( #5361 )
...
See,
$ codespell -S './vendor/*,./.git*,./web/ui/static/vendor*' --ignore-words-list="uint,dur,ue,iff,te,wan"
Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com>
6 years ago
Simon Pasquier
9f8e16248c
Makefile.common: run staticcheck for linux, freebsd and darwin only ( #5331 )
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
Simon Pasquier
84e51f7222
Update Makefile.common ( #548 )
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
Simon Pasquier
b0be270958
Makefile.common: add deps target ( #5339 )
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
Simon Pasquier
08af7bbf90
Add Go 1.12 to Travis CI ( #538 )
...
Also update to the latest version of Makefile.common.
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
Paul Gier
d8c06bb2b7
Makefile.common: update promu to v0.3.0 ( #5280 )
...
Signed-off-by: Paul Gier <pgier@redhat.com>
6 years ago
Krasi Georgiev
8913617a9e
update makefile.common and run make all be default. ( #529 )
...
Signed-off-by: Krasi Georgiev <kgeorgie@redhat.com>
6 years ago
Krasi Georgiev
41dee81554
Makefile.common: add check_license by default. ( #5236 )
6 years ago
Simon Pasquier
fc10f6d814
Unset GO111MODULE variable in Makefile.common ( #5191 )
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
Simon Pasquier
272fd0eabf
Update Makefile.common
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
Simon Pasquier
d5d7a097e1
Update Makefile.common
...
This change also uses the latest staticcheck version which comes with
new verifications, hence some clean up in the code.
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
Simon Pasquier
f678e27eb6
*: use latest release of staticcheck ( #5057 )
...
* *: use latest release of staticcheck
It also fixes a couple of things in the code flagged by the additional
checks.
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
* Use official release of staticcheck
Also run 'go list' before staticcheck to avoid failures when downloading packages.
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
Paul Gier
1ca7037526
the go test -race option is only supported on amd64 ( #4382 )
...
Adds checks for current OS and arch to determine whether the '-race' option
should be used with go test
Signed-off-by: Paul Gier <pgier@redhat.com>
6 years ago
Paul Gier
d55bd57bdc
Makefile.common: fix promu download path for arm32 ( #4998 )
...
Signed-off-by: Paul Gier <pgier@redhat.com>
6 years ago
Simon Pasquier
56cda567d9
Makefile.common: fix format rule ( #4918 )
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
Simon Pasquier
ac9d5f3d53
cmd/prometheus: replace glog by glog-gokit ( #4931 )
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
Ben Kochie
e4a49f1a71
Update Makefile.common ( #4932 )
...
* Fixup PROMU unpack
When setting up promu, use an explicit path, not the `PROMU` variable.
This allows for Makefile override of the PROMU command line flags.
* Use temp dir for unpacking tools.
* Use BSD compatible tar command.
* OpenBSD mkdir doesn't support `-v`.
Signed-off-by: Ben Kochie <superq@gmail.com>
6 years ago
Simon Pasquier
fb32ef6000
Use Go modules ( #454 )
...
* *: support Go modules
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
* Update go.mod and Makefile.common
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
Julius Volz
a8b8a8d5df
Fix .PHONE -> .PHONY typo in Makefile.common ( #4886 )
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
6 years ago
Ben Kochie
b1e779d0ed
Use release binary of promu ( #4843 )
...
Download and extract a release binary of promu, rather than pull from
master.
Signed-off-by: Ben Kochie <superq@gmail.com>
6 years ago
Simon Pasquier
a9ff66427b
Makefile: add precheck target
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
Simon Pasquier
a60d2c152f
Makefile.common: clean up
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
Simon Pasquier
4fc6e22067
Set GO111MODULE when running staticcheck
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
Simon Pasquier
5bd9010196
More updates for libraries
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
Simon Pasquier
be68fb0f30
Update Makefile.common to support libraries
...
Specifically tsdb and client_golang that don't use vendoring.
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
Simon Pasquier
790876da60
go get honnef.co/go/tools/cmd/staticcheck in a temp dir
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
Simon Pasquier
71e0ec7512
improve unused recipe for go modules
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
Simon Pasquier
79e0fb5a3d
Tidy up Makefile.common
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
Simon Pasquier
ac16ef8f0e
Add missing tools.go
...
Also rearrange the code to be more consistent.
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
Simon Pasquier
b9f824e617
try go install honnef.co/tools/cmd/staticcheck
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago