[wp-trac] [WordPress Trac] #47767: Simplify and backport the local environment

WordPress Trac noreply at wordpress.org
Fri Aug 2 09:15:55 UTC 2019


#47767: Simplify and backport the local environment
-------------------------------------+-----------------------
 Reporter:  pento                    |       Owner:  pento
     Type:  enhancement              |      Status:  assigned
 Priority:  normal                   |   Milestone:  5.3
Component:  Build/Test Tools         |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  needs-testing has-patch  |     Focuses:
-------------------------------------+-----------------------

Comment (by pento):

 In [attachment:"47767.7.diff"]:

 - [https://travis-ci.com/WordPress/wordpress-develop/builds/121719096
 Travis now works]. It uses Docker images where available, and local where
 it isn't. Running PHPUnit is a little slower in Docker than it is
 natively, but not overly so.
 - Improved performance of PHPUnit when running in the `build` directory.

 About the only thing remaining before this can go into `trunk` is to shift
 the Docker images over to the WordPress GitHub org.

 If anyone feels like playing with how Docker handles updates to images, a
 good UX improvement for this would be to automatically recognise when
 there are updated images to pull from Docker Hub. At the moment, you can
 be stuck with old images, without realising it.

 For now, running `npm run env:reset` will delete your local images, so new
 images will be downloaded when you start it up again.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47767#comment:24>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list