Commit Graph

15 Commits

Author SHA1 Message Date
b1a74d8e30 Improve CI workflow for backend tests by enhancing virtual environment setup
- Added a function to install the python3-venv package if the virtual environment creation fails due to missing ensurepip.
- Improved error handling and messaging for the installation process, ensuring compatibility with both root and non-root users.
- Streamlined the activation of the virtual environment for better clarity in the CI pipeline.
2026-03-24 12:37:27 -05:00
c8e6cb568a Refactor CI workflow for backend tests
- Consolidated the installation of backend dependencies and test execution into a single job in the CI workflow.
- Removed the use of actions/setup-python in favor of system Python and virtual environments to avoid issues on self-hosted runners.
- Added checks for the TEST_DATABASE_URL secret and improved error handling for virtual environment creation.
- Enhanced the overall reliability and clarity of the testing process in the CI pipeline.
2026-03-24 12:35:50 -05:00
b750c35522 Add backend test job to CI workflow
- Introduced a new job in the CI workflow to run backend tests before the build process.
- Configured Python environment and installed dependencies from the backend requirements.
- Added a check for the TEST_DATABASE_URL secret to ensure it is defined before running tests.
- The test job must pass for the build job to execute, enhancing the reliability of the CI pipeline.
2026-03-24 12:33:21 -05:00
e5ad69bcdf feat: add workflow dispatch inputs for manual deployment options 2026-02-09 13:19:39 -06:00
27d9625bd0 Implement automatic versioning and display in the application
- Added a step in the CI/CD pipeline to generate a version based on the branch and commit history.
- Updated Dockerfile to accept the application version as an argument.
- Modified the configuration to retrieve the application version from the environment variable.
- Created a new API endpoint to expose the application version.
- Added a new Svelte component to display the application version in the UI.
2026-02-05 09:58:35 -06:00
0d43ea5e0b Update deployment commands to use production Docker Compose file 2026-02-05 00:16:14 -06:00
23cb9b89d0 Update deployment path for development server in build workflow 2026-02-05 00:13:46 -06:00
8ebaf88f0c Fix SSH command to accept new host keys during deployment 2026-02-05 00:11:43 -06:00
b3c1e58fcf Fix quoting in SSH command for Docker login in development deployment 2026-02-05 00:10:32 -06:00
75c62fc62b Fix escaping of secrets in deployment command for development server 2026-02-05 00:09:06 -06:00
322f052860 Add deployment step for development environment and clean up invoice report API code 2026-02-05 00:04:26 -06:00
5d024487c1 Actualizar .gitea/workflows/build.yml 2026-01-24 00:46:28 +00:00
953150bf8f Actualizar .gitea/workflows/build.yml 2026-01-24 00:44:46 +00:00
ae7b84fce6 Actualizar .gitea/workflows/build.yml 2026-01-24 00:39:47 +00:00
f6961b7078 add: create build workflow for production and Harbor deployment 2026-01-22 17:58:35 -06:00