eks-anywhere icon indicating copy to clipboard operation
eks-anywhere copied to clipboard

Cleanup private registry repositories after each successful test run

Open sp1999 opened this issue 1 year ago • 3 comments

Description of changes: Currently, we had authenticated registry mirror tests failing consecutively due to 500 internal server error. On investigating further, I found out that the registry mirror had consumed it's full storage capacity of 200 GB so the tests weren't able to reach the server. In order to prevent this situation from arising in future, I have added a cleanup step in the registry mirror flow to remove all the repositories in the registry after every successful test run. If a test fails, the repositories will be kept to debug the issue further.

Testing (if applicable): make local-e2e

Documentation added/planned (if applicable):

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

sp1999 avatar May 23 '24 01:05 sp1999

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: Once this PR has been reviewed and has the lgtm label, please ask for approval from sp1999. For more information see the Kubernetes Code Review Process.

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 /approve in a comment Approvers can cancel approval by writing /approve cancel in a comment

eks-distro-bot avatar May 23 '24 01:05 eks-distro-bot

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 73.40%. Comparing base (f6a2a83) to head (6536eac). Report is 15 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #8208   +/-   ##
=======================================
  Coverage   73.40%   73.40%           
=======================================
  Files         577      577           
  Lines       35900    35900           
=======================================
  Hits        26352    26352           
  Misses       7882     7882           
  Partials     1666     1666           

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar May 23 '24 01:05 codecov[bot]

/hold

vivek-koppuru avatar May 28 '24 18:05 vivek-koppuru