Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix start-deps #61

Merged
merged 1 commit into from
Dec 4, 2024
Merged

Fix start-deps #61

merged 1 commit into from
Dec 4, 2024

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
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.

2 participants