cookiecutter/cookiecutter-django

Github CI fails when docker is on and keep_local_envs_in_vcs is off

Open

#5,319 opened on Aug 24, 2024

View on GitHub
 (10 comments) (3 reactions) (0 assignees)Python (10,896 stars) (2,713 forks)batch import
bughelp wanted

Description

What happened?

Github CI fails when local envs is not kept.

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

Contributor guide