File tree Expand file tree Collapse file tree 3 files changed +12
-4
lines changed
Expand file tree Collapse file tree 3 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 1111//! - `docker_compose` - Docker Compose template generation
1212//! - `tofu` - `OpenTofu` template generation and project structure
1313//! - `tracker` - Torrust Tracker configuration templates
14- //! - `remote_actions` - Repository-like implementations for remote system operations
14+ //! - `remote_actions` - SSH-based operations executed inside VMs
15+ //! - `external_validators` - E2E validation from outside VMs (HTTP health checks)
1516//! - `persistence` - Persistence infrastructure (repositories, file locking, storage)
1617//! - `trace` - Trace file generation for error analysis
1718
19+ pub mod external_validators;
1820pub mod persistence;
1921pub mod remote_actions;
2022pub mod templating;
Original file line number Diff line number Diff line change 44//! containing leaf-level actions that directly interact with remote systems via SSH.
55//! These actions are the building blocks used by steps (Level 2) and commands (Level 1).
66//!
7+ //! ## Execution Context: Inside VM via SSH
8+ //!
9+ //! All remote actions in this module execute commands **INSIDE the VM via SSH**.
10+ //! For external validation (E2E testing from outside the VM), see `external_validators/`.
11+ //!
12+ //! **Distinction**:
13+ //! - **remote_actions** (this module): Execute commands inside VM via SSH
14+ //! - **external_validators**: Validate services from outside VM via HTTP
15+ //!
716//! ## Available Remote Actions
817//!
918//! - `validators::cloud_init` - Cloud-init status checking and validation
@@ -31,7 +40,6 @@ pub mod validators;
3140pub use validators:: cloud_init:: CloudInitValidator ;
3241pub use validators:: docker:: DockerValidator ;
3342pub use validators:: docker_compose:: DockerComposeValidator ;
34- pub use validators:: running_services:: RunningServicesValidator ;
3543
3644/// Errors that can occur during remote action execution
3745#[ derive( Error , Debug ) ]
Original file line number Diff line number Diff line change 11pub mod cloud_init;
22pub mod docker;
33pub mod docker_compose;
4- pub mod running_services;
54
65pub use cloud_init:: CloudInitValidator ;
76pub use docker:: DockerValidator ;
87pub use docker_compose:: DockerComposeValidator ;
9- pub use running_services:: RunningServicesValidator ;
You can’t perform that action at this time.
0 commit comments