Ben Kochie
b67b69acd3
Update for Prometheus Community
...
Add standard Prometheus build setup
* CircleCI config
* Makefile
* Go modules
* Golang-CI Lint
* promu config
* Remove /vendor
* Remove mage build
* Update READMEs
https://github.com/prometheus-community/postgres_exporter/issues/478
Signed-off-by: Ben Kochie <superq@gmail.com>
2021-02-23 10:51:33 +01:00
Will Rouesnel
43072ddaa7
Improve support code quality.
2018-11-11 15:07:07 +11:00
Will Rouesnel
2148f3518f
Fix Makefile to produce .exe binaries for Windows.
...
Closes #145
2018-02-19 22:49:08 +10:00
Will Rouesnel
5b9fea01ee
Add cross-compilation Makefile targets and tar-based releases.
...
Revamp the build system to be more inline with other Prometheus exporters.
Notably add Darwin and Windows build targets, and add support for releases
using tar files.
2017-11-30 13:17:13 +10:00
Will Rouesnel
97708205f6
Fix regression where failed tests would still leave passing builds.
2017-10-23 16:20:33 +11:00
Matthias Berkenkamp
6e3d130f40
fix shell usage in make file
2017-09-20 21:24:32 +10:00
Matthias Berkenkamp
4bee618699
add coverage folder
2017-09-20 21:24:32 +10:00
Matthias Berkenkamp
5a4b1a5f81
try to fix coverage location in travis
2017-09-20 21:24:32 +10:00
Will Rouesnel
801793e185
Update .travis.yml.
2017-06-07 00:53:19 +10:00
Will Rouesnel
8a1a12fd05
Update Makefile test handling.
2017-06-07 00:53:19 +10:00
Will Rouesnel
e2b6c973a1
Add self-contained gometalinter build tooling.
2017-06-07 00:53:19 +10:00
Will Rouesnel
ff8e0c5382
Add coverage and code quality badges.
2017-02-25 01:18:27 +11:00
Jim Tilander
f5f7d836f5
Removed dependency on local build
2017-02-17 01:10:13 +11:00
Jim Tilander
03ee288c3a
Added a cross compilation target as well as push
2017-02-17 01:10:13 +11:00
Will Rouesnel
3ead0f9aff
Add a test case to detect regression on issue fixed by PR #39 .
...
Related issue is #38 . Time to start expanding functional test coverage since
the integration tests missed this.
2016-11-29 02:32:23 +11:00
Will Rouesnel
be1a76b167
Tests passing for PostgreSQL 9.1. Set semantic version in filename.
2016-11-18 02:26:33 +11:00
Will Rouesnel
045ae96430
Implement the compileable source code of the basic integration test suite.
...
This is the first step in moving the integration test suite to a more
reliable Golang based one.
2016-11-17 03:09:20 +11:00
Will Rouesnel
53ad0efbbb
Add docker-compose and replication environment tests to the smoke-tests.
...
Use docker-compose and p2 to setup a replicated environment for each
version of PostgreSQL we want to support.
Still missing: key-specific tests to ensure each version doesn't lose
metrics.
2016-11-17 02:00:42 +11:00
Will Rouesnel
db37da547e
Make the makefile less Linux specific (find on OSX complains apparently).
2016-09-09 01:15:01 +10:00
Will Rouesnel
5fec9aacab
Fix docker build steps.
...
Docker 1.12 completely broke setting entrypoints on import, so we need to
switch to using an actual Dockerfile.
2016-09-09 00:56:57 +10:00
Will Rouesnel
8cca2a59a5
Add docker based integration test suite.
...
This simply pulls and runs postgres against a number of versions and checks
that we can successfully connect to it.
2016-07-16 12:41:34 +10:00
Will Rouesnel
2711bd78d3
Modifications to setup .travis.yml and builds.
2016-05-28 14:31:43 +10:00
Will Rouesnel
054d825c7d
Vendor all dependencies, add docker build to makefile.
...
Vendor and store all dependencies. This allows us to have a makefile which
builds to a minimized docker image.
2016-03-12 21:16:17 +11:00
Will Rouesnel
2a08787a90
Compiling version of the postgres_exporter.
...
This is based on the mysqld_exporter, but drastically changes how metrics are
discovered and enumerated since postgres already very closely follows the
Prometheus format.
2015-08-25 03:28:41 +10:00