cookiecutter / cookiecutter-django

Cookiecutter Django is a framework for jumpstarting production-ready Django projects quickly.
https://cookiecutter-django.readthedocs.io
BSD 3-Clause "New" or "Revised" License
12.13k stars 2.9k forks source link

Issue with okteto deployment Syntax error volumes should be 'local_path:remote_path' or 'remote_path' #3944

Closed scheung38 closed 1 year ago

scheung38 commented 2 years ago

What happened?

a sample Django app should be deployed on okteto cloud when issuing okteto deploy --build --wait

What should've happened instead?

okteto deploy --build --wait x Syntax error volumes should be 'local_path:remote_path' or 'remote_path'

Additional details

I followed a sample Python Flask deploy and works fine https://www.okteto.com/docs/samples/python/

But using cookiecutter-django app

and

okteto deploy --build --wait x Syntax error volumes should be 'local_path:remote_path' or 'remote_path'

okteto.yml

build:
  django:
    image: sample_cookiecutter_11_july_2022_local_django
    context: .
deploy:
  compose: production.yml
foarsitter commented 2 years ago

My guess would be due to the :Z declaration in the volumes. But why do you think this repository is compatible with Okteto and this is a bug?

github-actions[bot] commented 1 year ago

Assuming the original issue was solved, it will be automatically closed now.