Arquillian Cube Extension 1.0.0.Alpha8 Released

Since we wrote this post we didn't laze around. Check our latest announcement.

The Arquillian team is proud to announce the 1.0.0.Alpha8 release of the Arquillian Cube Extension component!

What’s included in the Alpha8 release?

System properties resolution in Docker Compose
tomcat:
  env_file: ${env.filename}
  image: tutum/tomcat:7.0
  ports:
      - "8089:8089"
      - "8088:8088"
      - "8081:8080"

Normal property resolution is not done on the configured docker-compose file.

Cache URLAsset for ShrinkWrap
archive.addAsset(
   new CacheUrlAsset(new URL("http://example.org/test"), 2, TimeUnit.SECONDS)
)

CacheUrlAsset will cache the URL response for a certain time before trying again. This can be used to avoid redownloading larger files per test run to save some time.

See complete list of issues resolved below.

What is Arquillian Cube Extension?

With Arquillian Cube you can control the lifecycle of Docker images as part of the test lifecyle, either automatically or manually. This gives you the chance to scale up from a integration/functional test level all the way up to the system test level.

Release details

Component Arquillian Cube Extension
Version 1.0.0.Alpha8 view tag
Release date 2016-01-20
Released by Aslak Knutsen
Compiled against

Published artifacts org.arquillian.cube

Release notes and resolved issues 30

Enhancement
Bug
Documentation
In Progress
Other

Thanks to the following list of contributors: Alex Soto, EddĂș MelĂ©ndez Gonzales, Aslak Knutsen, David Pequegnot, Michael Irwin, Ivan St. Ivanov, Robert.panzer

Arquillian Cube Extension 1.0.0.Alpha7 Released

Since we wrote this post we didn't laze around. Check our latest announcement.

The Arquillian team is proud to announce the 1.0.0.Alpha7 release of the Arquillian Cube Extension component!

What is Arquillian Cube Extension?

With Arquillian Cube you can control the lifecycle of Docker images as part of the test lifecyle, either automatically or manually. This gives you the chance to scale up from a integration/functional test level all the way up to the system test level.

Release details

Component Arquillian Cube Extension
Version 1.0.0.Alpha7 view tag
Release date 2015-07-18
Released by Aslak Knutsen
Compiled against

Published artifacts org.arquillian.cube

Release notes and resolved issues 3

Enhancement

Thanks to the following list of contributors: Alex Soto, Aslak Knutsen

Arquillian Cube Extension 1.0.0.Alpha6 Released

Since we wrote this post we didn't laze around. Check our latest announcement.

The Arquillian team is proud to announce the 1.0.0.Alpha6 release of the Arquillian Cube Extension component!

What is Arquillian Cube Extension?

With Arquillian Cube you can control the lifecycle of Docker images as part of the test lifecyle, either automatically or manually. This gives you the chance to scale up from a integration/functional test level all the way up to the system test level.

Release details

Component Arquillian Cube Extension
Version 1.0.0.Alpha6 view tag
Release date 2015-06-25
Released by Aslak Knutsen
Compiled against

Published artifacts org.arquillian.cube

Release notes and resolved issues 7

Enhancement
Bug

Thanks to the following list of contributors: Aslak Knutsen, Alex Soto, Charles Zhao

Arquillian Cube Extension 1.0.0.Alpha5 Released

Since we wrote this post we didn't laze around. Check our latest announcement.

The Arquillian team is proud to announce the 1.0.0.Alpha5 release of the Arquillian Cube Extension component!

What’s included in the Alpha5 release?

New CubeController APIs

The CubeController API got a bit of an upgrade and you can now programtically do things like copy files and check internal states.

  • Copy files from Container
void copyFileDirectoryFromContainer(String cubeId, String from, String to)
  • See changes to the filesystem
List<ChangeLog> changesOnFilesystem(String cubeId);
  • Output running Container processes
TopContainer top(String cubeId);
  • Copy log files
