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

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

Open
johnnymetz opened this issue Aug 24, 2024 · 0 comments
Open
Labels

Comments

@johnnymetz
Copy link
Contributor

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]: ...
@johnnymetz johnnymetz added the bug label Aug 24, 2024
@johnnymetz johnnymetz changed the title Github CI fails when keep_local_envs_in_vcs is off Github CI fails when docker is on and keep_local_envs_in_vcs is off Aug 24, 2024
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

1 participant