Skip to content

v0.1.7

Choose a tag to compare

@github-actions github-actions released this 12 Oct 18:48
· 67 commits to main since this release
6fdb398

Summary

pdt 0.1.7 builds every cloud image with Docker on your computer, and it now gets Docker ready for you.

  • Docker setup. A cloud deploy starts an installed Docker that is not running. When no Docker engine is installed, pdt lists the steps, asks once (--yes skips the question), and installs one: Colima on macOS, Rancher Desktop on Windows x64, or Docker Engine on Linux.
  • Local image builds (breaking). AWS, Azure, and Google Cloud now build the image with local Docker and forward your SSH agent into the build, so an app can install a private git dependency. A cloud deploy now needs Docker on the deploying computer.
  • First run after a deploy. When an app has no successful run, pdt deploy offers to start one and show its log. --run starts it with no question.
  • Logs. pdt logs --follow prints lines in the order the job wrote them on every provider, ends soon after the run ends, and reads Azure jobs from their live log stream. Google Cloud logs are no longer cut at 5000 lines.
  • Dashboard and run control. pdt gui opens a local dashboard. pdt pause, pdt unpause, and pdt run APP --deployed are new.
  • Clearer output. pdt says what it found and why before it acts, prints values you can copy in bold, and prints only JSON on stdout with --json.
  • PowerShell apps. pdt run installs the modules an app needs before a local run.

Breaking changes

  • feat(deploy)!: build every provider's image with local Docker (#66)

Features

  • feat(deploy): install and start Docker for the user when it is missing (#162)
  • feat(deploy): offer to start the first run and follow its log (#166)
  • feat(gui): add pdt gui, pause and unpause, and pdt run --deployed (#84)
  • feat(cli): say what pdt found and why before it acts (#151)
  • feat(console): bold every value pdt prints (#161)
  • feat(deploy): forward the SSH agent into local docker builds (#76)

Fixes

  • fix(logs): follow a running job from its live stream and print lines in time order (#167)
  • fix(run): install the PowerShell modules an app needs before a local run (#155)
  • fix(examples): install the pdt-cli apps extra in the starter and verify apps (#170)
  • fix(console): print names and ids plain bold (#165)
  • fix(cli): print only JSON on stdout for every --json path (#154)
  • fix(completion): never offer file names where pdt expects an app (#150)
  • fix(storage): release the state lock when a run fails (#64)
  • fix(aws): run jobs in a pdt security group, not the VPC default group (#96)
  • fix(console): name a shared-symbol currency only on the cost total line (#145)

Examples

  • Add azure-license-waste PowerShell example (#160), by @visch

Documentation

  • docs: say that a deploy starts or installs Docker (#173)
  • docs: match the docs and hints to the current commands (#159)
  • docs(agents): a run.py pin does not keep a job on an old pdt (#147)

Tests

  • test(completion): check that PowerShell Tab completion writes no error (#172)
  • test(completion): check app-name completion in bash and zsh (#157)

Refactoring

  • refactor(config): write enabled: through save_app_key (#158)

CI and release

  • ci(verify): run on main and by hand, and deploy the commit's own pdt (#141)
  • ci(verify): add a script that writes the verify:aws role policy (#100)
  • ci(release): generate release notes from merged PR titles (#142)
  • chore(release): 0.1.7 (#156)

Full changelog: v0.1.6...v0.1.7