Make WordPress Core


Ignore:
Timestamp:
04/03/2024 11:31:43 AM (12 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/performance.yml

    r57655 r57918  
    143143        run: |
    144144          docker -v
    145           docker-compose -v
    146           docker-compose run --rm mysql mysql --version
    147           docker-compose run --rm php php --version
    148           docker-compose run --rm php php -m
    149           docker-compose run --rm php php -i
    150           docker-compose run --rm php locale -a
     145          docker compose run --rm mysql mysql --version
     146          docker compose run --rm php php --version
     147          docker compose run --rm php php -m
     148          docker compose run --rm php php -i
     149          docker compose run --rm php locale -a
    151150
    152151      - name: Install WordPress
Note: See TracChangeset for help on using the changeset viewer.