File tree Expand file tree Collapse file tree 7 files changed +10
-10
lines changed
service-library/tests/with_postgres
web/server/tests/unit/with_dbs Expand file tree Collapse file tree 7 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ setup_database() {
127127 echo " --------------- injecting templates in postgres db..."
128128
129129 # Checks that pg is up and running
130- IMAGE_NAME=" $( docker image ls --filter ' reference=postgres*' --format " {{.Repository}}:{{.Tag }}" | tail -1) "
130+ IMAGE_NAME=" $( docker image ls --filter ' reference=postgres*' --format " {{.ID }}" | tail -1) "
131131 docker ps --filter " ancestor=$IMAGE_NAME "
132132 docker inspect " $( docker ps --filter " ancestor=$IMAGE_NAME " -q) "
133133
Original file line number Diff line number Diff line change 11version : ' 3.4'
22services :
33 postgres :
4- image : postgres:10.11
4+ image : " postgres:10.11@sha256:2aef165ab4f30fbb109e88959271d8b57489790ea13a77d27c02d8adb8feb20f "
55 environment :
66 POSTGRES_USER : test
77 POSTGRES_PASSWORD : test
Original file line number Diff line number Diff line change 11version : " 3.4"
22services :
33 postgres :
4- image : postgres:10.11
4+ image : " postgres:10.11@sha256:2aef165ab4f30fbb109e88959271d8b57489790ea13a77d27c02d8adb8feb20f "
55 restart : always
66 environment :
77 POSTGRES_DB : db
Original file line number Diff line number Diff line change 11version : ' 3.4'
22services :
33 postgres :
4- image : postgres:10.11
4+ image : " postgres:10.11@sha256:2aef165ab4f30fbb109e88959271d8b57489790ea13a77d27c02d8adb8feb20f "
55 restart : always
66 environment :
77 POSTGRES_DB : ${TEST_POSTGRES_DB}
Original file line number Diff line number Diff line change @@ -221,7 +221,7 @@ services:
221221 - default
222222
223223 postgres :
224- image : postgres:10.11
224+ image : " postgres:10.11@sha256:2aef165ab4f30fbb109e88959271d8b57489790ea13a77d27c02d8adb8feb20f "
225225 init : true
226226 environment :
227227 - POSTGRES_USER=${POSTGRES_USER}
@@ -255,7 +255,7 @@ services:
255255 ]
256256
257257 redis :
258- image : redis:5.0.9-alpine
258+ image : " redis:5.0.9-alpine@sha256:b011c1ca7fa97ed92d6c5995e5dd752dc37fe157c1b60ce96a6e35701851dabc "
259259 init : true
260260 networks :
261261 - default
Original file line number Diff line number Diff line change 11version : " 3.7"
22services :
33 postgres :
4- image : postgres:10.11
4+ image : " postgres:10.11@sha256:2aef165ab4f30fbb109e88959271d8b57489790ea13a77d27c02d8adb8feb20f "
55 restart : always
66 environment :
77 # defaults are the same as in conftest.yaml so we start compose from command line for debugging
@@ -29,7 +29,7 @@ services:
2929 depends_on :
3030 - postgres
3131 redis :
32- image : redis:5.0.9-alpine
32+ image : " redis:5.0.9-alpine@sha256:b011c1ca7fa97ed92d6c5995e5dd752dc37fe157c1b60ce96a6e35701851dabc "
3333 ports :
3434 - " 6379:6379"
3535 redis-commander :
Original file line number Diff line number Diff line change 11version : " 3.7"
22services :
33 postgres :
4- image : postgres:10.11
4+ image : " postgres:10.11@sha256:2aef165ab4f30fbb109e88959271d8b57489790ea13a77d27c02d8adb8feb20f "
55 restart : always
66 environment :
77 POSTGRES_DB : ${TEST_POSTGRES_DB}
@@ -22,6 +22,6 @@ services:
2222 command : postgres -c tcp_keepalives_idle=600 -c tcp_keepalives_interval=600 -c tcp_keepalives_count=5
2323
2424 redis :
25- image : redis:5.0.9-alpine
25+ image : " redis:5.0.9-alpine@sha256:b011c1ca7fa97ed92d6c5995e5dd752dc37fe157c1b60ce96a6e35701851dabc "
2626 ports :
2727 - " 6379:6379"
You can’t perform that action at this time.
0 commit comments