Skip to content

Commit 2522aeb

Browse files
committed
Update envfile_testing Make command #520
Signed-off-by: Jono Yang <[email protected]>
1 parent ccb6e1c commit 2522aeb

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ envfile_testing:
5555
@if test -f ${ENV_FILE}; then echo ".env file exists already"; exit 1; fi
5656
@mkdir -p $(shell dirname ${ENV_FILE}) && touch ${ENV_FILE}
5757
@echo SECRET_KEY=\"${GET_SECRET_KEY}\" >> ${ENV_FILE}
58-
@echo SCANCODEIO_DB_PORT=\"5433\" >> ${ENV_FILE}
58+
@echo PACKAGEDB_DB_NAME=\"postgres\" >> ${ENV_FILE}
59+
@echo PACKAGEDB_DB_PASSWORD=\"postgres\" >> ${ENV_FILE}
5960

6061
isort:
6162
@echo "-> Apply isort changes to ensure proper imports ordering"

azure-pipelines.yml

+3-5
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,10 @@
88
resources:
99
containers:
1010
- container: postgres
11-
image: postgres
11+
image: postgres:13
1212
env:
13-
POSTGRES_DB: packagedb
14-
POSTGRES_USER: packagedb
15-
POSTGRES_PASSWORD: packagedb
16-
POSTGRES_INITDB_ARGS: "--encoding=UTF-8 --lc-collate=en_US.UTF-8 --lc-ctype=en_US.UTF-8"
13+
POSTGRES_USER: 'packagedb'
14+
POSTGRES_PASSWORD: 'packagedb'
1715
ports:
1816
- 5432:5432
1917

0 commit comments

Comments
 (0)