github lunarway/shuttle v0.20.0

latest releases: v0.24.2, v0.24.1, v0.24.0...
12 months ago

Overview

Reworking the CLI

Experiment/with actual args (#185) @kjuulh

This is considered a major change, as we technically don't break anything, but introduces a new way of interacting with shuttle, as well as reworking its CLI.

  • Shuttle now supports actual flags --flag something, as well as the regular flag=something, they can even be mixed, though flags will take precendence.
  • If the environment variable SHUTTLE_INTERACTIVE=true or --interactive is set, it will prompt you for any required missing values. As such you can mix this with --flag and flag=something as well. This can be useful for filling what would normally be commands with a lot of options.

Golang actions going GA

experiment/dagger automatic golang build (#178) @kjuulh

Golang actions have been a feature for a while, but it wasn't that useful, as you needed golang to build the golang binaries required to run the actions. Golang actions are an alternative to the regular shell actions. I.e. shuttle run build, you can now choose to build them in either bash, or golang.

We see golang as being the way forward and this opens the possibilities of doing so.

To create a golang action see docs/golang-actions.md

Now if golang is not available on the system, we will fall back on docker, and build the binaries in docker instead, and handing them to the system. This gives the same benefit though a tad bit slower. And upcoming feature is to pull binaries from the plans themselves. So that we don't have to build anything, unless you've got local actions to your service.

Changes

Dependency Updates

Full Changelog: v0.19.2...v0.20.0

Don't miss a new shuttle release

NewReleases is sending notifications on new releases.