Skip to content

Releases: Skyscanner/turbolift

3.1.1

26 Aug 14:10
55ca75f
Compare
Choose a tag to compare

Changes

  • feat(create_prs): check whether PR description file has been updated @Dan7-7-7 (#145)
  • Bump goreleaser/goreleaser-action from 5.1.0 to 6.0.0 @dependabot (#140)

3.1.0

05 Aug 08:55
b5cd6d2
Compare
Choose a tag to compare

Changes

Add file output to foreach command @rnorth (#141)

When running turbolift foreach there are several frequent use cases that were more difficult than they should have been:

  • reviewing the logs on a per-repo basis - logs were previously only in one giant scrollback
  • reviewing just failure or just success logs
  • (very often) gathering the names of the repos where the command succeeded or failed - for example, when running foreach to run tests

Now turbolift foreach:

  • Creates a temp directory each time it's run, which will likely exist until system reboot
  • In that directory creates the following structure, where org/repo/logs.txt is repeated for every repository (mirroring the structure of the work directory):
some-temp-dir
   \ successful
       \ repos.txt        # a list of repos where the command succeeded
       \ org
           \ repo
               \ logs.txt # logs from the specific foreach execution on this repo
           ....
   \ failed
       \ repos.txt        # a list of repos where the command succeeded
       \ org
           \ repo
               \ logs.txt # logs from the specific foreach execution on this repo
           ....

Some notable points:

  • the emitted repos.txt files are suitable for replay back into turbolift using the -r option
  • we don't stop the current logging to terminal output - this is mainly for backwards compatibility

Other changes

  • Bump golangci/golangci-lint-action from 6.0.1 to 6.1.0 @dependabot (#142)
  • fix(clone): provide helpful message when fork conflicts cause an error @Dan7-7-7 (#139)

3.0.0

17 Jun 14:10
6997ad4
Compare
Choose a tag to compare

Changes

Breaking change

  • fix(foreach): Remove shell invocation from foreach @annettejanewilson (#136)

    Turbolift's foreach command no longer invokes a shell to interpret your command. This fixes some issues around passing an empty string as an argument and difficulty escaping shell characters. However, it also means that you can no longer directly pass turbolift a quoted script containing redirects or pipes. Instead, you will need to explicitly invoke a shell yourself. For example, if you previously used turbolift foreach 'script | with > redirects' you would now use turbolift foreach -- bash -c 'script | with > redirects'. We hope that the improved consistency and predictability makes up for needing to be a bit more explicit in this advanced usage.

Other changes

  • feat(pr-status): add build status to pr-status list table @jorgedc93 (#129)

2.4.1

03 Jun 14:52
77c3a54
Compare
Choose a tag to compare

Changes

2.4.0

25 Apr 13:52
9c33426
Compare
Choose a tag to compare

Changes

2.3.1

13 Nov 10:38
dfa566c
Compare
Choose a tag to compare

Changes

2.3.0

09 Nov 12:55
119f8ff
Compare
Choose a tag to compare

Changes

2.2.0

22 May 11:35
ff56803
Compare
Choose a tag to compare

Changes

  • Add pr-status command @rnorth (#67)
  • Bump golang.org/x/sys from 0.0.0-20210603125802-9665404d3644 to 0.1.0 @dependabot (#93)
  • Add brew release instructions to README, and fix brew formula linting issues @rnorth (#86)

2.1.1

02 Nov 14:44
2fb658e
Compare
Choose a tag to compare

Changes

2.1.0

01 Aug 08:18
dea079b
Compare
Choose a tag to compare

Changes

🐛 Bug Fixes