Make WordPress Core

Opened 2 years ago

Closed 20 months ago

Last modified 20 months ago

#55700 closed task (blessed) (fixed)

Move the Memcached container into the Docker Compose config

Reported by: johnbillion's profile johnbillion Owned by: johnbillion's profile johnbillion
Milestone: 6.1 Priority: normal
Severity: normal Version:
Component: Build/Test Tools Keywords: has-patch
Focuses: Cc:

Description

When the test suite runs, two jobs run with Memcached enabled and the object-cache.php dropin in place. This setup happens inside the GitHub Action.

Let's move it into the Docker Compose config so a developer can make use of it on their local dev environment just by toggling the value of the LOCAL_PHP_MEMCACHED environment variable in the .env file.

Change History (5)

This ticket was mentioned in PR #2689 on WordPress/wordpress-develop by johnbillion.


2 years ago
#1

  • Keywords has-patch added

Trac ticket: https://core.trac.wordpress.org/ticket/55700

This moves the Memcached container into the Docker Compose config so it can be used with the local dev environment just by flipping the LOCAL_PHP_MEMCACHED environment variable value.

#2 @johnbillion
20 months ago

  • Milestone changed from Awaiting Review to 6.1

#3 @johnbillion
20 months ago

  • Owner set to johnbillion
  • Resolution set to fixed
  • Status changed from new to closed

In 53895:

Build/Test Tools: Move the Memcached container into the Docker Compose config.

This allows a developer to use the persistent Memcached object cache on their local development environment via the LOCAL_PHP_MEMCACHED environment variable.

Enable the memcached config via LOCAL_PHP_MEMCACHED=true in the .env file and then restart the environment with npm run env:restart.

Fixes #55700

This ticket was mentioned in Slack in #core by sergey. View the logs.


20 months ago

Note: See TracTickets for help on using tickets.