You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add ProfileName domain type for LXD profile validation and environment isolation
- Create ProfileName domain type with LXD naming validation (1-63 chars, ASCII letters/numbers/dashes, no leading digit/dash, no trailing dash)
- Add ProfileName field to Environment entity for environment-specific profile naming
- Update Config struct to include ProfileName parameter
- Integrate ProfileName throughout template rendering pipeline
- Update VariablesContext and VariablesContextBuilder to use ProfileName type instead of String
- Add profile_name template variable to OpenTofu variables and main.tf
- Update E2E test cleanup to use environment-specific profile names
- Add comprehensive unit tests for ProfileName validation
- Ensure type safety and domain validation for LXD profile names
- Enable proper environment isolation between E2E test runs
This resolves LXD profile conflicts between different test environments by ensuring
each environment uses its own uniquely named profile (e.g., torrust-profile-e2e-provision,
torrust-profile-e2e-full) instead of sharing a single hardcoded profile name.
0 commit comments