bump
This commit is contained in:
+2
-2
@@ -18,7 +18,7 @@ build:java:
|
|||||||
stage: build
|
stage: build
|
||||||
image: eclipse-temurin:21-jdk
|
image: eclipse-temurin:21-jdk
|
||||||
services:
|
services:
|
||||||
- postgres:16-alpine
|
- postgres:17-alpine
|
||||||
variables:
|
variables:
|
||||||
POSTGRES_DB: mtgsearch_build
|
POSTGRES_DB: mtgsearch_build
|
||||||
POSTGRES_USER: postgres
|
POSTGRES_USER: postgres
|
||||||
@@ -69,7 +69,7 @@ test:integration:
|
|||||||
stage: test
|
stage: test
|
||||||
image: eclipse-temurin:21-jdk
|
image: eclipse-temurin:21-jdk
|
||||||
services:
|
services:
|
||||||
- postgres:16-alpine
|
- postgres:17-alpine
|
||||||
variables:
|
variables:
|
||||||
POSTGRES_DB: mtgsearch_test
|
POSTGRES_DB: mtgsearch_test
|
||||||
POSTGRES_USER: postgres
|
POSTGRES_USER: postgres
|
||||||
|
|||||||
+1
-1
@@ -67,7 +67,7 @@ docker run --name mtgsearch-postgres \
|
|||||||
-e POSTGRES_USER=postgres \
|
-e POSTGRES_USER=postgres \
|
||||||
-e POSTGRES_PASSWORD=postgres \
|
-e POSTGRES_PASSWORD=postgres \
|
||||||
-p 5432:5432 \
|
-p 5432:5432 \
|
||||||
-d postgres:16-alpine
|
-d postgres:17-alpine
|
||||||
```
|
```
|
||||||
|
|
||||||
**Using Local PostgreSQL:**
|
**Using Local PostgreSQL:**
|
||||||
|
|||||||
@@ -111,7 +111,7 @@ db-init:
|
|||||||
-e POSTGRES_USER=postgres \
|
-e POSTGRES_USER=postgres \
|
||||||
-e POSTGRES_PASSWORD=postgres \
|
-e POSTGRES_PASSWORD=postgres \
|
||||||
-p 5432:5432 \
|
-p 5432:5432 \
|
||||||
-d postgres:16-alpine
|
-d postgres:17-alpine
|
||||||
@echo "✓ Database initialized on localhost:5432"
|
@echo "✓ Database initialized on localhost:5432"
|
||||||
|
|
||||||
.DEFAULT_GOAL := help
|
.DEFAULT_GOAL := help
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ docker run --name mtgsearch-postgres \
|
|||||||
-e POSTGRES_USER=postgres \
|
-e POSTGRES_USER=postgres \
|
||||||
-e POSTGRES_PASSWORD=postgres \
|
-e POSTGRES_PASSWORD=postgres \
|
||||||
-p 5432:5432 \
|
-p 5432:5432 \
|
||||||
-d postgres:16-alpine
|
-d postgres:17-alpine
|
||||||
|
|
||||||
# Or use your local PostgreSQL installation
|
# Or use your local PostgreSQL installation
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ import org.junit.jupiter.api.Disabled;
|
|||||||
public class AuthServiceTest {
|
public class AuthServiceTest {
|
||||||
|
|
||||||
@Container
|
@Container
|
||||||
static PostgreSQLContainer<?> postgres = new PostgreSQLContainer<>("postgres:16-alpine")
|
static PostgreSQLContainer<?> postgres = new PostgreSQLContainer<>("postgres:17-alpine")
|
||||||
.withDatabaseName("mtgsearch_test")
|
.withDatabaseName("mtgsearch_test")
|
||||||
.withUsername("postgres")
|
.withUsername("postgres")
|
||||||
.withPassword("postgres");
|
.withPassword("postgres");
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ import org.junit.jupiter.api.Disabled;
|
|||||||
public class UserRepositoryTest {
|
public class UserRepositoryTest {
|
||||||
|
|
||||||
@Container
|
@Container
|
||||||
static PostgreSQLContainer<?> postgres = new PostgreSQLContainer<>("postgres:16-alpine")
|
static PostgreSQLContainer<?> postgres = new PostgreSQLContainer<>("postgres:17-alpine")
|
||||||
.withDatabaseName("mtgsearch_test")
|
.withDatabaseName("mtgsearch_test")
|
||||||
.withUsername("postgres")
|
.withUsername("postgres")
|
||||||
.withPassword("postgres");
|
.withPassword("postgres");
|
||||||
|
|||||||
+1
-1
@@ -62,7 +62,7 @@ setup_database() {
|
|||||||
-e POSTGRES_USER=postgres \
|
-e POSTGRES_USER=postgres \
|
||||||
-e POSTGRES_PASSWORD=postgres \
|
-e POSTGRES_PASSWORD=postgres \
|
||||||
-p 5432:5432 \
|
-p 5432:5432 \
|
||||||
-d postgres:16-alpine
|
-d postgres:17-alpine
|
||||||
|
|
||||||
echo -e "${BLUE}Waiting for PostgreSQL to be ready...${NC}"
|
echo -e "${BLUE}Waiting for PostgreSQL to be ready...${NC}"
|
||||||
sleep 10
|
sleep 10
|
||||||
|
|||||||
Reference in New Issue
Block a user