From ba0ac1977e44790420e870ca14c215b17b67da3d Mon Sep 17 00:00:00 2001 From: Artem Date: Wed, 16 Oct 2024 15:02:05 +0300 Subject: [PATCH] Build: update timescale --- docker-compose.yml | 2 +- internal/storage/postgres/block_stats_test.go | 2 +- internal/storage/postgres/stats_test.go | 2 +- internal/storage/postgres/storage_test.go | 2 +- internal/storage/postgres/transaction_test.go | 2 +- pkg/indexer/rollback/rollback_test.go | 2 +- pkg/indexer/storage/storage_test.go | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 05d77d10..4669a8cb 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -46,7 +46,7 @@ services: command: - -cshared_preload_libraries=timescaledb,pg_stat_statements - -cpg_stat_statements.track=all - image: timescale/timescaledb-ha:pg15-latest + image: timescale/timescaledb-ha:pg15.8-ts2.17.0-all restart: always volumes: - db:/home/postgres/pgdata/data diff --git a/internal/storage/postgres/block_stats_test.go b/internal/storage/postgres/block_stats_test.go index 2dc173fe..0bdee8f4 100644 --- a/internal/storage/postgres/block_stats_test.go +++ b/internal/storage/postgres/block_stats_test.go @@ -35,7 +35,7 @@ func (s *BlockStatsTestSuite) SetupSuite() { Password: "password", Database: "db_test", Port: 5432, - Image: "timescale/timescaledb-ha:pg15-latest", + Image: "timescale/timescaledb-ha:pg15.8-ts2.17.0-all", }) s.Require().NoError(err) s.psqlContainer = psqlContainer diff --git a/internal/storage/postgres/stats_test.go b/internal/storage/postgres/stats_test.go index f18dbcf3..e1b795ab 100644 --- a/internal/storage/postgres/stats_test.go +++ b/internal/storage/postgres/stats_test.go @@ -34,7 +34,7 @@ func (s *StatsTestSuite) SetupSuite() { Password: "password", Database: "db_test", Port: 5432, - Image: "timescale/timescaledb-ha:pg15-latest", + Image: "timescale/timescaledb-ha:pg15.8-ts2.17.0-all", }) s.Require().NoError(err) s.psqlContainer = psqlContainer diff --git a/internal/storage/postgres/storage_test.go b/internal/storage/postgres/storage_test.go index 46d66e09..5fcccc2c 100644 --- a/internal/storage/postgres/storage_test.go +++ b/internal/storage/postgres/storage_test.go @@ -39,7 +39,7 @@ func (s *StorageTestSuite) SetupSuite() { Password: "password", Database: "db_test", Port: 5432, - Image: "timescale/timescaledb-ha:pg15-latest", + Image: "timescale/timescaledb-ha:pg15.8-ts2.17.0-all", }) s.Require().NoError(err) s.psqlContainer = psqlContainer diff --git a/internal/storage/postgres/transaction_test.go b/internal/storage/postgres/transaction_test.go index 12a07be2..20889b85 100644 --- a/internal/storage/postgres/transaction_test.go +++ b/internal/storage/postgres/transaction_test.go @@ -40,7 +40,7 @@ func (s *TransactionTestSuite) SetupSuite() { Password: "password", Database: "db_test", Port: 5432, - Image: "timescale/timescaledb-ha:pg15-latest", + Image: "timescale/timescaledb-ha:pg15.8-ts2.17.0-all", }) s.Require().NoError(err) s.psqlContainer = psqlContainer diff --git a/pkg/indexer/rollback/rollback_test.go b/pkg/indexer/rollback/rollback_test.go index f2c41163..afb796ec 100644 --- a/pkg/indexer/rollback/rollback_test.go +++ b/pkg/indexer/rollback/rollback_test.go @@ -45,7 +45,7 @@ func (s *ModuleTestSuite) SetupSuite() { Password: "password", Database: "db_test", Port: 5432, - Image: "timescale/timescaledb-ha:pg15-latest", + Image: "timescale/timescaledb-ha:pg15.8-ts2.17.0-all", }) s.Require().NoError(err) s.psqlContainer = psqlContainer diff --git a/pkg/indexer/storage/storage_test.go b/pkg/indexer/storage/storage_test.go index 51833229..99ec8eac 100644 --- a/pkg/indexer/storage/storage_test.go +++ b/pkg/indexer/storage/storage_test.go @@ -40,7 +40,7 @@ func (s *ModuleTestSuite) SetupSuite() { Password: "password", Database: "db_test", Port: 5432, - Image: "timescale/timescaledb-ha:pg15-latest", + Image: "timescale/timescaledb-ha:pg15.8-ts2.17.0-all", }) s.Require().NoError(err) s.psqlContainer = psqlContainer