Skip to content

Dockerize Fastpath #935

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 25 commits into
base: master
Choose a base branch
from

Conversation

hynnot
Copy link
Contributor

@hynnot hynnot commented Feb 5, 2025

This PR will add a docker compose configuration able to deploy the Fastpath.

  • A docker compose and dockerfile are added to implement the docker deployment
    • This docker compose also includes a clickhouse service used for local development
  • docker-related commands are added to the makefile to simplify the development experience
  • Some broken tests were marked with skip
  • The code is now compatible with the latest Python version

To deploy the docker container you can run:

make docker

Note that we still use the fastpath.conf file for configuration, but I moved it to the root project dir and the dockerfile expects it to be there. The idea is that we will override this file through Ansible when deploying to EC2

Related to ooni/devops#123

Copy link

codecov bot commented Mar 4, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.81%. Comparing base (d57a18f) to head (74b62e5).

❌ Your project check has failed because the head coverage (91.81%) is below the target coverage (95.00%). You can increase the head coverage or adjust the target coverage.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #935   +/-   ##
=======================================
  Coverage   91.81%   91.81%           
=======================================
  Files          61       61           
  Lines        5179     5179           
  Branches      339      339           
=======================================
  Hits         4755     4755           
  Misses        365      365           
  Partials       59       59           
Flag Coverage Δ
ooniauth 100.00% <ø> (ø)
oonifindings 96.90% <ø> (ø)
oonimeasurements 82.63% <ø> (ø)
ooniprobe 94.03% <ø> (ø)
oonirun 99.39% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@LDiazN LDiazN self-assigned this May 2, 2025
@LDiazN LDiazN marked this pull request as ready for review May 5, 2025 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants