Arquillian Cube Extension 1.1.0 Released

The Arquillian team is proud to announce the 1.1.0 release of the Arquillian Cube Extension component!

New version of Arquillian Cube 1.1.0 has been released with new features and few bug fixes.

What’s new

Possibility for other custom strategies besides customAwaitStrategy

BeforeStop events can be very restrictive at times. Now you can write your own BeforeStop logic. To implement a custom before stop logic, you need to create a class implementing org.arquillian.cube.spi.beforeStop.BeforeStopAction and registering it on cube definition.

public class CustomBeforeStopActionImpl implements BeforeStopAction {
 
   private DockerClientExecutor dockerClientExecutor;
   private String containerID;
 
   @Override
   public void doBeforeStop() {
     //Logic
  }
}

Registration of previous action.

tomcat:
   image: tutum/tomcat:7.0
   beforeStop:
    - customBeforeStopAction:
      strategy: org.arquillian.cube.docker.impl.beforeStop.CustomBeforeStopActionImpl

Add possibility to ignore docker-compose location / (and default ones)

New cube property has been added to disable the cube definitions. This is useful if you are using container objects for testing and you’ve got a docker-compose on default locations and you won’t to be used by cube.

<extension qualifier="docker">
   <property name="ignoreContainersDefinition">true</property>
</extension>

By default its value is false.

Many thanks to James Netherton and jelmew for their help.

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.1.0 view tag
Release date 2017-04-06
Released by Bartosz Majsak
Compiled against

Published artifacts org.arquillian.cube

  • org.arquillian.cube » arquillian-cube-api jar javadoc pom
  • org.arquillian.cube » arquillian-cube-spi jar javadoc pom
  • org.arquillian.cube » arquillian-cube-core jar javadoc pom
  • org.arquillian.cube » arquillian-cube-containerless jar javadoc pom
  • org.arquillian.cube » assertj-docker-java jar javadoc pom
  • org.arquillian.cube » arquillian-cube-docker jar javadoc pom
  • org.arquillian.cube » arquillian-cube-docker-drone jar javadoc pom
  • org.arquillian.cube » arquillian-cube-docker-reporter jar javadoc pom
  • org.arquillian.cube » arquillian-cube-docker-restassured jar javadoc pom
  • org.arquillian.cube » arquillian-cube-openshift jar javadoc pom
  • org.arquillian.cube » arquillian-cube-kubernetes-fabric8 jar javadoc pom
  • org.arquillian.cube » arquillian-cube-kubernetes jar javadoc pom
  • org.arquillian.cube » arquillian-cube-kubernetes-reporter jar javadoc pom
  • org.arquillian.cube » arquillian-cube-requirement jar javadoc pom
  • org.arquillian.cube » arquillian-cube-bom pom

Release notes and resolved issues 5

Bug
Enhancement

Thanks to the following list of contributors: Bartosz Majsak, Jelmer Van Amen, Ioannis Canellos, Alex Soto, James Netherton