Georg Brandl 2e698af78c Jenkinsfile: isort does not fail the build
Change-Id: Ide31346f35ecef3030f306698cfe4586010df020
Reviewed-on: https://forge.frm2.tum.de/review/c/secop/frappy/+/30674
Tested-by: Jenkins Automated Tests <pedersen+jenkins@frm2.tum.de>
Reviewed-by: Georg Brandl <g.brandl@fz-juelich.de>
2023-04-21 16:15:20 +02:00
..
2022-11-10 09:08:21 +01:00
2022-11-09 16:29:29 +01:00

This directory contains the necessary files for running tests inside a docker container.

The Dockerfile defines two images:
- base
  -> this is the image used for testing
- docs
  -> Include a latex install for sphinx pdf builds

(The following assumes you have a docker daemon running on your working computer)

To create the images:

  docker build --target <base|docs> --tag frappy_<base|docs>:latest .

To test images interactivly:
  docker run -u jenkins -i -t frappy<base|docs> /bin/bash

The Jenkinsfile uses this Dockerfile (only approved checked-in versions from master)
to build the images (a rebuild will only happen if the Dockerfile is changed as docker
 caches the images and build information) and  run the test suite inside the container.