Commit Graph

40 Commits

Author SHA1 Message Date
41e1a1767b fix: standardize multiplication notation from '×' to 'x' across various files for consistency 2026-04-28 17:25:37 -05: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
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
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
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
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
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
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
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
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
49d635b79a Refactor Jenkinsfile to improve SSH known hosts handling. Introduced a variable for the development server host and updated the known hosts file path, enhancing security and maintainability during deployment processes. 2026-04-02 11:24:04 -05:00
5c18108e79 Refactor Jenkinsfile to simplify agent configuration by changing from a specific Docker label to 'any', allowing for more flexible build agent selection. 2026-04-02 11:20:56 -05:00
b784ea1cd5 Refactor Jenkinsfile to enhance build and deployment processes. Updated agent configuration to use a specific Docker label, improved database readiness checks with error handling, and implemented retry logic for Docker builds and pushes. Additionally, refined SSH key handling and ensured proper tagging for Docker images during the build process. 2026-04-02 11:18:18 -05:00
36424a2e04 Enhance Jenkinsfile to include passphrase handling for SSH key authentication. Added a passphrase variable for the development server SSH key, improving security during deployment processes. 2026-04-02 11:00:37 -05:00
6d7020b5c4 Add DEV_SERVER_USER credential handling in Jenkinsfile
Updated the Jenkinsfile to include a new credential for the development server user, enhancing the flexibility of user management during deployment. The SSH user variable now defaults to this new credential if available, improving security and maintainability.
2026-04-02 10:52:55 -05:00
d3318deb85 Update Jenkinsfile to improve SSH user handling and enhance security. Replaced direct user variable with a dedicated SSH user variable and added comments to clarify the docker login process, ensuring sensitive information is not exposed. 2026-04-02 10:42:20 -05:00
da6358b63d Enhance Jenkinsfile to improve SSH command execution. Added SSH private key handling and refactored the deployment commands into a script block for better readability and maintainability. 2026-04-02 10:39:15 -05:00
5ef77a9eef Add schema creation commands in Jenkinsfile for database setup
Updated the Jenkinsfile to include commands for creating necessary database schemas (core, a24, a76, and public) during the setup process, ensuring the database is properly initialized for testing.
2026-04-02 10:15:08 -05:00
1790838a44 Update Jenkinsfile to use Docker networks for test containers. Changed database connection URL to reference the container name and added cleanup for the test network. Improved handling of workspace paths for dependency installation. 2026-04-02 10:13:15 -05:00
65030361cf Refactor Jenkinsfile to dynamically locate the repository root for backend dependencies. Improved error handling for missing requirements files and updated the installation commands to reflect the new directory structure. 2026-04-02 10:11:40 -05:00
8d04a945b0 Enhance Jenkinsfile to handle multiple requirements files. Added conditional checks to install dependencies from either requirements.txt or base.txt, with error handling for missing files. 2026-04-02 10:08:59 -05:00
22e69b07ee Refactor Jenkinsfile to simplify agent configuration. Changed from a specific agent label to 'any', allowing for more flexible build agent selection. 2026-04-02 10:06:53 -05:00
bb2d27865b Update Jenkinsfile to change agent label from 'Built-In Node' to 'master', aligning with current infrastructure standards. 2026-03-31 18:39:35 -05:00
7caed1b875 Update Jenkinsfile to specify 'Built-In Node' as the agent label, enhancing clarity in the pipeline configuration. 2026-03-31 18:28:57 -05:00
943c248750 Add preflight checks in Jenkinsfile to ensure Docker is installed on the agent before proceeding with the pipeline, improving error handling and setup validation. 2026-03-31 18:27:41 -05:00
c45f97d480 Refactor Jenkinsfile to utilize Docker for Python environment setup during backend testing, enhancing consistency and isolation of dependencies. 2026-03-31 18:21:27 -05:00
d84d081f3e Enhance backend testing in Jenkinsfile by adding Docker container setup for PostgreSQL, improving error handling, and updating environment variable management. 2026-03-31 18:19:48 -05:00
0d249b526c Update Jenkinsfile to change Git repository URL and credentials for deployment 2026-03-31 18:12:32 -05:00
44b1f4b033 Add VERSION_MAYOR parameter to Jenkinsfile and update APP_VERSION calculation 2026-03-31 18:11:15 -05:00
4edeaa3273 Implement sorting mechanism for tables to enhance data organization and user experience. 2026-03-31 18:09:58 -05:00