From da785217cebab3624ebf5d429f06bf22d4bae890 Mon Sep 17 00:00:00 2001 From: Juraj Bubniak Date: Mon, 30 Dec 2019 09:03:33 +0100 Subject: [PATCH] Update CHANGELOG for 0.5.0. --- CHANGELOG.md | 12 ++++-------- docker-compose.yml | 7 ++++++- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c2d61ea..7bbb034 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,18 +1,14 @@ -## 0.5.2 - -* Do not use draft release in goreleaser. - -## 0.5.1 - -* Use docker skip_push auto in goreleaser. - ## 0.5.0 * Build with Go 1.13. +* Use sqlx.Open instead of sqlx.Connect to skip calling Ping. +* Use custom query in store.Check. +* Check store on startup. * Add docker compose for testing. * Update to github.com/urfave/cli/v2. * Bump github.com/prometheus/client_golang to v1.3.0. * Bump github.com/lib/pq to v1.3.0. +* Update goreleaser config to support latest version. ## 0.4.0 diff --git a/docker-compose.yml b/docker-compose.yml index 6b00ee7..0cd00e2 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -17,11 +17,16 @@ services: CONF__PGBOUNCER__POOL_MODE: "transaction" CONF__PGBOUNCER__STATS_USERS: "postgres" CONF__PGBOUNCER__IGNORE_STARTUP_PARAMETERS: "extra_float_digits" + depends_on: + - postgres pgbouncerexporter: - image: "jbub/pgbouncer_exporter:v0.4.0" + build: + context: . restart: always ports: - "9127:9127" environment: DATABASE_URL: "postgres://postgres:postgres@pgbouncer:5432/pgbouncer?sslmode=disable&binary_parameters=yes" + depends_on: + - pgbouncer