Skip to content

fix(e2e): DDEV fails with docker-compose v5.0.2 not found #14

@apermo

Description

@apermo

Problem

The E2E DDEV job fails on startup:

DDEV's private docker-compose binary does not exist or is set to an invalid version.
Fix with 'ddev config global --required-docker-compose-version="" --use-docker-compose-from-path=false'

ddev/github-action-setup-ddev@v1 (v1.12.1) sets required-docker-compose-version=v5.0.2 which
doesn't exist on the Docker Compose releases page.

Fix

Add a reset step before ddev start in the DDEV E2E job:

- name: Reset docker-compose version
  run: ddev config global --required-docker-compose-version="" --use-docker-compose-from-path=false

- name: Start DDEV environment
  run: ddev start && ddev orchestrate

Alternatively, pin ddev/github-action-setup-ddev to a known-working version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions