Skip to content

1.2.0

Compare
Choose a tag to compare
@adamtulinius adamtulinius released this 21 Feb 10:43
· 160 commits to master since this release
5a7772e

This release contains 17 new commits, by three authors, and we've now hit exactly 200 commits 🎉

The main highlights of this release are

  • easier debugging with the new --show-trace flag
  • a new sub-command, 'list-secrets', that can output secrets in json format
  • an option for skipping SSH host key checking
  • command based health checks that honer the timeout option on the health check type
  • new flags for specifying build targets either as an inline lambda expression (--target) or by a file containing an attrset of build targets (--target-file), see #38
  • the flag --build-arg has been deprecated

and various bug fixes.

Commits:

  • c9b07b7: Read mktemp output from stdout only, and put stderr output into a separate stream (@johanot)
  • 189b16c: Added env var SSH_SKIP_HOST_KEY_CHECK which disables host key checking on morph ssh context. (@johanot)
  • 7c4416a: Let both scp and ssh commands use the same function for building initial ssh args (@johanot)
  • a5e0824: gofmt fixes (@Shados)
  • 515afc6: Control value of morph version output via ldflags (@johanot)
  • 98a14b4: Add a String() method to the Secret type (@Shados)
  • e6fff65: Add a 'list-secrets' subcommand to display secrets for a deployment (@Shados)
  • ce2975c: Add a '--json' flag to the 'list-secrets' subcommand, for JSON output (@Shados)
  • 29b975d: Added --show-trace flag to morph (@johanot)
  • 29b0319: go fmt (@johanot)
  • facd2f2: Add variants of ssh.Cmd,ssh.SudoCmd that takes a context.Context as arg (@adamtulinius)
  • 3761136: Use context.Context for timeout in SSHContext.CmdInteractive (@adamtulinius)
  • bfb367a: ensure consistent timeout behaviour for health checks (@adamtulinius)
  • 4230d3b: Add a 'buildTargets' argument to the machine builder Nix expression (@Shados)
  • 27fe820: Add a 'target-file' build flag, for importing build targets from file (@Shados)
  • b3eb9cb: Add a 'target' build flag, for passing a single custom target on the CLI (@Shados)
  • 5f0476d: delay health checks until host has finished rebooting (@adamtulinius)