Arquillian Cube Extension 1.14.0 Released

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

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

We are delighted to announce a new version of Arquillian Cube 1.14.0 with a bunch of awesome features and bug fixes.

What’s new

Istio Support

We have added Istio support so you can annotate your class with @IstioResource to apply an Istio resource. Alternatively, if you prefer using programmatic way we have provided IstioAssistant. To use it you need to import following dependency:

<dependency>
  <groupId>org.arquillian.cube</groupId>
  <artifactId>arquillian-cube-istio-kubernetes</artifactId>
  <version>${version}</version>
  <scope>test</scope>
</dependency>

Same dependency can be used either with Kubernetes or OpenShift.

Here you can see a full example.

Allow OpenShift Template to use resources on classpath

You can define OpenShift Templates as classpath resources using classpath: protocol. @Template(url = "classpath:hello-template.yaml")

Create OpenShift Template DSL for OpenShiftAssistant

We have added a new capability to OpenShiftAssistant so you can apply OpenShift Templates programmatically.

openShiftAssistant
    .usingTemplate(getClass().getClassLoader().getResource("hello-template.yaml"))
    .parameter("RESPONSE", "Hello from Arquillian Template")
.deploy();

You can see a full example at OpenShiftAssistant Template creation

Add @Template annotation in test method scope

Now you can use @Template at the method level, so the template is applied before executing the test method and everything applied from that template removed after the test is finished.

Simplify dependencies for standalone mode

With this version we have added three new dependencies which simplify the usage of Cube. Since almost all tests written in Cube are using arquillian-standalone mode, instead of having to define both arquillian-standalone and arquillian-cube, we created a starter dependency which registers both.

In case of using Cube Docker:

<dependency>
    <groupId>org.arquillian.cube</groupId>
    <artifactId>arquillian-cube-docker-starter</artifactId>
    <scope>test</scope>
</dependency>

In case of using Cube Kubernetes:

<dependency>
    <groupId>org.arquillian.cube</groupId>
    <artifactId>arquillian-cube-kubernetes-starter</artifactId>
    <scope>test</scope>
</dependency>

In case of using Cube OpenShift:

<dependency>
    <groupId>org.arquillian.cube</groupId>
    <artifactId>arquillian-cube-openshift-starter</artifactId>
    <scope>test</scope>
</dependency>

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.14.0 view tag
Release date 2018-02-02
Released by Alien Ike
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-docker-junit-rule jar javadoc pom
  • org.arquillian.cube » arquillian-cube-docker-junit-rules jar javadoc pom
  • org.arquillian.cube » arquillian-cube-openshift-api jar javadoc pom
  • org.arquillian.cube » arquillian-cube-openshift-shrinkwrap jar javadoc pom
  • org.arquillian.cube » arquillian-cube-openshift jar javadoc pom
  • org.arquillian.cube » arquillian-cube-openshift-restassured 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-istio-kubernetes-api jar javadoc pom
  • org.arquillian.cube » arquillian-cube-istio-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
  • org.arquillian.cube » arquillian-cube-requirement-spi jar javadoc pom
  • org.arquillian.cube » arquillian-cube-docker-starter jar javadoc pom
  • org.arquillian.cube » arquillian-cube-kubernetes-starter jar javadoc pom
  • org.arquillian.cube » arquillian-cube-openshift-starter jar javadoc pom

Release notes and resolved issues 10

Bug
Other
Train/ginger
Enhancement
Docker
Documentation

Thanks to the following list of contributors: Hemani, Dipak Pawar, Arquillian, Alex Soto