Skip to content
Snippets Groups Projects

Update the docker image to a custom test suite

Merged Gregory Ashton requested to merge change-docker-image into master

This changes the images used for the python 2 and 3 CI builds to custom docker images with all requirements and optional requirements pre-installed. The effect is that the CI builds should be simpler and more transparent. Additionally, a fixed lalsuite version will be used.

All images are hosted here: https://hub.docker.com/u/bilbydev/

Instructions for building images

  1. Install docker on your local machine
  2. Start a container from the image you want to build from (in this case anaconda3)
$ docker run --name test-suite-py3 -it continuumio/anaconda3:latest bash
  1. This will drop you to a terminal in the docker. From here, install all the software you want in the usual way
  2. Once complete, exit the container ($ exit)
  3. Commit the changes
$ docker commit -m "Bilby test suite image" -a "Gregory Ashton" test-suite-py3 bilbydev/test-suite-py3:latest
  1. Login and push the changes
$ docker login
$ docker push bilbydev/test-suite-py3
Edited by Gregory Ashton

Merge request reports

Pipeline #32751 passed

Pipeline passed for 1592d4b5 on change-docker-image

Test coverage 60.00% (0.00%) from 1 job
Requires 2 approvals from Default.

Merged by Moritz HuebnerMoritz Huebner 6 years ago (Oct 2, 2018 8:09am UTC)

Pipeline #32778 passed

Pipeline passed for 35e722bb on master

Test coverage 60.00% (0.00%) from 1 job

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading