Commit Graph

1157 Commits

Author SHA1 Message Date
8dcbfe8b3d Refactor Alembic command execution in Jenkinsfile to use script
- Updated the Alembic upgrade command to execute a script instead of using a variable, addressing issues with command execution in the Docker environment.
- Revised comments to clarify the changes and their implications for the command context during E2E testing.
2026-04-24 14:03:40 -05:00
ae4644cb75 Refactor Alembic command execution in Jenkinsfile for improved reliability
- Changed the Alembic upgrade command to use a variable for the command string, preventing issues with inline double quotes in the shell execution.
- Updated comments to clarify the changes made and their impact on the command execution context within the Docker environment.
2026-04-24 14:00:28 -05:00
607d3841f6 Refactor Jenkinsfile to improve Alembic upgrade command execution
- Updated the Alembic upgrade command in the Jenkinsfile to specify the entrypoint correctly, ensuring the command executes in the intended context.
- Added a comment to clarify the change regarding the entrypoint behavior in the Docker environment, enhancing maintainability and understanding of the script.
2026-04-24 13:57:17 -05:00
3e22506bd0 Enhance Jenkinsfile to manage stale Docker containers during E2E testing
- Introduced a new function to forcefully remove stale containers that may conflict with the current E2E testing setup, improving reliability and preventing errors related to container name conflicts.
- Updated the compose_down function to call the new cleanup function, ensuring a clean environment before running tests.
2026-04-24 13:51:48 -05:00
c9d3969c12 Enhance Jenkinsfile for E2E testing with PostgreSQL and Alembic migrations
- Added steps to ensure PostgreSQL service is ready before running Alembic migrations, improving the reliability of the E2E testing process.
- Implemented error handling for PostgreSQL readiness and Alembic upgrade commands to provide better feedback during CI runs.
2026-04-24 13:45:16 -05:00
4892053e7a Update docker-compose.yml and Jenkinsfile for improved service health checks and logging
- Adjusted health check parameters in docker-compose.yml for backend services to enhance reliability during startup.
- Increased memory limits and reservations for backend services to accommodate higher resource demands.
- Updated service dependencies in docker-compose.yml to ensure proper startup order based on health status.
- Enhanced Jenkinsfile to include additional logging for backend and Celery services, aiding in troubleshooting during CI runs.
2026-04-24 13:35:40 -05:00
f2d645235a Update Docker configuration and Jenkinsfile for E2E testing
- Added .env.e2e.generated to .gitignore to prevent committing generated environment files.
- Updated docker-compose.yml to use environment variables for Keycloak ports, enhancing flexibility in CI environments.
- Enhanced Jenkinsfile to generate dynamic Keycloak ports for E2E testing and improved logging for troubleshooting during failures.
2026-04-24 13:24:37 -05:00
9d63b000bc Refactor Docker entrypoints and remove unused scripts
- Removed custom entrypoint scripts for backend, frontend, and PostgreSQL services from docker-compose files.
- Added a new entrypoint script in the backend and frontend Dockerfiles to handle initialization without relying on host-mounted scripts.
- Updated Dockerfiles to ensure proper permissions for the new entrypoint scripts.
- Enhanced database initialization logic by moving schema and extension creation to the Alembic migration script.
2026-04-24 12:53:11 -05:00
e1d07ba460 Enhance Jenkinsfile with error handling for Docker Compose and add logging for E2E failures
- Introduced a new function to log detailed error information when the Docker Compose stack fails to start, including logs from Postgres and Keycloak containers.
- Updated the Docker Compose command to call the logging function upon failure, improving troubleshooting capabilities during CI runs.
2026-04-24 12:33:15 -05:00
42eda346f5 Merge pull request 'feature/testing' (#314) from feature/testing into development
Reviewed-on: ADUANASOFT/anexo76#314
2026-04-24 17:16:00 +00:00
b024a5b981 Refactor docker-compose.yml to remove IPAM subnet configurations for networks
- Removed IPAM subnet configurations for backend-net, auth-net, and frontend-net in docker-compose.yml to simplify network setup.
2026-04-24 12:08:35 -05:00
b8f46d09ae Enhance Jenkinsfile for frontend testing and update Playwright configuration
- Added a new 'E2E (docker compose + Playwright)' stage in the Jenkinsfile to run end-to-end tests using Docker Compose and Playwright.
- Updated the 'Test frontend' stage to utilize the Playwright test image and improved error handling for missing files.
- Modified Playwright configuration to use an environment variable for the base URL, enhancing flexibility in CI environments.
- Expanded TypeScript configuration to include additional test and configuration files for better type checking.
2026-04-24 11:18:57 -05:00
46c98dbc38 Update Docker volumes in docker-compose.yml and enhance Jenkinsfile for frontend testing
- Changed PostgreSQL data volume paths in docker-compose.yml to remove the trailing 'data' directory.
- Improved the 'Test frontend' stage in Jenkinsfile by adding cleanup steps and ensuring the workspace is correctly copied to the Docker container for testing.
2026-04-24 10:47:06 -05:00
f7261c3b36 Merge pull request 'Add frontend testing stage to Jenkinsfile and update Vitest configuration for CI environments' (#312) from feature/testing into development
Reviewed-on: ADUANASOFT/anexo76#312
2026-04-24 15:35:58 +00:00
5933b161b5 Add frontend testing stage to Jenkinsfile and update Vitest configuration for CI environments
- Introduced a new 'Test frontend' stage in the Jenkinsfile to run unit tests using Vitest in a Docker container.
- Updated Vite configuration to conditionally include client and server test projects based on the CI environment.
- Modified backend health check tests to skip execution in CI environments.
- Adjusted test for constructing backend asset URLs to reflect default behavior when no base URL is provided.
2026-04-24 10:35:42 -05:00
e60ede4e4c Merge pull request 'feature/filtros-cliente-proveedor' (#311) from feature/filtros-cliente-proveedor into development
Reviewed-on: ADUANASOFT/anexo76#311
2026-04-24 15:35:11 +00:00
7445e0d399 Merge pull request 'feature/scroll-clientes-proveedores' (#310) from feature/scroll-clientes-proveedores into development
Reviewed-on: ADUANASOFT/anexo76#310
2026-04-24 15:34:16 +00:00
9bdb401e78 feature/filtros-cliente-proveedor 2026-04-24 08:33:27 -06:00
c522242af6 Merge pull request 'featrue/testing' (#309) from feature/testing into development
Reviewed-on: ADUANASOFT/anexo76#309
2026-04-24 14:23:10 +00:00
59c805b48c Enhance Playwright E2E configuration by adding ignored files and adjusting authentication setup. Ensure proper handling of storage state in CI environments. 2026-04-24 09:22:36 -05:00
a77a05ea5b Remove unused E2E configuration and user authentication files 2026-04-24 09:21:19 -05:00
db18b4463d Merge branch 'feature/scroll-clientes-proveedores' into feature/filtros-cliente-proveedor 2026-04-24 07:51:40 -06:00
d4d41a435f feature/scroll-clientes-proveedores 2026-04-24 07:45:29 -06:00
b9abaca3a3 Merge pull request 'feature/tipo-operacion-invoice' (#308) from feature/tipo-operacion-invoice into development
Reviewed-on: ADUANASOFT/anexo76#308
2026-04-24 13:21:02 +00:00
43caaeffd3 feature/tipo-operacion-invoice 2026-04-24 07:09:28 -06:00
d538a68fb9 Merge pull request 'feature/scroll-reports' (#307) from feature/scroll-reports into development
Reviewed-on: ADUANASOFT/anexo76#307
2026-04-23 22:36:07 +00:00
5020db3983 Merge branch 'development' into feature/scroll-reports 2026-04-23 16:26:10 -06:00
32d9728138 feature/scroll-reports 2026-04-23 16:24:53 -06:00
6329e8e82f Merge pull request 'feature/ventana-de-actualizacion-desactualizacion' (#306) from feature/ventana-de-actualizacion-desactualizacion into development
Reviewed-on: ADUANASOFT/anexo76#306
2026-04-23 22:22:06 +00:00
a684391b17 Merge pull request 'feaature/catalogo-empresa-mejoras' (#305) from feaature/catalogo-empresa-mejoras into development
Reviewed-on: ADUANASOFT/anexo76#305
2026-04-23 22:21:35 +00:00
9548ead4d9 feature/ventana-de-actualizacion-desactualizacion 2026-04-23 15:46:13 -06:00
8e86baefbe Merge branch 'feaature/catalogo-empresa-mejoras' into feature/ventana-de-actualizacion-desactualizacion 2026-04-23 14:52:41 -06:00
651083b845 featrue/testing 2026-04-23 14:36:11 -06:00
29c305cd2c feaature/catalogo-empresa-mejoras 2026-04-23 14:28:56 -06:00
24e49691a4 Merge pull request 'fix/invoices-features' (#304) from fix/invoices-features into development
Reviewed-on: ADUANASOFT/anexo76#304
2026-04-23 15:40:24 +00:00
8dce23d624 Merge branch 'fix/invoices-features' into feaature/catalogo-empresa-mejoras 2026-04-23 08:41:08 -06:00
80533c1bf7 feature/campos-obligatorios-relativos 2026-04-23 08:35:41 -06:00
e517ceb020 fix/invoices-features 2026-04-23 08:16:47 -06:00
ee694e8f5b Merge pull request 'fix/catalogos-generales' (#303) from fix/catalogos-generales into development
Reviewed-on: ADUANASOFT/anexo76#303
2026-04-22 23:15:52 +00:00
671634db0d Merge pull request 'fix/catalogos-fijos' (#302) from fix/catalogos-fijos into development
Reviewed-on: ADUANASOFT/anexo76#302
2026-04-22 23:15:22 +00:00
f23842851a Merge pull request 'fix/bultos-embalajes' (#301) from fix/bultos-embalajes into development
Reviewed-on: ADUANASOFT/anexo76#301
2026-04-22 23:14:43 +00:00
15ee5a3ff6 Merge pull request 'fix/catalogo-agente-aduanal' (#300) from fix/catalogo-agente-aduanal into development
Reviewed-on: ADUANASOFT/anexo76#300
2026-04-22 23:13:56 +00:00
ef03038c37 Merge pull request 'fix/conceptos-catalogo-general' (#299) from fix/conceptos-catalogo-general into development
Reviewed-on: ADUANASOFT/anexo76#299
2026-04-22 23:12:46 +00:00
9f13e7b5ba Merge pull request 'fix/transportes-funciones' (#298) from fix/transportes-funciones into development
Reviewed-on: ADUANASOFT/anexo76#298
2026-04-22 23:00:35 +00:00
a682ae2955 Merge pull request 'fix/pedimento-consolidado-DOF' (#297) from fix/pedimento-consolidado-DOF into development
Reviewed-on: ADUANASOFT/anexo76#297
2026-04-22 22:53:53 +00:00
d53d3721d1 Merge pull request 'fix/idioma-bitacota' (#296) from fix/idioma-bitacota into development
Reviewed-on: ADUANASOFT/anexo76#296
2026-04-22 22:52:53 +00:00
cfb8cdb5fd Merge pull request 'fix/informacion-empresa-detalles' (#295) from fix/informacion-empresa-detalles into development
Reviewed-on: ADUANASOFT/anexo76#295
2026-04-22 22:49:26 +00:00
337380301f Merge pull request 'fix/doble-click-parte' (#294) from fix/doble-click-parte into development
Reviewed-on: ADUANASOFT/anexo76#294
2026-04-22 22:47:58 +00:00
13b984825f fix/catalogos-generales 2026-04-22 13:29:55 -06:00
98a2603506 Merge branch 'fix/catalogos-fijos' into fix/catalogos-generales 2026-04-22 10:16:42 -06:00