mirror of
https://github.com/floci-io/floci.git
synced 2026-11-23 22:11:36 -05:00
An EMR Serverless application on a custom image in Floci's ECR had unit tests for the digest it resolves (#8542) but no run that pushed an image and pulled it back, as each run of it copies the whole 3.5 GB base image into the registry. It is now a nightly check. EmrServerlessCustomImageNightlyIntegrationTest builds the release's base image with a FLOCI_IMAGE_BUILD marker, pushes it to a repository's tag in Floci's ECR, removes the local copy, and runs a job that writes the marker it sees. A second build pushed under the same tag is not seen by the application that resolves its image as it starts until it starts again, and is seen at once by one resolving it for each run. Floci listens on a fixed port there, since the runner hands the Docker daemon localhost:<floci.port> for an ECR image. The class is enabled only by -Dnightly.checks.enabled=true, so the CI shards skip it before Quarkus starts, and its base image is prefetched only for the nightly checks. That property was -Dfloci.nightly=true, which the first nightly run showed Floci's configuration refusing as a floci.* name it does not know, so a Quarkus check never started; the workflow and AGENTS.md name the new one. The part-file reader EmrDockerRunnerDockerIntegrationTest kept to itself is S3TestClients.partFiles, shared by both.