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

WordPress Trac noreply at wordpress.org
Mon Aug 5 03:19:54 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.8.diff"]:

 - Switch over to using [https://hub.docker.com/u/wordpressdevelop
 wordpressdevelop images]. The image definitions are generated and
 committed to the [https://github.com/WordPress/wpdev-docker-images wpdev-
 docker-images GitHub repo], they're then built and deployed to Docker Hub
 by [https://travis-ci.com/WordPress/wpdev-docker-images Travis].
 - Ensure WP-CLI and PHPUnit obey the `LOCAL_PHP_XDEBUG` setting.

 I'm pondering adding `docker-compose pull` to the `npm run env:start`
 command. This would add ~5 seconds to the start time when there are no
 updates (ie, nearly all of the time) but would ensure that the most up-to-
 date images have been downloaded.

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


More information about the wp-trac mailing list