Releases: ubclaunchpad/inertia
v0.5.1 Kiwi
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
Bug fixes, two-factor authentication, polish, reorganized commands, internal refactors, and more bug fixes!
# 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 justnohup
(#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 daemoninertia 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 normalssh
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 nowinertia [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
- References to deprecated
--stream
now removed (@rwblickhan #440, #466) - Improved contribution notes on
testenv
(#457) - Improved webhook documentation (@rwblickhan #445, #486)
- Daemon API address now reported correctly (#467)
- Misc adjustments (#470, #481, #510 )
🏠 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
Release candidate for v0.5.0 - see the milestone.
New since v0.5.0-rc2: changes
v0.5.0-rc2
Release candidate for v0.5.0 - see the milestone.
New since v0.5.0-rc1: changes
v0.5.0-rc1
Release candidate for v0.5.0 - see the milestone.
Install using brew install ubclaunchpad/inertia --devel
v0.4.4 Imbe
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
v0.4.3 Honeydew Melon
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
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
Other
Work on Inertia web continues thanks to @rogermyang @asitu @zhulia96 @PiggySpeed 😎
v0.4.1 Fig
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
v0.4.0 Eggplant
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!
# 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 theinertia [remote] send
command (#227)
Configuration 🔨
- Buildfile paths (for
Dockerfile
,docker-compose.yml
, etc) can now be set frominertia.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
- All binaries are now smaller (both the CLI and the daemon)
- Lots of refactoring (#190, #195, #217, #220, #291, #290, #269, #263, ...)
- Infrastructure improvements (#235, #224)
- Documentation: improved GoDocs (#221), improved contribution guide (#212, #286)
- Inertia Web revamp (#274, #272, #268, #264, #251, #208, #198)