lf-edge / eden

Eden is where EVE and Adam get tried and tested:
https://projecteve.dev
Apache License 2.0
49 stars 47 forks source link

eden tests will be subject to Docker Hub pull rate limits #1002

Open deitch opened 1 month ago

deitch commented 1 month ago

eve tests were being slowed down, and at times completely blocked, due to Docker Hub pull rate limits; see this eve issue. Mostly, that has been fixed, due to a variety of removing unnecessary pulls, ensuring dependencies are part of docker OSS and having the Docker Hub ID used to perform the pulls run under an LFEdge paid account that allows up to 5,000 pulls per day.

eden tests still pull many images, as part of:

The Docker Hub ID used for eden tests, especially those imported into eve as part of the eve CI pipeline, should be running under the paid ID provided by LFEdge. However, these will hit limits eventually.

This issue is to track finding where images are pulled as part of the eden suite, and find ways to avoid hitting rate limits via:

Because eve runs a matrix of different eden tests, if each eden test run pulls "only" 5 images, and the matrix itself runs 5 tests, that is 25 tests for each such PR, not counting any others. Since most of the runs duplicate images, this scales exponentially.

The goal is to get to the point, where each PR needs just a few images pulls other than sponsored (rate limit-exempt) images.