Commit Graph

1436 Commits

Author SHA1 Message Date
1dadcc6482 Fix wait_for_backend function to use the correct URL for health checks
- Updated the health check logic in the wait_for_backend function to use the caller-provided URL directly, eliminating the issue of appending an extra "/health" segment that caused unnecessary delays in the frontend startup.
- Added comments to clarify the changes and their impact on the entrypoint behavior.
2026-04-24 16:30:54 -05:00
c06b51c18e Enhance Jenkinsfile for E2E testing diagnostics
- Added a 10-second sleep before the E2E testing begins to allow Vite/Uvicorn to start up, improving log visibility for troubleshooting.
- Included commands to output the status of the Docker containers and the last 40 lines of logs for both frontend and backend services, aiding in debugging during the E2E testing process.
- Adjusted the timeout for waiting on the frontend from 300 seconds to 180 seconds, streamlining the waiting logic.
2026-04-24 16:26:56 -05:00
b554086cb9 feature/fecha-pago-no-obligatorio 2026-04-24 15:26:05 -06:00
5196685ea6 Add localhost and 127.0.0.1 to allowedHosts in Vite config for local development 2026-04-24 16:20:49 -05:00
797b1fcbdb Refactor Jenkinsfile and wait-for-jenkins-stack.sh for improved E2E testing
- Removed the wait-for-jenkins-stack.sh script from the Jenkinsfile, integrating its functionality directly into the Jenkins pipeline for better clarity and efficiency.
- Enhanced the wait logic for backend and frontend services, implementing a reusable function in the script to streamline the waiting process and improve error handling.
- Updated comments to clarify the purpose and behavior of the changes, ensuring better understanding of the E2E testing setup.
2026-04-24 16:13:30 -05:00
ea5f74b15b Merge branch 'fix/tipo-de-cambio' into feature/fecha-pago-no-obligatorio 2026-04-24 15:12:04 -06:00
7e4985af5d fix/tipo-de-cambio 2026-04-24 15:09:01 -06:00
fe51c508d1 Refactor Jenkinsfile to streamline CI image build and testing process
- Updated the Jenkinsfile to build backend and frontend images using Docker Compose, enhancing the efficiency of the CI pipeline.
- Removed the obsolete e2e_alembic_upgrade.py script, as its functionality is no longer required.
- Improved comments for clarity regarding the build and testing stages, ensuring better understanding of the CI process.
2026-04-24 16:03:47 -05:00
d7eacb1761 feature/doble-click-partidas 2026-04-24 14:23:30 -06:00
547bebec60 Merge branch 'fix/traduccion-bitacora' into feature/doble-click-partidas 2026-04-24 14:02:46 -06:00
9b55f97df0 fix/traduccion-bitacora 2026-04-24 13:56:44 -06:00
e204ba4b2b Refactor Alembic upgrade command in Jenkinsfile for improved execution
- Updated the Alembic upgrade command to use a Python script for execution, addressing issues with configuration handling in Docker.
- Enhanced comments to clarify the purpose of the changes and their implications for E2E testing.
2026-04-24 14:21:26 -05:00
f9ae9d4180 Refactor Alembic command in Jenkinsfile for improved execution
- Updated the Alembic upgrade command to use the direct binary path instead of Python, addressing issues with command parsing in Docker.
- Enhanced comments to clarify the reasoning behind the changes and their implications for E2E testing.
2026-04-24 14:16:02 -05:00
835eb51eaf Refactor Alembic command in Jenkinsfile for clarity and correctness
- Updated the Alembic upgrade command to use the `--config` option instead of `-c`, addressing ambiguity in configuration handling.
- Revised comments to enhance understanding of the command's context and implications during E2E testing.
2026-04-24 14:10:30 -05:00
1bc9c69347 Refactor Alembic command execution in Jenkinsfile and remove obsolete script
- Updated the Alembic upgrade command in the Jenkinsfile to directly use Python for execution, eliminating reliance on a separate shell script that caused issues with command parsing.
- Revised comments to clarify the changes and their implications for the command context during E2E testing.
- Deleted the now-unnecessary jenkins-alembic-e2e.sh script to streamline the process.
2026-04-24 14:07:02 -05:00
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
e4700a2f8e Merge branch 'feature/fraccion-arancelaria-nico' into fix/traduccion-bitacora 2026-04-24 12:47:59 -06: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
5fbe6e1bbc feature/fraccion-arancelaria-nico 2026-04-24 12:42:34 -06: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
225f020747 feat: Update authentication flow to unify logout process and improve Keycloak integration 2026-04-24 12:09:29 -05: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
f65e11bbc1 fix/agente-aduanal-inputs 2026-04-24 11:03:22 -06:00
cbe80953b3 fix/parte-pais-no-guarda 2026-04-24 10:49:35 -06:00
724c27f749 Merge branch 'feature/api-sitar-frac-ame' into feature/company-id-lost 2026-04-24 10:29:14 -06:00
882d754d33 feat: persistir selección de compañía mediante cookies y SSR 2026-04-24 10:28:52 -06: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
5ac757dbc1 chore: snapshot before development sync 2026-04-24 11:18:06 -05:00
3c40a48cb7 feature/api-sitar-frac-ame 2026-04-24 09:58:22 -06: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
bbe0b5c024 feature/sidebar-empresa-refresh 2026-04-24 09:30:35 -06:00
38d10e6f51 feature/carril-expres-transportes 2026-04-24 09:18:41 -06:00
8eb7269f27 feature/bitacora-filtros-alineacion 2026-04-24 08:55:37 -06:00
7ff07338ab Merge branch 'feature/filtros-cliente-proveedor' into feature/bitacora-filtros-alineacion 2026-04-24 08:43:47 -06: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