-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add wrap_command and docker compose v2 support #1
base: master
Are you sure you want to change the base?
Conversation
# If there are any prebuilts, we need to generate an override docker-compose file | ||
if [[ ${#prebuilt_services[@]} -gt 0 ]] ; then | ||
echo "~~~ :docker: Creating docker-compose override file for prebuilt services" | ||
build_image_override_file "${prebuilt_service_overrides[@]}" | tee "$override_file" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TIL tee
tests/wrap_command.bats
Outdated
load '../lib/run' | ||
load '../lib/wrap_command' | ||
|
||
# export DOCKER_COMPOSE_STUB_DEBUG=/dev/tty |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm guessing this is for debugging?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, all of the specs in this repo keep those lines for debugging failures.
tests/wrap_command.bats
Outdated
export BUILDKITE_PLUGIN_DOCKER_COMPOSE_CLEANUP=false | ||
|
||
stub docker-compose \ | ||
"-f docker-compose.yml -p buildkite1111 build --pull myservice : echo built myservice" \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is -p
just the name of the container?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-p
is the name of the docker compose project
@ryansch this has already been approved |
These files need to be renamed to indicate intent at some point.
--parallel
as it has no effectI still need to add support for the new default
compose.yml
config file.