Repository navigation
fix: remove no-bind-mounts from tests and documentation - #23
Merged
stasadev merged 1 commit intoApr 22, 2025
Merged
Conversation
Collaborator
|
🚀 LGTM. Thanks for fixing this. |
This was referenced Feb 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Issue
Tests in the GitHub Workflow, as well as the instructions for use on Gitlab.com, contain references to enabling --no-bind-mounts=true for DDEV. However, on Gitlab.com this isn't needed, and for the workflow it's easily solvable via a docker volume.
How This PR Solves The Issue
Remove the reference from the Gitlab.com docs
Add a Docker volume that is mounted to the DIND container, as well as the DDEV container, and updating the tests to use that volume.
Manual Testing Instructions
Run the GitHub tests workflow. PR run: https://github.com/AkibaAT/ddev-gitlab-ci/actions/runs/14601086994
Push a simple test project to Gitlab.com. PR run: https://gitlab.com/ddev-testing/ddev-ci-test/-/jobs/9774214049
Automated Testing Overview
Added volume in
setup_suite.bash, mounted to/mnt/ddev-sharedAdapted existing tests:
Moved workdir to
/mnt/ddev-shared/ddev-testRemoved
ddev config global --no-bind-mounts=trueMoved workdir to
/mnt/ddev-shared/ddev-test-debugRemoved
ddev config global --no-bind-mounts=trueRelated Issue Link(s)
Release/Deployment Notes
none