File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,17 +17,14 @@ jobs:
1717
1818 env :
1919 DB_TEST : postgres
20- PG_DB_HOST : 127.0.0.1
21- PG_DB_USERNAME : postgres
22- PG_DB_PASSWORD : postgres
2320 RAILS_VERSION : 6.1
2421
2522 services :
2623 postgres :
2724 image : postgres:latest
2825 env :
2926 POSTGRES_USER : postgres
30- POSTGRES_PASSWORD : postgres
27+ POSTGRES_PASSWORD : password
3128 options : >-
3229 --health-cmd pg_isready
3330 --health-interval 10s
Original file line number Diff line number Diff line change @@ -17,17 +17,14 @@ jobs:
1717
1818 env :
1919 DB_TEST : postgres
20- PG_DB_HOST : 127.0.0.1
21- PG_DB_USERNAME : postgres
22- PG_DB_PASSWORD : postgres
2320 RAILS_VERSION : 7.2
2421
2522 services :
2623 postgres :
2724 image : postgres:latest
2825 env :
2926 POSTGRES_USER : postgres
30- POSTGRES_PASSWORD : postgres
27+ POSTGRES_PASSWORD : password
3128 options : >-
3229 --health-cmd pg_isready
3330 --health-interval 10s
Original file line number Diff line number Diff line change @@ -17,17 +17,14 @@ jobs:
1717
1818 env :
1919 DB_TEST : postgres
20- PG_DB_HOST : 127.0.0.1
21- PG_DB_USERNAME : postgres
22- PG_DB_PASSWORD : postgres
2320 RAILS_VERSION : 8.0
2421
2522 services :
2623 postgres :
2724 image : postgres:latest
2825 env :
2926 POSTGRES_USER : postgres
30- POSTGRES_PASSWORD : postgres
27+ POSTGRES_PASSWORD : password
3128 options : >-
3229 --health-cmd pg_isready
3330 --health-interval 10s
Original file line number Diff line number Diff line change @@ -62,8 +62,6 @@ services:
6262 DB_PORT : 5432
6363 PG_DB_HOST : postgres
6464 PG_DB_NAME : test_db
65- PG_DB_USERNAME : postgres
66- PG_DB_PASSWORD : password
6765 depends_on :
6866 - postgres
6967
Original file line number Diff line number Diff line change @@ -38,8 +38,8 @@ test: &test
3838 adapter : postgresql
3939 host : <%= ENV.fetch('PG_DB_HOST') { '127.0.0.1' } %>
4040 database : <%= ENV.fetch('PG_DB_NAME') { "active_storage_db_#{Rails.version.tr('.', '')}-test" } %>
41- username : <%= ENV.fetch('PG_DB_USERNAME') { '' } %>
42- password : <%= ENV.fetch('PG_DB_PASSWORD') { '' } %>
41+ username : <%= ENV.fetch('PG_DB_USERNAME') { 'postgres ' } %>
42+ password : <%= ENV.fetch('PG_DB_PASSWORD') { 'password ' } %>
4343 min_messages : warning
4444 pool : <%= ENV.fetch('RAILS_MAX_THREADS') { 5 } %>
4545development :
You can’t perform that action at this time.
0 commit comments