Commit Graph

1502 Commits

Author SHA1 Message Date
1fe0d66f4f Merge branch 'fix/invoices-return-cancelar' into fix/transportes-no-traducido 2026-04-24 16:03:39 -06:00
3b30230671 Merge pull request 'fix/traduccion-bitacora' (#322) from fix/traduccion-bitacora into development
Reviewed-on: ADUANASOFT/anexo76#322
2026-04-24 22:02:02 +00:00
3007de019a Merge pull request 'feature/fraccion-arancelaria-nico' (#321) from feature/fraccion-arancelaria-nico into development
Reviewed-on: ADUANASOFT/anexo76#321
2026-04-24 21:56:48 +00:00
0b4cfae719 fix/invoices-return-cancelar-fix 2026-04-24 15:56:00 -06:00
6098dbbb6f Merge pull request 'fix/agente-aduanal-inputs' (#320) from fix/agente-aduanal-inputs into development
Reviewed-on: ADUANASOFT/anexo76#320
2026-04-24 21:55:53 +00:00
f267afc5a6 Merge pull request 'fix/parte-pais-no-guarda' (#319) from fix/parte-pais-no-guarda into development
Reviewed-on: ADUANASOFT/anexo76#319
2026-04-24 21:55:27 +00:00
4252610871 Merge pull request 'feature/company-id-lost' (#318) from feature/company-id-lost into development
Reviewed-on: ADUANASOFT/anexo76#318
2026-04-24 21:53:34 +00:00
ef9b3373b7 Merge branch 'development' into feature/company-id-lost 2026-04-24 16:53:20 -05:00
cd6ca2c4d5 Merge pull request 'feature/api-sitar-frac-ame' (#317) from feature/api-sitar-frac-ame into development
Reviewed-on: ADUANASOFT/anexo76#317
2026-04-24 21:51:21 +00:00
acebc5869f Merge pull request 'feature/sidebar-empresa-refresh' (#316) from feature/sidebar-empresa-refresh into development
Reviewed-on: ADUANASOFT/anexo76#316
2026-04-24 21:50:30 +00:00
a9523853c9 Merge pull request 'feature/carril-expres-transportes' (#315) from feature/carril-expres-transportes into development
Reviewed-on: ADUANASOFT/anexo76#315
2026-04-24 21:49:44 +00:00
832a6e1c00 Merge pull request 'feature/bitacora-filtros-alineacion' (#313) from feature/bitacora-filtros-alineacion into development
Reviewed-on: ADUANASOFT/anexo76#313
2026-04-24 21:48:26 +00:00
67e2f8eec7 Merge branch 'development' into feature/bitacora-filtros-alineacion 2026-04-24 16:48:08 -05:00
38233a9a62 fix/invoices-return-cancelar 2026-04-24 15:47:03 -06:00
bb21071738 Enhance E2E testing logic in Jenkinsfile for better stability and diagnostics
- Updated the E2E testing section to capture the return code and mark the build as UNSTABLE if tests fail, improving feedback on test outcomes.
- Added detailed comments to clarify the E2E testing structure and the implications of the current setup, particularly regarding the demo user and login flow.
- Ensured that the Docker container cleanup process remains robust, regardless of test outcomes.
2026-04-24 16:44:43 -05:00
34095be3e8 Merge branch 'feature/fecha-pago-no-obligatorio' into fix/invoices-return-cancelar 2026-04-24 15:35:27 -06:00
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