mirror of
https://github.com/floci-io/floci.git
synced 2026-11-24 06:20:24 -05:00
* feat(ecs): mount efsVolumeConfiguration task volumes as shared local volumes ECS task definitions can declare EFS-backed volumes via `efsVolumeConfiguration`, but Floci modelled only `host` volumes — an EFS volume's mountPoint resolved to no source path and was skipped, so the container launched without the mount. Terraform/ECS workloads that rely on a shared EFS working directory (e.g. provisioner tasks reading/writing /mnt/efs) had no filesystem at the mount path. Parse and round-trip `efsVolumeConfiguration` (fileSystemId, rootDirectory, transitEncryption, transitEncryptionPort, authorizationConfig) in Register/DescribeTaskDefinition, and materialise an EFS volume as a shared local Docker named volume `floci-efs-<fileSystemId>` mounted at the container path (read-only/read-write per the mountPoint). Containers that mount the same file system share persistent storage that survives task restarts — the local stand-in for an EFS mount, since Docker cannot mount a real EFS file system. This mirrors the documented LocalStack EFS-simulation pattern at the ECS layer. Tests cover the volume->named-volume resolution by access mode and the efsVolumeConfiguration JSON round-trip. * chore: re-trigger CI Unrelated flaky CodeBuildTest.batchGetBuilds_eventuallySucceeds; root-cause fix in floci-io/floci#1577.