Skip to content

v0.6.0

Compare
Choose a tag to compare
@bobheadxi bobheadxi released this 22 Mar 21:58
· 51 commits to master since this release
7773add

A long-overdue release featuring a variety of changes accumulated over the past year or so, most notably a completely reworked configuration format and a few experimental features (like Slack notifications). Thank you to everyone who contributed!

Publish (release) Publish (latest)


# MacOS, via homebrew
brew install ubclaunchpad/tap/inertia

# Windows, via scoop
scoop bucket add ubclaunchpad https://github.com/ubclaunchpad/scoop-bucket ; scoop install inertia

# via npm
npm install -g inertia-cli

⚠️ Breaking Changes

  • The Inertia configuration format has been completely revamped - project and remote configuration are now separate, and many options have changed/been added, and project configuration is now safe to comit and share - please refer to the usage documentation for more details (#577, etc.)
    • There's unfortunately no direct migration path at the moment, so the easiest way to update is to set up your project with Inertia from scratch again.
  • The Inertia daemon API's response formats have changed significantly to more consistently return JSON - refer to the new API documentation for more details. (#546, etc.)
    • If you aren't using the API directly, all you need to do is make sure you update your CLI to v0.6.0.

🎉 Enhancements

CLI/Daemon

  • New --debug flag can be provided when using the CLI to output debug logs (#593)
  • CLI output is now colourized and includes emoji by default (use --simple to disable this feature) (#599, #606, etc.)
  • A new /persist directory is now mounted into containers for use as a persistent data directory - see the usage documentation for more details (#653)
  • New inertia [remote] token --ssh command for generating a token over SSH (#643)
  • New inertia remote reset command to reset remotes (#644)
  • New inertia remote login command to set up a new remote by logging in as a user (#647)
  • Experimental: intermediary_containers can now be provided in configuration to tell Inertia to ignore certain containers (#639)

Build Notifications

  • A status badge can now be generated through shields.io using /status?badge=true (documentation)
  • Experimental: Slack configuration can now be provided for Inertia to post to a channel on build/deploy events (#585 by @terryz21, #661)

⚒ Fixes

Daemon

  • Repeated failed logins are now addressed more safely (#638)
  • inertia [remote] init now correctly bootstraps the daemon with a provided/generated webhook token so that your remote can immediately start accepting webhooks (#652)

CLI

  • Remote names that conflict with Inertia commands can no longer be added (#592)
  • inertia config set now correctly supports boolean types (#614 by @kip-13)
  • Misc. improvements to CLI output and behaviour

Provisioning

  • Improved filtering of ECS images that are not compatible with Inertia from recommendations (#640)

Docs

🏠 Internal

  • Most of Inertia's pipelines now use GitHub Actions (#628, #634, etc.)
  • Now building with go1.14 and go modules (#617, #619, #659 etc)
  • A simple build log is now collected (#578 by @seifghazi)
  • Improved tests and checks (#573, #575 by @yaoharry)
  • Dependency updates

For more related issues closed by this release, refer to the milestone. For a complete list of changes since v0.5.4, refer to the diff.