Skip to content

Commit eeaa67d

Browse files
CLDSRV-835: Add mongodb logs to CI artifacts
1 parent 0efb995 commit eeaa67d

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/docker/docker-compose.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ services:
9393
network_mode: "host"
9494
profiles: ['mongo', 'ceph']
9595
image: ${MONGODB_IMAGE}
96+
volumes:
97+
- /tmp/artifacts/${JOB_NAME}:/logs
9698
ceph:
9799
network_mode: "host"
98100
profiles: ['ceph']

.github/docker/mongodb/conf/mongod.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
systemLog:
2+
destination: file
3+
path: "/logs/mongod.log"
4+
logAppend: true
15
storage:
26
journal:
37
enabled: true

0 commit comments

Comments
 (0)