Skip to content

Latest commit

 

History

History
73 lines (54 loc) · 3.1 KB

changelog.md

File metadata and controls

73 lines (54 loc) · 3.1 KB

changelog

0.4.1 (2018-06-16)

Changes:

  • (#43) Bugfix: Images using ENTRYPOINT will not start when builder.entrypoint(..) is not set

0.4 (2018-02-15)

Changes:

  • Spotify docker client updated to version 8.9.2
  • (#41) Bugfix: Log message order can be lost

0.3 (2016-12-09)

Changes:

  • (#39) Accept not only file and paths but also volume names in mountFrom
  • (#38) Allow definition of restart policy on container start
  • (#36) Change docker client dependency to non-shaded
  • (#34) Expose underlying Docker API ContainerInfo to rule clients
  • (#35) Allow defining custom container startup conditions. Conditions are now specified with builder waitFor(StartCondition condition) and old builder methods (waitFor...(...)) are marked as deprecated. See custom condition example.

Fixes:

  • (#33) bug: rule does not allow publishing same internal port twice

0.2 (2016-09-13)

New features:

  • static (#23) and dynamic (#27) container linking (static and dynamic example)
  • (#24) wait for specific sequence of messages (instead single message) in output at container start (example)
  • (#2) wait for http url and tcp socket open on container start (examples: tcp socket wait and http wait). See notes
  • (#29) expose specified container port to random host port (example)

0.1.1

Released 2016-09-08

Fixes:

  • (#32) NullPointerException if an image don't have a repoTags

0.1

First stable version. Features:

  • use it as JUnit @Rule or @ClassRule
  • specify image name/tag
  • specify container name (equivalent of command line --name)
  • pass environment variables (--env or -e)
  • publish all exposed port to dynamically allocated host ports (--publish-all or -P)
  • publish specified container ports to specified host ports (-p - tcp or udp, no port ranges support yet)
  • mount host directory as a data volume (--volume or -v - also works for workstation dirs to boot2docker container with restriction that dir must be under user homedir)
  • specify extra /etc/hosts entries (--add-host)
  • access container stderr and stdout (forwarded to java System.err and System.out by default)
  • wait for message in output at container start