Skip to content

Releases: buildkite-plugins/docker-compose-buildkite-plugin

v3.1.0 (🏃‍♀️ Run Lola Run)

24 Oct 11:47
7d971e4
Compare
Choose a tag to compare

Added

Fixed

Upgrading

To upgrade, update your pipeline.yml files:

steps:
  - command: test.sh
    plugins:
-     docker-compose#v3.0.3:
+     docker-compose#v3.1.0:
        run: app

v3.0.3 (🏙 Big City Small Updates)

30 Apr 12:29
f7f2d36
Compare
Choose a tag to compare

What's Changed

  • Add another ansi clearer line after a docker-compose pull (#218) @lox
  • Ensure docker_compose_config_version only matches "version: ..." (#219) @foygl

Upgrading

To upgrade, update your pipeline.yml files:

steps:
  - command: test.sh
    plugins:
-     docker-compose#v3.0.2:
+     docker-compose#v3.0.3:
        run: app

v3.0.2 (🍃 April Breeze)

11 Apr 13:16
aab453f
Compare
Choose a tag to compare

Fixed

Changed

Upgrading

To upgrade, update your pipeline.yml files:

steps:
  - command: test.sh
    plugins:
-     docker-compose#v3.0.1:
+     docker-compose#v3.0.2:
        run: app

v3.0.1 (🦀 Salty Crab)

05 Apr 01:03
@lox lox
a7cb30c
Compare
Choose a tag to compare

Added

Fixed

  • Fix bug where ansi output from docker-compose causes header times to be misaligned

Upgrading

To upgrade, update your pipeline.yml files:

steps:
  - command: test.sh
    plugins:
-     docker-compose#v3.0.0:
+     docker-compose#v3.0.1:
        run: app

v3.0.0 (🐚 Sea Shells)

25 Feb 00:49
@lox lox
270dc76
Compare
Choose a tag to compare

This major release includes some breaking changes (along with some neat new things)! ✨

🆙 Upgrading

To upgrade your steps from v2 of the plugin:

  • If you were using shell invocations in your commands (e.g /bin/bash -c "echo hello") you can remove them (e.g. echo blah)
  • Specifying shell as 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 -c for *nix and CMD.EXE /c for Windows.

steps:
  - command:
      - "yarn install"
      - "yarn run test"
    plugins:
      - docker-compose#v3.0.0:
          run: "app"

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 entrypoint in your image—we've added a command option (vs the command at 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 the docker-compose run invocation.

For example:

steps:
  - plugins:
      docker-compose#v3.0.0:
        run: "app"
        command: ["s3", "sync", "s3://my-bucket/dist/", "/app/dist"]

Specifying shell as 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 shell behaviour auto-detecting Windows and setting the shell option to CMD.exe /c. To use PowerShell, set the shell option 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:

steps:
  - plugins:
      docker-compose#v3.0.0:
        run: "app"
        skip-checkout: true

Full Changelog

  • Add command parameter with support for array-based arguments (#186) @lox
  • Detect windows and set sensible defaults (#190) @lox
  • Correctly handle . in docker compose service names. (#192) @robholland
  • Cleanup dependency and linked service output (#196) @lox
  • Add an extra test for multi-line commands (#200) @lox
  • Add skip checkout option (#202) @lox
  • Add build aliases (#201) @lox

v2.6.0 (🎄 Holiday Cheer)

22 Dec 21:51
410e278
Compare
Choose a tag to compare

Added

Fixed

  • Support cache_from directive in composefile 2.2+ (#163) @lox
  • Move cleanup to a pre-exit hook to cleanup cancelled builds (#172) @lox
  • Push stderr to log file as well instead of outputting to terminal (#176) @GreyKn

Other Changes

  • Replace eval with xargs for parsing BUILDKITE_COMMAND (#165) @lox
  • Update buildkite/plugin-tester:latest Docker digest to 38c4bc (#168) @renovate[bot]
  • Remove incorrect reference to cleanup function (#175) @lox
  • Update buildkite plugin shellcheck to v1.1.2 (#178) @renovate[bot]
  • Use label over name for build step config in examples (#181) @petervandoros

Upgrading

To upgrade, update your pipeline.yml files:

steps:
  - command: test.sh
    plugins:
-     docker-compose#v2.5.1:
+     docker-compose#v2.6.0:
        run: app

v2.5.1 (🛁 Bath Time)

20 Jul 09:42
7d212d4
Compare
Choose a tag to compare

Fixed

Upgrading

To upgrade, update your pipeline.yml files:

steps:
  - command: test.sh
    plugins:
-     docker-compose#v2.5.0:
+     docker-compose#v2.5.1:
        run: app

v2.5.0 (✈️ Your Flight Has Been Cancelled)

03 Jul 01:18
0df24a9
Compare
Choose a tag to compare

Added

  • Added BUILDKITE_DOCKER_DEFAULT_VOLUMES env var support, for specifying default volume mounts in agent hooks (#157) @asford

Upgrading

To upgrade, update your pipeline.yml files:

 steps:
   - command: test.sh
     plugins:
-      docker-compose#v2.4.1:
+      docker-compose#v2.5.0:
         run: app

v2.4.1 (⛰ Vail)

13 Jun 13:00
fc41171
Compare
Choose a tag to compare

Fixed

Upgrading

To upgrade, update your pipeline.yml files:

 steps:
   - command: test.sh
     plugins:
-      docker-compose#v2.4.0:
+      docker-compose#v2.4.1:
         run: app

v2.4.0 (🔵 Blueberry Muffin)

07 Jun 06:10
d31864e
Compare
Choose a tag to compare

Added

  • Added volume option for adding volumes to run commands (#149) @clee
  • Added workdir option for setting the working dir of run comments (#150) @asford
  • Added ansi option for disabling ANSI output of run commands (#153) @gugahoi

Upgrading

To upgrade, update your pipeline.yml files:

 steps:
   - command: test.sh
     plugins:
-      docker-compose#v2.3.0:
+      docker-compose#v2.4.0:
         run: app