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

output repository has grown too large #298

Open
2 tasks
tfoote opened this issue Apr 6, 2023 · 0 comments
Open
2 tasks

output repository has grown too large #298

tfoote opened this issue Apr 6, 2023 · 0 comments

Comments

@tfoote
Copy link
Member

tfoote commented Apr 6, 2023

The results of this build go into https://github.com/ros-infrastructure/index.ros.org

I recently checked and that has grow to be 22GB since we have been running this job. That's unsustainably large. The checkout of the checkout itself is ~4B which is pushing the limits but isn't as critical.

To this end we need to take two actions.

  • As an immediate triage we should rewrite the history of index.ros.org to remove the history and only have the latest state to reduce the size significantly.
  • Secondly we should change the upload mechanism to not keep history. This may be as simple as changing the commit to --amend here and then enable force push in the GitPublisher The current config defaults it to off and it should be parameterized and only used for jobs like this with specific needs.

The current publisher snippet

<publishers>
<hudson.plugins.git.GitPublisher plugin="git@4.7.1">
<configVersion>2</configVersion>
<pushMerge>false</pushMerge>
<pushOnlyIfSuccess>true</pushOnlyIfSuccess>
<forcePush>false</forcePush>
<branchesToPush>
<hudson.plugins.git.GitPublisher_-BranchToPush>
<targetRepoName>origin</targetRepoName>
<branchName>gh-pages</branchName>
<rebaseBeforePush>false</rebaseBeforePush>
</hudson.plugins.git.GitPublisher_-BranchToPush>
</branchesToPush>
</hudson.plugins.git.GitPublisher>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant