Browse Source

test: PG version corrections

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/5481/head
Raju Udava 2 years ago
parent
commit
4e18f03e3a
  1. 8
      packages/nocodb/docker-compose.yml
  2. 4
      tests/playwright/scripts/docker-compose-playwright-pg.yml

8
packages/nocodb/docker-compose.yml

@ -337,13 +337,13 @@ services:
xc-test-pg: xc-test-pg:
image: node:12.22.1-slim image: node:12.22.1-slim
depends_on: depends_on:
pg96: pg147:
condition: service_healthy condition: service_healthy
volumes: volumes:
- ./:/home/app - ./:/home/app
environment: environment:
NODE_ENV: test NODE_ENV: test
DATABASE_URL: postgres://postgres:password@pg96:5432/postgres DATABASE_URL: postgres://postgres:password@pg147:5432/postgres
command: command:
- /bin/bash - /bin/bash
- -c - -c
@ -405,13 +405,13 @@ services:
xc-test-gql-pg: xc-test-gql-pg:
image: node:12.22.1-slim image: node:12.22.1-slim
depends_on: depends_on:
pg96: pg147:
condition: service_healthy condition: service_healthy
volumes: volumes:
- ./:/home/app - ./:/home/app
environment: environment:
NODE_ENV: test NODE_ENV: test
DATABASE_URL: postgres://postgres:password@pg96:5432/postgres DATABASE_URL: postgres://postgres:password@pg147:5432/postgres
command: command:
- /bin/bash - /bin/bash
- -c - -c

4
tests/playwright/scripts/docker-compose-playwright-pg.yml

@ -1,8 +1,8 @@
version: "2.1" version: "2.1"
services: services:
pg96: pg147:
image: postgres:15 image: postgres:14.7
restart: always restart: always
environment: environment:
POSTGRES_PASSWORD: password POSTGRES_PASSWORD: password

Loading…
Cancel
Save