Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/actions/setup-ci/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,12 @@ runs:
run: |
cat config.json | jq -r '.rateLimiting = {enabled: true, nodes: 6, serviceUserArn: "arn:aws:iam::123456789013:root"}' > config.json.new
mv config.json.new config.json
- name: Collect Workflow Telemetry
# uses: catchpoint/workflow-telemetry-action@v2
# Use a fork that fixes chart issue
# https://github.com/catchpoint/workflow-telemetry-action/pull/98
uses: whywaita/workflow-telemetry-action@9861d94d4f5862a5b8c5e863cf9a156a1b950738
with:
theme: dark
comment_on_pr: false
proc_trace_chart_show: false
2 changes: 2 additions & 0 deletions .github/docker/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ services:
network_mode: "host"
profiles: ['mongo', 'ceph']
image: ${MONGODB_IMAGE}
volumes:
- /tmp/artifacts/${JOB_NAME}:/logs
ceph:
network_mode: "host"
profiles: ['ceph']
Expand Down
4 changes: 4 additions & 0 deletions .github/docker/mongodb/conf/mongo-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,8 @@ init_RS() {
}
init_RS &

# Pre-create log file as world-readable; mongod (logAppend: true) opens it without resetting permissions
# Otherwise mongod create the file with 600 permissions, preventing CI artifact upload
touch /logs/mongod.log && chmod 644 /logs/mongod.log

mongod --bind_ip_all --config=/conf/mongod.conf
4 changes: 4 additions & 0 deletions .github/docker/mongodb/conf/mongod.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
systemLog:
destination: file
path: "/logs/mongod.log"
logAppend: true
storage:
journal:
enabled: true
Expand Down
Loading