- Timestamp:
- 10/28/2020 07:42:29 PM (4 years ago)
- Location:
- trunk
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/.env
r49358 r49360 4 4 # All of these options can be overridden by setting them as environment variables before starting 5 5 # the environment. You will need to restart your environment when changing any of these. 6 #7 # Below, the following substitutions can be made:8 # - '{version}': any major.minor PHP version from 5.2 onwards.9 # - '{phpunit_version}': any major PHPUnit version starting with 4.10 6 ## 11 7 … … 16 12 LOCAL_DIR=src 17 13 18 # The PHP version to use. Valid options are 'latest', and '{version}-fpm'. 14 # The PHP version to use. Valid options are 'latest', and '{version}-fpm', where '{version}' is any 15 # x.y PHP version from 5.2 onwards. 19 16 LOCAL_PHP=latest 20 21 ##22 # The PHPUnit version to use when running tests.23 #24 # Support for new PHPUnit versions is not backported to past versions, so some old WordPress branches require an older25 # version to run tests.26 #27 # Valid versions are:28 # - 'latest' for the highest version of PHPUnit supported on the highest version of PHP supported.29 # - '{version}-fpm' for the highest version of PHPUnit supported on the specified version of PHP.30 # - '{phpunit_version}-php-{version}-fpm' for a specific version of PHPUnit on the specified version of PHP. This format31 # is only available for PHP versions 5.6 and higher.32 #33 # For the full list of available options, see https://hub.docker.com/r/wordpressdevelop/phpunit/tags.34 #35 # For full documentation on PHPUnit compatibility and WordPress versions, see36 # https://make.wordpress.org/core/handbook/references/phpunit-compatibility-and-wordpress-versions/.37 #38 # This defaults to the value assigned to the value of LOCAL_PHP.39 ##40 LOCAL_PHPUNIT=${LOCAL_PHP}41 17 42 18 # Whether or not to enable XDebug. -
trunk/docker-compose.yml
r49358 r49360 97 97 ## 98 98 phpunit: 99 image: wordpressdevelop/phpunit:${LOCAL_PHP UNIT-latest}99 image: wordpressdevelop/phpunit:${LOCAL_PHP-latest} 100 100 101 101 networks: -
trunk/package-lock.json
r49358 r49360 9136 9136 }, 9137 9137 "dotenv": { 9138 "version": "8. 2.0",9139 "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-8. 2.0.tgz",9140 "integrity": "sha512- 8sJ78ElpbDJBHNeBzUbUVLsqKdccaa/BXF1uPTw3GrvQTBgrQrtObr2mUrE38vzYd8cEv+m/JBfDLioYcfXoaw==",9138 "version": "8.1.0", 9139 "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-8.1.0.tgz", 9140 "integrity": "sha512-GUE3gqcDCaMltj2++g6bRQ5rBJWtkWTmqmD0fo1RnnMuUqHNCt2oTPeDnS9n6fKYvlhn7AeBkb38lymBtWBQdA==", 9141 9141 "dev": true 9142 9142 }, … … 25202 25202 }, 25203 25203 "dependencies": { 25204 "base64-js": {25205 "version": "1.3.1",25206 "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.3.1.tgz",25207 "integrity": "sha512-mLQ4i2QO1ytvGWFWmcngKO//JXAQueZvwEKtjgQFM4jIK0kU+ytMfplL8j+n5mspOfjHwoAg+9yhb7BwAHm36g==",25208 "dev": true25209 },25210 25204 "bl": { 25211 25205 "version": "4.0.3", … … 25220 25214 }, 25221 25215 "buffer": { 25222 "version": "5. 7.0",25223 "resolved": "https://registry.npmjs.org/buffer/-/buffer-5. 7.0.tgz",25224 "integrity": "sha512- cd+5r1VLBwUqTrmnzW+D7ABkJUM6mr7uv1dv+6jRw4Rcl7tFIFHDqHPL98LhpGFn3dbAt3gtLxtrWp4m1kFrqg==",25225 "dev": true, 25226 "requires": { 25227 "base64-js": "^1. 3.1",25228 "ieee754": "^1.1. 13"25216 "version": "5.6.0", 25217 "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.6.0.tgz", 25218 "integrity": "sha512-/gDYp/UtU0eA1ys8bOs9J6a+E/KWIY+DZ+Q2WESNUA0jFRsJOc0SNUO6xJ5SGA1xueg3NL65W6s+NY5l9cunuw==", 25219 "dev": true, 25220 "requires": { 25221 "base64-js": "^1.0.2", 25222 "ieee754": "^1.1.4" 25229 25223 } 25230 25224 }, -
trunk/package.json
r49358 r49360 36 36 "copy-webpack-plugin": "^5.1.1", 37 37 "cssnano": "4.1.10", 38 "dotenv": "8. 2.0",38 "dotenv": "8.1.0", 39 39 "dotenv-expand": "5.1.0", 40 40 "grunt": "~1.1.0", -
trunk/tools/local-env/scripts/docker.js
r49358 r49360 1 const dotenv = require( 'dotenv' ); 2 const dotenvExpand = require( 'dotenv-expand' ); 1 const dotenv = require( 'dotenv' ); 3 2 const { execSync } = require( 'child_process' ); 4 5 dotenvExpand( dotenv.config() ); 3 dotenv.config(); 6 4 7 5 // Execute any docker-compose command passed to this script. -
trunk/tools/local-env/scripts/install.js
r49358 r49360 1 const dotenv = require( 'dotenv' ); 2 const dotenvExpand = require( 'dotenv-expand' ); 1 const dotenv = require( 'dotenv' ); 3 2 const wait_on = require( 'wait-on' ); 4 3 const { execSync } = require( 'child_process' ); 5 4 const { renameSync, readFileSync, writeFileSync } = require( 'fs' ); 6 5 7 dotenv Expand( dotenv.config());6 dotenv.config(); 8 7 9 8 // Create wp-config.php. -
trunk/tools/local-env/scripts/start.js
r49358 r49360 1 const dotenv = require( 'dotenv' ); 2 const dotenvExpand = require( 'dotenv-expand' ); 1 const dotenv = require( 'dotenv' ); 3 2 const { execSync } = require( 'child_process' ); 4 3 5 dotenv Expand( dotenv.config());4 dotenv.config(); 6 5 7 6 // Start the local-env containers.
Note: See TracChangeset
for help on using the changeset viewer.