Project

General

Profile

Actions

action #35383

closed

Create a docker container to run unit and integration tests

Added by szarate about 6 years ago. Updated almost 6 years ago.

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

0%

Estimated time:

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 1 (0 open1 closed)

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

Actions
Actions #1

Updated by dasantiago about 6 years ago

  • Assignee set to dasantiago

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

Actions #2

Updated by dasantiago almost 6 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.

Actions #3

Updated by szarate almost 6 years ago

  • Status changed from New to In Progress
Actions #4

Updated by szarate almost 6 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

Actions #5

Updated by szarate almost 6 years ago

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

Also available in: Atom PDF