Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker environnent for unit tests not working anymore #1428

Closed
2 tasks
ptrovatelli opened this issue Jul 29, 2019 · 0 comments
Closed
2 tasks

Docker environnent for unit tests not working anymore #1428

ptrovatelli opened this issue Jul 29, 2019 · 0 comments
Labels

Comments

@ptrovatelli
Copy link
Contributor

Bug description
The docker environment to run the unit tests is not working anymore.

Steps to reproduce

$ docker/setEnv.sh unit_tests
$ docker-compose up
Creating network "django-defectdojo_default" with the default driver
Creating django-defectdojo_rabbitmq_1 ... done
Creating django-defectdojo_mysql_1    ... done
Creating django-defectdojo_celeryworker_1 ... done
Creating django-defectdojo_celerybeat_1   ... done
Creating django-defectdojo_uwsgi_1        ... done
Creating django-defectdojo_initializer_1  ... done
Creating django-defectdojo_nginx_1        ... error

ERROR: for django-defectdojo_nginx_1  Cannot create container for service nginx: No command specified

ERROR: for nginx  Cannot create container for service nginx: No command specified
ERROR: Encountered errors while bringing up the project.
10:17:10:centos@localhost:/home/centos/django-DefectDojo
$

Expected behavior
A django with minimal configuration should start and run the unit tests

Deployment method (select with an X)

  • Kubernetes
  • [x ] Docker
  • setup.bash / legacy-setup.bash

Environment information
dev branch

Sample scan files (optional)

Screenshots (optional)

Console logs (optional)

Additional context (optional)

I have fixed the issue in dev branch. The issue might be present in python2.7 branch too

ptrovatelli pushed a commit to ptrovatelli/django-DefectDojo that referenced this issue Jul 29, 2019
devGregA added a commit that referenced this issue Jul 31, 2019
@Maffooch Maffooch closed this as completed Aug 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants