Reworked the build script to enhance artifact handling. Created a 'dist' directory, storing generated artifacts. Modified paths for cleaner output organization.
Refactored the test completion logic in the `run_tests` function for better readability and maintainability. Removed redundant check for `minetest.settings:get_bool("test_harness_stop_server", true)` and streamlined the conditional flow based on `tests_state`. This change enhances code clarity without altering functionality significantly.
Adjusted the packaging script in `.gitlab-ci.yml` to save artifacts in `/tmp/` for improved storage management and accessibility. Additionally, fixed a conditional statement in `base.lua` to properly handle the failfast option during testing.
Changing 'break' to 'return' in the run_tests function to stop the test loop when a failure occurs, improving test harness behavior by returning from the function instead of breaking out of the loop.
- Adds support for registering tests under specific modules to enhance organization and categorization.
- Introduces `register_test` function scoped within a module using `get_test_registrator`.
- Track tests by module for improved visibility and management.
- Enhances test output formatting to include module information alongside test names.
Adding a wait statement for the termination of the Minetest process to ensure proper clean-up and graceful exit handling in the client's entrypoint script.
Push images tagged with git SHA
- Added additional Docker image pushes for different tags derived from the Git SHA to sync with updated tagging conventions.
Update Dockerfile for client build process, including changes to base image and dependencies. Add support for OPENGL_BASE_IMAGE environment variable to facilitate easier image customization and maintenance.
The commit updates the Minetest client Dockerfile by adjusting the COPY command indentation to correctly copy the minetest.conf file. Update docker version to 27.
Updated the Dockerfile to use single quotes for the EOF marker in the minetest.conf file copy operation, ensuring consistent code styling and improved readability.
Adjusted the docker build command in the GitLab CI configuration file to use `docker buildx build` instead of `docker buildx` for building the OpenGL image.