Skip to content

📦 MariaDB module for Bearsampp project

License

Notifications You must be signed in to change notification settings

Bearsampp/module-mariadb

GitHub release Total downloads

This is a module of Bearsampp project involving MariaDB.

Build System

This project uses Gradle as its build system. The legacy Ant build has been fully replaced with a modern, pure Gradle implementation.

Quick Start

# Display build information
gradle info

# List all available tasks
gradle tasks

# Verify build environment
gradle verify

# Build a release (interactive)
gradle release

# Build a specific version (non-interactive)
gradle release -PbundleVersion=12.0.2

# Clean build artifacts
gradle clean

Prerequisites

Requirement Version Purpose
Java 8+ Required for Gradle execution
Gradle 7.0+ Build automation tool
7-Zip Latest Archive creation (required for 7z)

Available Tasks

Task Description
release Build release package (interactive/non-interactive)
releaseAll Build all available versions
clean Clean build artifacts and temporary files
verify Verify build environment and dependencies
info Display build configuration information
listVersions List available bundle versions in bin/
listReleases List releases from modules-untouched
validateProperties Validate build.properties configuration
checkModulesUntouched Check modules-untouched integration

For complete documentation, see .gradle-docs/README.md

CI/CD Testing

This module includes automated testing for all MariaDB versions using GitHub Actions:

  • Smart Version Detection: Automatically detects which versions to test from PR changes
    • 📦 Primary: Detects versions from /bin directory changes (e.g., bin/mariadb11.8.3/)
    • 📋 Fallback: Extracts versions from PR title
    • 🔄 Final Fallback: Tests latest 5 versions if no versions detected
  • Efficient Testing: Only tests relevant versions, reducing CI runtime
  • Comprehensive Validation: Tests download, extraction, and executable functionality
  • Automated PR Comments: Results posted directly to pull requests

For detailed information about the testing workflow, see docs/CI-CD-TESTING.md

Documentation

Issues

Issues must be reported on Bearsampp repository.

About

📦 MariaDB module for Bearsampp project

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Sponsor this project

  •  

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •