- Created coordinator installer - Migrated Redis installer to new modular pattern (_model.v, _actions.v, _factory_.v) - Fixed Redis config template for 7.0.15 compatibility (commented out unsupported directives) - Added Redis dependency check to coordinator installer - Coordinator now auto-installs and starts Redis if not available - Added progress indicators to coordinator build process - Consolidated Redis example scripts - All tests passing: Redis installation, coordinator build, and idempotency verified
25 lines
593 B
GLSL
Executable File
25 lines
593 B
GLSL
Executable File
#!/usr/bin/env -S v -n -w -gc none -cc tcc -d use_openssl -enable-globals run
|
|
|
|
import incubaid.herolib.installers.base
|
|
|
|
println('=== Testing Redis Template Application ===\n')
|
|
|
|
// Stop redis first
|
|
println('Stopping redis...')
|
|
base.stop() or {}
|
|
|
|
// Start redis (this will apply the template)
|
|
println('Starting redis with template...')
|
|
base.start(port: 6379, datadir: '/root/hero/var/redis')!
|
|
|
|
println('✅ Redis started')
|
|
|
|
// Verify it's running
|
|
if base.check(port: 6379) {
|
|
println('✅ Redis is responding to ping')
|
|
} else {
|
|
println('❌ Redis is not responding')
|
|
}
|
|
|
|
println('\n✅ Done!')
|