Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I test django with gitlab ci

I have a gitlab-ci server that works fine and can connect with my gitlab server,Please can any one point me in the right directing on how to run my django unittest/builds using gitlab-ci runner thanks.

like image 348
user1940979 Avatar asked Oct 03 '14 17:10

user1940979


Video Answer


1 Answers

Sorry if answering a bit of an old question, but it seems that the general way to run a build is using a gitlab-ci runner; which seems to be an application which interacts with gitlab-ci API.

The way some people are running runners is with docker images (to "freeze" the build/test environment). See these links for basic information on how this works:

  • https://github.com/sameersbn/docker-gitlab-ci-runner
  • https://github.com/sameersbn/docker-runner-gitlab
  • https://github.com/sameersbn/docker-gitlab-ci

Finally see this python runner image for running builds on your python projects.

like image 169
tutuDajuju Avatar answered Sep 27 '22 18:09

tutuDajuju