-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Testing: Speed up Docker setup on Travis for e2e tests #15748
Conversation
1144b26
to
53a4ea9
Compare
156d8d6
to
108b732
Compare
docker-compose.yml
Outdated
@@ -2,20 +2,21 @@ version: '3.1' | |||
|
|||
services: | |||
|
|||
wordpress: | |||
wordpress_dev: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you explain the rename? Is it going to be disruptive to anyone's personal workflows?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wanted to better express the intent of this service and make it distinct from the image name. I can revert it now that I confirmrd that everything works
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reverted in c0836cc. It isn't that important and I share your concern that it might cause some issues.
108b732
to
c0836cc
Compare
Description
This PR adds some improvements to the performance of Travis jobs as part of #15159.
The main difference in this proposal is that we no longer pull, create and start containers that are never used on Travis. This applies for jobs which run e2e tests and PHP unit tests.
It's very easy to notices that there is a huge gain on some of the jobs where they finish even 2-3 minutes faster!!!
Aside: I also tried to remove
npm ci
andnpm run build
from the jobs which run PHP unit tests but it turned out that it's still necessary for some tests to pass. See #15159 (comment) for more details.How has this been tested?
Travis should pass all checks.