Update buildkite plugin docker-compose to v3 #7
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v2.6.0->v3.0.0Release Notes
buildkite-plugins/docker-compose-buildkite-plugin
v3.0.0Compare Source
This major release includes some breaking changes (along with some neat new things)! ✨
🆙 Upgrading
To upgrade your steps from v2 of the plugin:
/bin/bash -c "echo hello") you can remove them (e.g.echo blah)shellas a string is no longer supported, and needs to be changed to use the array syntax.🐢 Improved Shell Handling (New)
This plugin can now run multi-command steps by default. It does this by running commands via a shell—the default shell is
/bin/sh -e -cfor *nix andCMD.EXE /cfor Windows.This also means if your commands include bash-ism's, like
make && make publish, this will also just work, instead of failing with a cryptic Docker failure message.If you want to skip the shell—for example if you have a custom
entrypointin your image—we've added acommandoption (vs thecommandat the Buildkite step level) that takes an array of parameters. This is handy for shell-less, single binary images, and allows for very precise control of what arguments are passed to thedocker-compose runinvocation.For example:
Specifying
shellas a string is no longer supported. You need to use the array syntax now.🏆 Automatic Windows shell support (New)
Windows Docker images are now better supported, with the new
shellbehaviour auto-detecting Windows and setting theshelloption toCMD.exe /c. To use PowerShell, set theshelloption to[ "powershell", "-Command" ].Optionally skip checkout
If you have a prebuilt image, you often don't need a checkout on the agent. You can skip this now:
Full Changelog
Renovate configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "
rebase!".🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot. View repository job log here.