feat: migrate Redis installer and add to coordinator dependencies
- Migrated Redis to new installer pattern with fixed config template - Coordinator now auto-installs Redis if missing - Added progress indicators and consolidated examples
This commit is contained in:
@@ -1,24 +0,0 @@
|
||||
#!/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!')
|
||||
Binary file not shown.
Reference in New Issue
Block a user