Make WordPress Core


Ignore:
Timestamp:
04/04/2024 06:10:44 PM (10 months ago)
Author:
desrosj
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.

Merges [57918] to the 6.5 branch.

Props swissspidy, thelovekesh.
See #60901.

Location:
branches/6.5
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/6.5

  • branches/6.5/.github/workflows/end-to-end-tests.yml

    r57655 r57927  
    109109        run: |
    110110          docker -v
    111           docker-compose -v
    112           docker-compose run --rm mysql mysql --version
    113           docker-compose run --rm php php --version
    114           docker-compose run --rm php php -m
    115           docker-compose run --rm php php -i
    116           docker-compose run --rm php locale -a
     111          docker compose run --rm mysql mysql --version
     112          docker compose run --rm php php --version
     113          docker compose run --rm php php -m
     114          docker compose run --rm php php -i
     115          docker compose run --rm php locale -a
    117116
    118117      - name: Install WordPress
Note: See TracChangeset for help on using the changeset viewer.