-
Notifications
You must be signed in to change notification settings - Fork 94
RHOAIENG-20088: chore(tests/containers) + GHA CI update: check images size change #901
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Skipping CI for Draft Pull Request. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
50c63a4
to
7319df6
Compare
7319df6
to
d6331d8
Compare
d6331d8
to
fb7599a
Compare
fb7599a
to
8201d5c
Compare
8201d5c
to
84b0b4e
Compare
Didn't expect that many CI failures with this run - looks like the image sizes differ here against what I checked it locally. I'll check what is the rootcause tomorrow. Also, I tried to raise a testing PR with the updated pipfiles to force the images being build jstourac#7 . Let's see. |
95b3efc
to
d39b6ba
Compare
d39b6ba
to
bc5a783
Compare
Adds a new test to our pytest set to check the given image size compared to the expected value. In this test we are checking the uncompressed image size by summing up all the layeres of the image. This image is usually downloaded on the machine where this is being run already. https://issues.redhat.com/browse/RHOAIENG-20088
Description
Enhances our existing ci scripts for the params.env and existing
runtimes definitions with the actual image size check - we have preset
expected size for each of the image and we check that this size isn't
changed too much.
With this implementation we are checking the compressed image size to
avoid the image download.
Adds a new test to our pytest set to check the given image size compared
to the expected value. In this test we are checking the uncompressed
image size by summing up all the layeres of the image. This image is
usually downloaded on the machine where this is being run already.
https://issues.redhat.com/browse/RHOAIENG-20088
How Has This Been Tested?
Local execution of the:
and for the Pytest:
for each image separately (e.g. runtimes):
We shall check all the existing images before merging this, though.
Merge criteria: