Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 37 additions & 21 deletions demo.tape
Original file line number Diff line number Diff line change
Expand Up @@ -2,65 +2,81 @@
Output docs/img/entropy-demo.gif

# Visual settings
Set FontSize 22
Set FontSize 18
Set Width 1200
Set Height 600
Set Height 650
Set Padding 40
Set Theme "Catppuccin Macchiato"

# --- Scenario Starts ---

# Step 0: Move to the example directory where docker-compose.yml exists
# Setup environment
Hide
Type "export PATH=$PATH:$(go env GOPATH)/bin"
Enter
Type "cd examples/demo-distributed"
Enter
Sleep 1s
Ctrl+L
Show

# --- Scenario Starts ---

# Step 1: Init command (Auto-discovery)
# Step 1: Auto-discovery
Type "entropy init"
Sleep 500ms
Enter
Sleep 2s
Sleep 1.5s

# Step 2: Topology visualization
# Step 2: Validation (NEW!)
Type "entropy validate chaos.yaml"
Sleep 500ms
Enter
Sleep 1.5s

# Step 3: Topology visualization
Type "entropy topology"
Sleep 500ms
Enter
Sleep 3s
Sleep 2s

# Step 3: Entropy Doctor (Resilience Analysis)
# Step 4: Resilience Analysis
Type "entropy doctor"
Sleep 500ms
Enter
Sleep 4s
Sleep 3s

# Clear screen
Ctrl+L

# Step 4: Random Fault Injection (Background Engine)
# Step 5: Random Chaos Engine
Type "entropy start --detach"
Sleep 500ms
Enter
Sleep 2s
Sleep 1.5s
Type "entropy status"
Sleep 500ms
Enter
Sleep 3s
Sleep 1.5s
Type "entropy logs & sleep 3; kill $!"
Sleep 500ms
Enter
Sleep 3.5s
Type "entropy stop"
Sleep 500ms
Enter
Sleep 1s

# Step 6: Emergency Cleanup (RESTORED!)
Type "entropy cleanup"
Sleep 500ms
Enter
Sleep 2s

# Clear screen for the main event
Ctrl+L

# Step 5: Run a deterministic chaos scenario
# Step 7: Deterministic Scenario Execution
Type "entropy scenario run ../../chaos-scenario.example.yaml"
Sleep 1s
Enter
# Wait for the scenario to complete (approx 15-20s)
Sleep 20s
Sleep 12s

# Conclusion
Type "# Ready for controlled chaos! 🌀"
Type "# 🌀 Entropy: Developer-first Chaos Engineering"
Sleep 3s
Binary file modified docs/img/entropy-demo.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading