Make WordPress Core

Changeset 59658


Ignore:
Timestamp:
01/17/2025 10:32:22 AM (5 months ago)
Author:
johnbillion
Message:

Build/Test Tools: Use quiet pulls during local environment installation and WP-CLI commands.

This reduces the noise of the output -- both locally and on CI -- when first pulling containers during local environment installation and the first time the cli container is pulled for WP-CLI commands.

See #62280

Location:
trunk/tools/local-env/scripts
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/local-env/scripts/install.js

    r59279 r59658  
    5656    const composeFiles = local_env_utils.get_compose_files();
    5757
    58     execSync( `docker compose ${composeFiles} run --rm cli ${cmd}`, { stdio: 'inherit' } );
     58    execSync( `docker compose ${composeFiles} run --quiet-pull --rm cli ${cmd}`, { stdio: 'inherit' } );
    5959}
    6060
  • trunk/tools/local-env/scripts/start.js

    r59279 r59658  
    3232    ? 'wordpress-develop memcached'
    3333    : 'wordpress-develop';
    34 execSync( `docker compose ${composeFiles} up -d ${containers}`, { stdio: 'inherit' } );
     34execSync( `docker compose ${composeFiles} up --quiet-pull -d ${containers}`, { stdio: 'inherit' } );
    3535
    3636// If Docker Toolbox is being used, we need to manually forward LOCAL_PORT to the Docker VM.
Note: See TracChangeset for help on using the changeset viewer.