Make WordPress Core


Ignore:
Timestamp:
04/03/2024 11:31:43 AM (13 months ago)
Author:
swissspidy
Message:

Build/Test Tools: Migrate to Docker Compose V2.

Compose V2, which was first released in 2020, is included with all currently supported versions of Docker Desktop. Compose V1 stopped receiving updates in July 2023.

The biggest difference is that the command to interact with Compose changed from docker-compose to docker compose.

GitHub has now started removing V1 from Ubuntu & Windows images, which caused all Docker-based GitHub Actions workflows to fail.

This change migrates to the new docker compose command to address these failures.

Props swissspidy, thelovekesh.
Fixes #60901.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.github/workflows/test-coverage.yml

    r57757 r57918  
    124124        run: |
    125125          docker -v
    126           docker-compose -v
    127126
    128127      - name: Start Docker environment
     
    135134      - name: WordPress Docker container debug information
    136135        run: |
    137           docker-compose run --rm mysql mysql --version
    138           docker-compose run --rm php php --version
    139           docker-compose run --rm php php -m
    140           docker-compose run --rm php php -i
    141           docker-compose run --rm php locale -a
     136          docker compose run --rm mysql mysql --version
     137          docker compose run --rm php php --version
     138          docker compose run --rm php php -m
     139          docker compose run --rm php php -i
     140          docker compose run --rm php locale -a
    142141
    143142      - name: Install WordPress
Note: See TracChangeset for help on using the changeset viewer.