Home » DevOps (page 10)

DevOps

Running Parallel Tests in Docker

Sometimes when you are running your tests on your CI environment, you want to run tests in parallel. This parallelism is programmed in build tool such as Maven or Gradle or by using Jenkins plugin. If you are using Docker as a testing tool for providing external dependencies to the application (for example databases, mail servers, ftp servers, ….) you might find a big ...

Read More »

Testing Dockerized SQL Databases

One of the big advantages of using Docker for testing is that you don’t need to install the required dependencies of code under tests in all machines where you are going to run these tests. This is really helpful for external services such as database servers, mail services, JMS queues, … Also one of the big advantages of this approach is ...

Read More »

Java and Docker: Now and the Future

Sharat Chander‘s blog post Official Docker Image for Oracle Java and the OpenJDK Roadmap for Containers provides a high-level overview of the “Official Docker Image for Oracle Java,” an introduction to Docker and why containers like Docker are desirable, and a peek at things to come for Java on Docker. The post also provides a link to the “Docker image ...

Read More »

Creating Smaller Java Image using Docker Multi-stage Build

Two of the announcements at DockerCon 2017 directly relevant to Java developers are: Docker Multi-stage build Oracle JRE in Docker Store This blog explains the purpose of Docker multi-stage build and provide examples of how they help us generate smaller and more efficient Java Docker images. Just show me the code: github.com/arun-gupta/docker-java-multistage. What is the issue? Building a Docker image for a Java application typically involves building the application ...

Read More »

Deliver early without sleepless nights

Trailblazing the first delivery of a software system requires courage and conviction, especially on projects that replace existing business critical software. When I’ve been acting as system architect I’ve employed a number of tricks in order to structure functionality and technical solutions in such a way that we can complete these early deliveries without sleepless nights. The most important is ...

Read More »

Docker Remote API on Windows and OSX

There are multiple ways to monitor Docker containers. Docker CLI provides the docker container stats API that gives basic information about the running containers. Docker Remote API provides more detailed information about the containers. Staring with Docker 1.13, there is an experimental feature with a Prometheus endpoint cAdvisor is an open source tool that provides last container usage and performance characteristics. This data can be ...

Read More »

Does Your DevOps Department Need More Attention? [Infographic]

Teams that adopt DevOps deploy software 30x more frequently and with 200x shorter lead times. We collected the top 10 practices around DevOps your CIO and team need to know about to adopt the best model for success. Download the eBook! There are some big red flags that signify your DevOps department needs an overhaul. Your deployment process seems to ...

Read More »

New Webinar: How to Avoid the Hidden Costs of Continuous Delivery

The time has come to solve the missing link of the CI/CD toolchain With constant change, comes constant risk. The silent killer of CI/CD initiatives is also its biggest advantage, a side effect of moving too fast when a major component of the same process that pushes releases forward remains outdated and left behind. A common misconception is that Continuous ...

Read More »

3 ways of using Docker Containers for Testing in Arquillian

Arquillian Cube is an Arquillian extension that can be used to manager Docker containers from Arquillian. With this extension you can start a Docker container(s), execute Arquillian tests and after that shutdown the container(s). The first thing you need to do is add Arquillian Cube dependency. This can be done by using Arquillian Universe approach: <dependencyManagement> <dependencies> <dependency> <groupId>org.arquillian</groupId> <artifactId>arquillian-universe</artifactId> <version>${version.arquillian_universe}</version> <scope>import</scope> ...

Read More »