Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Commit

Permalink
Fix for prerelease extension changes
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesGuthrie committed Sep 20, 2022
1 parent 0d4c2dc commit 510d0b7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
4 changes: 3 additions & 1 deletion docker-compose/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ version: '3.0'

services:
db:
image: timescale/timescaledb-ha:pg14-latest
# TODO (james): replace this when Promscale extension 0.7.0 published
image: ghcr.io/timescale/dev_promscale_extension:jg-time-based-epoch-ts2-pg14
ports:
- 5432:5432/tcp
environment:
Expand Down Expand Up @@ -42,6 +43,7 @@ services:
PROMSCALE_TELEMETRY_TRACE_OTEL_ENDPOINT: "otel-collector:4317"
PROMSCALE_TELEMETRY_TRACE_SAMPLING_RATIO: "0.1"
PROMSCALE_METRICS_RULES_CONFIG_FILE: /prometheus.yml
PROMSCALE_STARTUP_UPGRADE_PRERELEASE_EXTENSIONS: true

otel-collector:
platform: linux/amd64
Expand Down
5 changes: 4 additions & 1 deletion docker-compose/high-availability/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ version: '3.0'

services:
db:
image: timescale/timescaledb-ha:pg14-latest
# TODO (james): replace this when Promscale extension 0.7.0 published
image: ghcr.io/timescale/dev_promscale_extension:jg-time-based-epoch-ts2-pg14
ports:
- 5432:5432/tcp
environment:
Expand Down Expand Up @@ -44,6 +45,7 @@ services:
PROMSCALE_METRICS_HIGH_AVAILABILITY: true
PROMSCALE_DB_URI: postgres://postgres:password@db:5432/postgres?sslmode=allow
PROMSCALE_METRICS_RULES_CONFIG_FILE: /prometheus.yml
PROMSCALE_STARTUP_UPGRADE_PRERELEASE_EXTENSIONS: true

promscale-connector2:
image: timescale/promscale:latest
Expand All @@ -61,6 +63,7 @@ services:
PROMSCALE_METRICS_HIGH_AVAILABILITY: true
PROMSCALE_DB_URI: postgres://postgres:password@db:5432/postgres?sslmode=allow
PROMSCALE_METRICS_RULES_CONFIG_FILE: /prometheus.yml
PROMSCALE_STARTUP_UPGRADE_PRERELEASE_EXTENSIONS: true

node_exporter:
image: quay.io/prometheus/node-exporter
Expand Down
1 change: 1 addition & 0 deletions scripts/end_to_end_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ PROMSCALE_DB_PASSWORD=postgres \
PROMSCALE_DB_NAME=postgres \
PROMSCALE_DB_SSL_MODE=disable \
PROMSCALE_WEB_TELEMETRY_PATH=/metrics \
PROMSCALE_STARTUP_UPGRADE_PRERELEASE_EXTENSIONS=true \
./promscale -startup.only

docker exec e2e-tsdb psql -U postgres -d postgres \
Expand Down

0 comments on commit 510d0b7

Please sign in to comment.