-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Replying here to this issue from the main django-simple-deploy repo:
This is almost ready to go moving along for the configuration-only deployment, but feel free to start giving some feedback.
https://github.com/funkyrailroad/dsd-render
One thing to note is that the production settings are handled in a different file like in the CodeRed plugin, as opposed to in the same file like the Fly.io plugin. (I named it settings_render.py)
There's also some more work to do with the tests e.g. getting them to pass for the other package managers and adding tests for the render-specific files.
It's also just using the sqlite3 db locally in the instance, and that is deleted on each new deploy.
This looks great! I should have some time this week to run this and offer more specific feedback.
I just removed the requirement for having Poetry and Pipenv installed when running integration tests. If you pull recent changes for your django-simple-deploy repo, you should be able to run the local tests, and everything should pass except one:
(.venv) django-simple-deploy$ uv pip install -e ~/projects/dsd-render
Resolved 12 packages in 2ms
Built dsd-render @ file:///Users/eric/projects/dsd-render
Prepared 1 package in 388ms
Installed 1 package in 1ms
+ dsd-render==0.1.0 (from file:///Users/eric/projects/dsd-render)
(.venv) django-simple-deploy$ pytest
========== test session starts ==========
platform darwin -- Python 3.12.11, pytest-8.4.1, pluggy-1.6.0
rootdir: /Users/eric/projects/django-simple-deploy
configfile: pytest.ini
collecting ...
--- To run the full set of tests, Poetry should be installed. ---
Instructions for installing Poetry can be found here:
https://python-poetry.org/docs/#installation
--- To run the full set of tests, Pipenv should be installed. ---
Instructions for installing Pipenv can be found here:
https://pipenv.pypa.io/en/latest/install/#installing-pipenv
collected 55 items
tests/integration_tests/platform_agnostic_tests/test_console_output.py ss [ 3%]
tests/integration_tests/platform_agnostic_tests/test_found_existing_file.py s [ 5%]
tests/integration_tests/platform_agnostic_tests/test_git_status_checks.py ............. [ 29%]
tests/integration_tests/platform_agnostic_tests/test_project_inspection.py s [ 30%]
tests/integration_tests/platform_agnostic_tests/test_valid_cli_commands.py . [ 32%]
tests/unit_tests/test_deploy_messages.py ... [ 38%]
tests/unit_tests/test_git_status_utils.py ........... [ 58%]
tests/unit_tests/test_utils.py ................. [ 89%]
test_render_config.py .F....
...