Project

General

Profile

action #35383

Create a docker container to run unit and integration tests

Added by szarate over 3 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
2018-04-23
Due date:
% Done:

0%

Estimated time:
Difficulty:

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)Resolved2018-04-24

History

#1 Updated by dasantiago over 3 years ago

  • Assignee set to dasantiago

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

#2 Updated by dasantiago over 3 years 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 about 3 years ago

  • Status changed from New to In Progress

#4 Updated by szarate about 3 years 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 about 3 years ago

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

Also available in: Atom PDF