testcontainers / testcontainers/testcontainers-python
Add support for tmpfs mounts
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2.3k
- Forks
- 386
- Avg merge
- 4h 40m
- Merged PRs (30d)
- 1
Description
Currently we are using tmpfs mounts with testcontainers-go to speed up bootstraping databases during CI. The data folder of the database gets mounted into a tmpfs mount which speeds up since disk i/o is avoided.
We have some components using python and noticed that testcontainers-python doesnt support tmpfs mounts.
PR for testcontainers-go here: https://github.com/testcontainers/testcontainers-go/pull/131
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the testcontainers-go PR linked in the issue and locating the Python library's container-mount configuration. Confirm how tmpfs mounts should be represented for database data folders, then add coverage showing that a container can be created with the requested mount and that the existing behavior remains intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, python
- Domain
- devops, testing
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100