1 May 2019
CERN
Europe/Zurich timezone

Docker image testing in GitLab CI

1 May 2019, 12:45
20m
503/1-001 - Council Chamber (CERN)

503/1-001 - Council Chamber

CERN

162
Show room on map

Speaker

Thomas Holene Loekkeborg (Norwegian University of Science and Technology (NTNU) (NO))

Description

The IT-DB-DAR section at CERN is moving Java web applications from VMs to containers running in Kubernetes. For this a Docker image is being developed which needs to integrate well with existing CERN services. In this session I want to show you how we test the image using GitLab CI. This includes our usage of Docker-in-Docker, how we isolate ourselves from the central CERN SSO and LDAP services, writing pipelines in a way that allows local execution through GitLab CI's "exec" feature, scaling the pipeline to handle multiple built versions, lightweight desired state testing with Goss, as well as an overview of the features used.

Author

Thomas Holene Loekkeborg (Norwegian University of Science and Technology (NTNU) (NO))

Presentation materials