Skip to content
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

Cleanup private registry repositories after each successful test run #8208

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sp1999
Copy link
Member

@sp1999 sp1999 commented May 23, 2024

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.

@eks-distro-bot
Copy link
Collaborator

[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 eks-distro-bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label May 23, 2024
@sp1999 sp1999 force-pushed the cleanup-registry-repositories branch from 0466b60 to 6536eac Compare May 23, 2024 01:17
Copy link

codecov bot commented May 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

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           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@vivek-koppuru
Copy link
Member

/hold

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do-not-merge/hold size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants