Skip to content

Releases: ubclaunchpad/inertia

v0.5.1 Kiwi

03 Feb 02:55
8d45be4
Compare
Choose a tag to compare

Fixes

  • EC2 provisioning now uses provided regions correctly (#527)
  • Keys generated during provisioning are now saved with perm 0400 (#527)

Internal

  • AWS SDK version bump (#527)
  • Dockerfile improvements (#524)
  • Minor dev and doc fixes
  • WIP Inertia web work (#508)

Please refer to the complete diff for more details

v0.5.0 Jackfruit

19 Jan 19:16
95291de
Compare
Choose a tag to compare

Bug fixes, two-factor authentication, polish, reorganized commands, internal refactors, and more bug fixes!

Deployed with Inertia


# MacOS
brew install ubclaunchpad/tap/inertia

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

⚠️ Breaking Changes

  • Environment variable encryption format has been changed - old encrypted variables will need to be deleted and added again
  • A number of CLI commands have been moved, and flags renamed - refer to CLI tooltips for more details (some are documented here as well)
  • CLI binaries for darwin are now built for amd64 instead of i386 (#476)

🎉 Enhancements

CLI/Daemon

  • inertia [remote] user login for authenticating against existing user (@bfbachmann #423)
  • inertia [remote] user totp [enable|disable] for configuring 2-factor authentication (@bfbachmann, @tristancalderbank, @kieranhalliday #448, #434, #436, #430, #497 )
  • inertia [remote] token for generating JWTs (@leesw98, #398)
  • Support for passphrase-protected PEM keys (#487)
  • Host bootstrapping now supports system, systemctl, or just nohup (#480)
  • Config commands moved to inertia config, flag naming improved, CLI output in error scenarios are now cleaner (#511)
  • New upgrade convenience functions: (#498)
    • inertia [remote] upgrade to update the daemon
    • inertia config upgrade to update configuration version
  • Inertia now uses docker-compose 1.23.2 (#516)

Provisioning

  • Warning is now shown when no projects ports are provided (#468)

⚒ Fixes

Daemon

  • Limit for failed login attempts increased to 10 (#489)
  • Files sent to remote prior to inertia [remote] up no longer get deleted (#482, #515)
  • Badly formatted credentials return 400 instead of 500 (#483), other behaviours also improved (#496)
  • Incorrect authentication now returns StatusUnauthorized (@kanozec #435)
  • Fixed bug where empty credentials would mistakenly authenticate a user (9fc1664)
  • Websockets (notably logs) now close properly (#469, #514)
  • Webhook payloads are now properly verified (#392)
  • Prune endpoint has been fixed (#517)
  • Env encrypt keys are now persisted across restarts (#507)

CLI

  • inertia [remote] ssh now uses the normal ssh client, and interactions now work properly (#485)
  • Inertia remote cleanup script now works properly (#464)
  • Bootstrapping now installs open-ssh if ssh-keygen is not available (#501)
  • inertia [remote] remove is now inertia [remote] uninstall, and has been fixed (#497)

Provisioning

  • ec2 instance provisioning user options now propagate correctly (#462)
  • Improved image listing for ec2 provisioning to avoid incompatible options (#503)

Docs

🏠 Internal

  • Now building with Go 1.11+ (#488)
  • New encryption format for environment variables (@dreamer-89 #471)
  • logrus removed from CLI (#465)
  • Internal restructuring of daemon, improved mocking for tests (#505)
  • Internal restructuring of inertia cmd code (#511, #517)
  • Continued work on the Inertia Web revamp (see the project, thanks @asitu @zhulia96 )

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

v0.5.0-rc3

14 Jan 04:59
5bda904
Compare
Choose a tag to compare
v0.5.0-rc3 Pre-release
Pre-release

Release candidate for v0.5.0 - see the milestone.

New since v0.5.0-rc2: changes

v0.5.0-rc2

09 Jan 02:46
3c15d08
Compare
Choose a tag to compare
v0.5.0-rc2 Pre-release
Pre-release

Release candidate for v0.5.0 - see the milestone.

New since v0.5.0-rc1: changes

v0.5.0-rc1

06 Jan 20:24
f7293a7
Compare
Choose a tag to compare
v0.5.0-rc1 Pre-release
Pre-release

Release candidate for v0.5.0 - see the milestone.

Install using brew install ubclaunchpad/inertia --devel

v0.4.4 Imbe

11 Aug 22:41
5413956
Compare
Choose a tag to compare

Daemon

  • Fixed bug where inertiad would falsely detect container shutdowns as abnormal (#371)
  • Fixed bug where refs do not update if they were force-pushed (#382)
  • Fixed bug where refs with multiple slashes (refs/heads/branch/name) do not get branch names extracted correctly (#382)
  • Reduced verbosity of webhook events in the inertiad logs (#378, #382)

CLI

  • Fixed issue where inertia [remote] logs lags significantly when there are a lot of logs by limiting to 500 entries by default (this can be configured via a --entries flag) (#372, #382)

v0.4.3 Honeydew Melon

06 Aug 08:42
6f533af
Compare
Choose a tag to compare

Daemon

  • Fixed bugs where inertia [remote] reset causes inertiad to break (#345, #346)
  • Fixed bug where inertiad would attempt to connect to dockerd using an incompatible API version (#347)
  • Fixed bug where dockerfile builds would start containers that did not expose any ports (#356)
  • Fixed bug where dockerfile builds would successfully return 201 even when build fails (#363)

CLI

  • Added ability to use AWS profile files in inertia provision ec2 (#355)
  • Fixed bug where ec2 provisioning output was formatted incorrectly (#357)
  • Fixed bug where CLI would not correctly ask user for input during inertia init (#344)
  • Fixed bug where CLI would not correctly generate filepaths in Windows (#361) - this PR also added Windows CI builds for the Inertia CLI

v0.4.2 Grape

29 Jul 05:57
9a21acc
Compare
Choose a tag to compare

Daemon

  • Support for Bitbucket webhooks and preliminary support for Dockerhub hooks (the latter doesn't do anything yet) (@brian-nguyen #325)
  • Inertia now watches for container failures and logs unexpected container stoppages - current behaviour is to shut down entire project should one container fail (#334)
  • Features like environment variable setting is now accessible before inertia [remote] up (#334)

CLI

  • Fixed issue where inertia [remote] remove does not shut down project containers (@leesw98 #331)

Other

Work on Inertia web continues thanks to @rogermyang @asitu @zhulia96 @PiggySpeed 😎

v0.4.1 Fig

14 Jul 21:58
9fd7258
Compare
Choose a tag to compare

Daemon

  • Daemon now prunes images regularly and a new command, inertia [remote] prune, will do a more forced cleanup (#295)
  • New inertia [remote] remove command to clean up Inertia assets from remote host (@leesw98 #314)
  • Support for GitLab webhooks (@brian-nguyen #301)

Internal

Documentation

  • Improved CLI tooltips (#316)
  • Simple package docs for local and provision (@CorreyL #306)
  • Minor improvements to contribution guides (#299)

v0.4.0 Eggplant

30 Jun 22:41
Compare
Choose a tag to compare

At long last, this release brings 45 merged pull requests and features like ENV configuration and persistence, file sending, instance provisioning and setup via EC2, and lots of new configuration options!

Deployed with Inertia

# MacOS
brew install ubclaunchpad/tap/inertia

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

Breaking Changes

  • Configuration format has changed - make sure you regenerate your inertia.toml files
  • Remote file directory structure has changed
  • Web app is currently broken as it gets reworked 😢
  • The daemon port now defaults to 4303

New Features

Instance Provisioning with Amazon EC2 🚀

  • Quick-start your application using Inertia's simple instance provisioning tools to take advantage of Amazone's free EC2 instance offering (750hrs/month for your first 12 months) - see the inertia provision ec2 commands for more details! (#265)

Environment Variables and File Transfers 📁

  • Environment variables for your containers can now be configured via inertia [remote] env. Saved variables will be injected into each container at startup, and are stored in plain text by default but can also be encrypted via the --encrypt flag (#227)
  • File transfers (for .env and other configuration your application might need) can now be sent to your remote's Inertia project directory using the inertia [remote] send command (#227)

Configuration 🔨

  • Buildfile paths (for Dockerfile, docker-compose.yml, etc) can now be set from inertia.toml or during initialization if Inertia fails to find an appropriate file (#254)
  • No more duplicate remote names with new map-based remote configuration (#282)
  • Specify which config file Inertia should use with the --config flag (#275)
  • Enable certificate verification on client commands using the --verify-ssl flag (#257)
  • Inertia directories are now contained in an inertia folder on your remote (#228)
  • Configuration can now be modified from Inertia using inertia remote set (#191)
  • WebHook secret can now be randomly generated if left blank during initialization (#184)
  • Default port is now 4303 to reduce conflicts (#184)

UI/UX improvements 🎨

  • All commands now use the stream option by default (use -s is for the old behaviour) (#256)
  • Links to GitHub settings are populated automatically following remote initialization (#172)
  • More git hosts are now supported for basic deployment operations (#229), but no continuous deployment... yet 🤔
  • If your config file version doesn't match your CLI version, a warning will be displayed (#254)

Bug fixes

  • Fixed issue where repositories with dashes and periods in their name would break repository name extraction (#200)

Internal