cookiecutter/cookiecutter-django

Github CI fails when docker is on and keep_local_envs_in_vcs is off

已关闭

#5,319 创建于 2024年8月24日

 (10 条评论) (3 个反应) (0 位负责人)Python (3,067 个派生)batch import
bughelp wanted

仓库指标

星标
 (13,602 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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

贡献者指南