Skip to content

Commit 4927212

Browse files
committed
Revert changes that are not needed
1 parent 2b546dd commit 4927212

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

docker-compose.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,5 @@ services:
44
image: cimg/postgres:17.0
55
environment:
66
- POSTGRES_USER=root
7-
- POSTGRES_DATABASE=codegen_test
8-
- POSTGRES_PASSWORD=password
9-
- POSTGRES_SCHEMA=codegen_integration_tests_postgres
107
ports:
118
- "5432:5432"

run_test.sh

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,6 @@ echo `pwd`
44
cd integration_tests
55
cp ci/sample.profiles.yml profiles.yml
66

7-
export POSTGRES_HOST=localhost
8-
export POSTGRES_USER=root
9-
export DBT_ENV_SECRET_POSTGRES_PASS=password
10-
export POSTGRES_PORT=5432
11-
export POSTGRES_DATABASE=codegen_test
12-
export POSTGRES_SCHEMA=codegen_integration_tests_postgres
13-
14-
# Create database if it doesn't exist
15-
PGPASSWORD=$DBT_ENV_SECRET_POSTGRES_PASS psql -h $POSTGRES_HOST -U $POSTGRES_USER -d postgres -tc "SELECT 1 FROM pg_database WHERE datname = '$POSTGRES_DATABASE'" | grep -q 1 || \
16-
PGPASSWORD=$DBT_ENV_SECRET_POSTGRES_PASS psql -h $POSTGRES_HOST -U $POSTGRES_USER -d postgres -c "CREATE DATABASE $POSTGRES_DATABASE"
17-
187
dbt --warn-error clean --target $1 || exit 1
198
dbt --warn-error deps --target $1 || exit 1
209
dbt --warn-error run-operation create_source_table --target $1 || exit 1

0 commit comments

Comments
 (0)