cookiecutter-django icon indicating copy to clipboard operation
cookiecutter-django copied to clipboard

Github CI fails when docker is on and keep_local_envs_in_vcs is off

Open johnnymetz opened this issue 6 months ago • 1 comments

What happened?

Github CI fails when local envs is not kept.

Screenshot 2024-08-23 at 11 21 12 PM

I think we need to remove these lines in Github CI: https://github.com/cookiecutter/cookiecutter-django/blob/f947c612faf1d612bc357de57b6900e7fea65850/%7B%7Bcookiecutter.project_slug%7D%7D/docker-compose.local.yml#L23-L25

What should've happened instead?

Github CI should pass.

Additional details

  • Host system configuration:

    • Version of cookiecutter CLI (get it with cookiecutter --version): 2.6.0

    • OS name and version:

      On Linux, run

      lsb_release -a 2> /dev/null || cat /etc/redhat-release 2> /dev/null || cat /etc/*-release 2> /dev/null || cat /etc/issue 2> /dev/null
      

      On MacOs, run

      sw_vers
      

      On Windows, via CMD, run

      systeminfo | findstr /B /C:"OS Name" /C:"OS Version"
      
      ProductName:		macOS
      ProductVersion:		14.5
      BuildVersion:		23F79
      
      
    • Python version, run python3 -V: 3.12.4

    • Docker version (if using Docker), run docker --version: Docker version 27.1.1, build 6312585

    • docker compose version (if using Docker), run docker compose --version: Docker Compose version v2.29.1-desktop.1

  • Options selected and/or replay file: On Linux and macOS: cat ${HOME}/.cookiecutter_replay/cookiecutter-django.json (Please, take care to remove sensitive information)

use_docker: y
keep_local_envs_in_vcs: n
Logs:
$ cookiecutter https://github.com/cookiecutter/cookiecutter-django
project_name [Project Name]: ...

johnnymetz avatar Aug 24 '24 06:08 johnnymetz