vulnerablecode icon indicating copy to clipboard operation
vulnerablecode copied to clipboard

Added tests for docker

Open unibik opened this issue 11 months ago • 3 comments

issue #517 Added separate tests for docker .
Now both test environment and docker containers runs on ubuntu-latest

unibik avatar Jan 15 '25 10:01 unibik

Hello @TG1999 ,i ran the above test in my local machine using the tool called act tool,It showed no errors , so can you please review it once , if it fails again . It would be helpful if you suggest me why the test is failing here . Thank you

unibik avatar Feb 13 '25 03:02 unibik

@unibik please explain the changes in requirements.txt

TG1999 avatar Apr 18 '25 14:04 TG1999

Hello, @TG1999 While testing the Docker-based CI pipeline locally using the act tool, I encountered a ModuleNotFoundError for some dependencies like cvss, django-extensions, and htmllistparse. These modules were used in the codebase but weren’t listed in the requirements.txt file. As the docker tests use the command docker compose build --no-cache, which will create a new image which doesn't include the modules present in the host or owners machine. So I explicitly added those module. Thank you for reviewing my PR

unibik avatar Apr 19 '25 19:04 unibik