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

fix: avoid running out of disk space #558

Merged

Conversation

SurferJeffAtGoogle
Copy link
Contributor

by cleaning up after each inner synth run

by cleaning up after each inner synth run
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label May 15, 2020
# We're generating a single API in a single repo, and using a different
# repo to generate the next API. So the next synth will not be able to
# use any of this state. Clean it up to avoid running out of disk space.
executor.check_call(["git", "clean", "-fdx"], cwd=working_repo_path)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@chingor13 Will this wipe out the log files? Where do they live?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The logs live in autosynth's logs/ directory at the root (sibling of the working repo).

@chingor13 chingor13 merged commit fe8bbfd into googleapis:master May 15, 2020
@SurferJeffAtGoogle SurferJeffAtGoogle deleted the clean-up-after-autosynth branch May 15, 2020 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants