Skip to content
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

Remove version from docker-compose.selenium.yaml #759

Open
penyaskito opened this issue Dec 17, 2024 · 0 comments
Open

Remove version from docker-compose.selenium.yaml #759

penyaskito opened this issue Dec 17, 2024 · 0 comments

Comments

@penyaskito
Copy link
Member

penyaskito commented Dec 17, 2024

Fixes warns on ddev start.

This isn't software versions, but the spec version of a file that we only use on our environments.
And docker compose ignores this since v2, and always uses the latest spec available.

time="2024-12-03T19:23:04+01:00" level=warning msg="/home/penyaskito/Projects/Work/Lullabot/mjff/.ddev/docker-compose.memcached.yaml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion"
time="2024-12-03T19:23:04+01:00" level=warning msg="/home/penyaskito/Projects/Work/Lullabot/mjff/.ddev/docker-compose.selenium.yaml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion"
time="2024-12-03T19:23:04+01:00" level=warning msg="/home/penyaskito/Projects/Work/Lullabot/mjff/.ddev/docker-compose.solr.yaml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion"

File is at drainpipe-dev/scaffold/nightwatch/docker-compose.selenium.yaml

If the scaffolded file is committed to the repo and it's producing conflicts, a workaround is adding to composer.json:

"extra": {
    [...]
    "drupal-scaffold": {
        [...]
        "file-mapping": {
            "[project-root]/.ddev/docker-compose.selenium.yaml": false,
            [...]
        }
        [...]
    }
}
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

No branches or pull requests

1 participant