action #35383

Create a docker container to run unit and integration tests

Added by szarate over 1 year ago. Updated over 1 year ago.

Status:ResolvedStart date:23/04/2018
Priority:NormalDue date:
Assignee:dasantiago% Done:

0%

Category:-
Target version:Done
Difficulty:
Duration:

Description

In order to improve and ease the development for the team, it has been decided to start using docker as part of the CI pipeline, for this having a container that contains all of the dependencies to run the openQA tests (for os-autoinst project and openQA project) is needed.

AC1: Docker container is created based on Leap 42.3
AC2: Docker container has development dependencies installed from repositories.
AC3: Container is pushed to Dockerhub
AC4: Container is introduced in our CI (Travis)
Optional AC5: CircleCI is being used too by openQA project.


Related issues

Precedes openQA Project - action #37420: Try OBS registry (registry.opensuse.org) Resolved 24/04/2018

History

#1 Updated by dasantiago over 1 year ago

  • Assignee set to dasantiago

I'll take this. I want to learn about containers :-D

#2 Updated by dasantiago over 1 year ago

At the moment i have this:

https://github.com/dasantiago/openQA/tree/35383/docker/travis_test

Issues:
1- The DB isn't starting. Probably it the 01-postgresql.sh script needs to be run as CMD
2- We need to pass travis environment variables to the docker. This is done with --environment.

#3 Updated by szarate over 1 year ago

  • Status changed from New to In Progress

#4 Updated by szarate over 1 year ago

  • Status changed from In Progress to Resolved
  • Target version changed from Current Sprint to Done

I think we are done here :) We're already using it in travis, and we've started to use it

#5 Updated by szarate over 1 year ago

  • Precedes action #37420: Try OBS registry (registry.opensuse.org) added

Also available in: Atom PDF