void copyLog(String cubeId, boolean follow, boolean stdout, boolean stderr, boolean timestamps, int tail, OutputStream outputStream);
New external configuration file

The configuration property dockerContainers or dockerContainersFile can now be replaced by simply having a file on classpath called cube. If the file exists and the dockerContainersX configuration options are not set then this file will be read instead. The format of the content of the file is still the same.

Default await strategy changed

The default await strategy has up until now been NativeAwaitStrategy which use the Docker API to see if the container has started or not. This highly depends on the container and how it’s written.

In Alpha5 the default strategy has changed to use PollingAwaitStrategy with the ss option. Now Cube will not determine the container started until all confiugred ports are available. The check is done from inside the container to avoid any false positives of rerouted port being opened before bound on the target container.

What is Arquillian Cube Extension?

With Arquillian Cube you can control the lifecycle of Docker images as part of the test lifecyle, either automatically or manually. This gives you the chance to scale up from a integration/functional test level all the way up to the system test level.

Release details

Component Arquillian Cube Extension
Version 1.0.0.Alpha5 view tag
Release date 2015-04-07
Released by Aslak Knutsen
Compiled against

Published artifacts org.arquillian.cube

Release notes and resolved issues 6

Bug
Enhancement

Thanks to the following list of contributors: Alex Soto, Aslak Knutsen

Arquillian Cube Extension 1.0.0.Alpha4 Released

Since we wrote this post we didn't laze around. Check our latest announcement.

The Arquillian team is proud to announce the 1.0.0.Alpha4 release of the Arquillian Cube Extension component!

What’s included in the Alpha4 release?

Support for Boot2Docker!

If you are using boot2docker there are some parameters that depends on the installation of the boot2docker. For example boot2docker ip is not localhost and may change every time you start a new boot2docker instance. Also every time you start boot2docker copies required certificates to home directory of local machine.

Arquillian Cube offers some automatic mechanisms to use boot2docker in Cube.

Read more about it in the documentation.

Support for unix sockets

With the update to the latest version of Docker-java we now support Docker hosts running on a unix socket.

Auto default serverUri if not configured

The serverUri configuration option is where you define the Uri of Docker server. This configuration option is no longer mandatory and Arquillian Cube will attempt to auto set the values for the simplest use cases.

The default values are:

  • Linux unix:///var/run/docker.sock
  • Windows https://boot2docker:2376
  • MacOS https://boot2docker:2376
Fetch files from running container

Sometimes when the tests has finished and container is stopped you want to inspect some data like container console or getting a file from the container to manual inspecting. In these cases you can configure each container to copy console log or copy a file/s from container to local machine just before container is stopped.

tomcat_default:
  image: tutum/tomcat:7.0
  beforeStop:
    - copy:
      from: /test
      to: /tmp

    - log:
      to: /tmp/container.log

Read more about it in the documentation.

Multi thread container auto start up

When you use the autoStartContainers option Arquillian Cube will sort and arrange for the Docker containers and their linked containers to be started in parallel in the correct order.

Support for Arquillian Standalone mode

Arquillian Cube can now be used without any Arquillian Container, via e.g. the arquillian-junit-standalone artifact. With this configuration you get access to all Cube features that are not related to the Java Container support, like CubeController injection.

What is Arquillian Cube Extension?

With Arquillian Cube you can control the lifecycle of Docker images as part of the test lifecyle, either automatically or manually. This gives you the chance to scale up from a integration/functional test level all the way up to the system test level.

Release details

Component Arquillian Cube Extension
Version 1.0.0.Alpha4 view tag
Release date 2015-02-25
Released by Aslak Knutsen
Compiled against

Published artifacts org.arquillian.cube

Release notes and resolved issues 28

Enhancement
Bug
Documentation
Other
Verify

Thanks to the following list of contributors: Alex Soto, Aslak Knutsen, Todd Nine, Ralf Battenfeld, James Netherton, Brunogilbertcrane