Skip to content

Github CI fails when docker is on and keep_local_envs_in_vcs is off #5319

@johnnymetz

Description

@johnnymetz

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:

env_file:
- ./.envs/.local/.django
- ./.envs/.local/.postgres

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]: ...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions