Skip to content

0.7.0-alpha1

Pre-release
Pre-release
Compare
Choose a tag to compare
@zombiezen zombiezen released this 26 Apr 15:27
· 39 commits to main since this release
9adbff4

Added

  • A new --mode option for build, exec, and run allows specifying whether commands should be run inside or outside Docker.
  • yb build can now build multiple targets in one invocation.
  • Build environments will now pick up credentials from $HOME/.netrc after any credentials from $XDG_CONFIG_HOME/yb/netrc. This can be overridden with the NETRC environment variable. To revert to the previous behavior, set NETRC=/dev/null.
  • yb now obeys the DOCKER_HOST environment variable.
  • yb checkconfig and other commands that read .yourbase.yml will display an error if the targets have a dependency cycle.
  • yb attempts to detect some common Docker configuration issues and inform the user about them.
  • yb now obeys the NO_COLOR environment variable and propagates it to the build environment.

Changed

  • Commands run as part of build, exec, or run now run without Docker by default. You can get the old behavior by running with --mode=container.
  • Tool output has been changed to be more compact, to be easier to trace command output, and to include more timing information.
  • yb platform is now an alias for yb version.

Fixed

  • yb init no longer crashes when not given a --lang flag if there was a problem connecting to the Docker daemon.
  • yb build and yb run now build indirect dependencies, not just direct dependencies.

Deprecated

  • The host_only property in .yourbase.yml is now ignored. It may be removed in a future version.
  • The --no-container option in build and run is now equivalent to --mode=no-container. It is still recognized, but no longer shown in documentation and may be removed in a future version.