Skip to content

Conversation

@dohernandez
Copy link
Contributor

Bug

I encountered the error "docker-compose command not found" when running test-integration.

Solution

Github actions use docker compose instead of docker-compose.

Fix

Fix both Makefile target start-deps and stop-deps to check whether the command docker-compose (run locally) exists or docker-compose (run github actions) exists, and use it to spin up the containes

## Bug

I encountered the error "docker-compose command not found" when running `test-integration`.

## Solution

Github actions use `docker compose` instead of `docker-compose`.

## Fix

Fix both Makefile target `start-deps` and `stop-deps` to check whether the command `docker-compose` (run locally) exists or `docker-compose` (run github actions) exists, and use it to spin up the containes
@github-actions
Copy link

Lines Of Code

Language Files Lines Code Comments Blanks Complexity Bytes
Makefile 11 242 163 30 49 49 (+4) 9K (+264B)

@dohernandez dohernandez requested a review from vearutop November 28, 2024 13:36
@vearutop vearutop merged commit 20f22ce into master Dec 4, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants