Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DAT-19653 DevOps :: Fix firebird and hsqldb infra #996

Merged
merged 29 commits into from
Feb 21, 2025
Merged

Conversation

jandroav
Copy link
Contributor

This pull request primarily focuses on removing Titan and replacing it with Docker for managing databases in the testing environment. Additionally, it updates the CI environment and documentation to reflect these changes.

Key changes include:

Environment Updates:

  • Updated the CI environment to use ubuntu-22.04 instead of ubuntu-20.04 in the .github/workflows/advanced.yml file.

Documentation Updates:

  • Removed extensive documentation related to Titan and updated instructions to use Docker in README.non-docker-test-environments.md.
  • Simplified the README.md by removing redundant information about Titan.

Configuration and Script Updates:

  • Removed Titan-related properties and scripts, including titan-installer.sh, from the configuration files and scripts. [1] [2] [3] [4]
  • Updated docker-compose.yml to use Docker for managing HSQLDB and Firebird databases, including the addition of volume mappings for database initialization.
  • Updated harness-config.yml and test-config.yml to replace prefix: titan with prefix: docker and adjusted database URLs accordingly. [1] [2]

Database Initialization:

  • Added new HSQLDB initialization files (hsqldb.properties and hsqldb.script) to ensure databases are properly set up when using Docker. [1] [2]

…titan references to streamline configuration and improve clarity

🔧 (docker-compose): update docker-compose configuration for hsqldb and firebird services to ensure proper setup and environment variables
📝 (harness-config): update database prefixes in harness-config.yml from 'titan' to 'docker' for consistency with new setup
🗑️ (titan-installer): remove titan-installer.sh as it is no longer needed in the current setup
…ntries to streamline the workflow configuration and reduce maintenance overhead.
…ervices to initialize databases with SQL scripts
…rt configuration for consistency and to avoid conflicts with other services
…iguration to streamline the setup

✨ (docker-compose.yml): add FIREBIRD_DATABASE_DEFAULT_CHARSET environment variable for Firebird services to ensure UTF-8 compatibility
✨ (docker-compose.yml): swap port mappings for Firebird services to avoid conflicts and ensure proper access
📝 (docker/data): add new database files for lbcat and test to support testing scenarios
…lasspath entries to enhance readability and maintainability
automatic generation of source files and improve development workflow
🔧 (Eclipse settings): enable annotation processing and release settings
to ensure proper handling of annotations and maintain compatibility with
Java 11 features
… correct data directory for proper database access during tests
…consistency

🔧 (org.eclipse.jdt.apt.core.prefs): add missing newline at the end of org.eclipse.jdt.apt.core.prefs file for consistency
🔧 (org.eclipse.jdt.core.prefs): add missing newline at the end of org.eclipse.jdt.core.prefs file for consistency
…to use hsqldb instead of firebird for better compatibility and support
…ation

🔧 (docker-compose): update volume mapping to use new database directory for HSQLDB
…buntu-22.04 for improved compatibility and support

📝 (hsqldb): update hsqldb.properties to reflect the modified state and current timestamp
📝 (hsqldb): add initial log entries to hsqldb.log for better tracking of database operations
…itan instructions

♻️ Refactor create-infra.sh to remove unnecessary sleep command for improved efficiency

🐛 Remove obsolete HSQLDB log and properties files to clean up the project

🔧 Update test-config.yml to change prefix from 'titan' to 'docker' for consistency in database configuration
…cker containers to ensure services are ready and for better debugging
…fine database settings and version information
…ntu-20.04 for compatibility with dependencies

✨ (main.yml): add support for Firebird database versions 3 and 4 in the workflow
📝 (hsqldb.properties): update properties file to reflect the database modification status and timestamp
📝 (hsqldb.log): add new log file for HSQLDB to capture database operations
…Actions workflow to enhance testing coverage and compatibility with various database systems
…e, init.sql, start.sh, create-infra.sh, docker-compose.yml, harness-config.yml): add support for HSQLDB versions 2.5, 2.6, and 2.7 to enhance database compatibility and testing capabilities

♻️ (automation-runner.sh, create-infra.sh): refactor HSQLDB version handling to accommodate new versions and remove deprecated references
📝 (README.md): update documentation to reflect new HSQLDB versions available for use
…tibility to streamline database initialization process
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we really need this file?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

deleted

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we really need this file?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

deleted

Copy link
Contributor

@Tamelianovych Tamelianovych left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably we can remove two files, all other looks good, Thanks @jandroav

@Tamelianovych Tamelianovych merged commit e068e4b into main Feb 21, 2025
100 of 101 checks passed
@Tamelianovych Tamelianovych deleted the DAT-19653 branch February 21, 2025 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants