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

added docs for swapfile switch #1988

Merged
merged 7 commits into from
Aug 29, 2023

Conversation

mikemhenry
Copy link
Contributor

@mikemhenry mikemhenry commented Jul 25, 2023

PR Checklist:

  • note any issues closed by this PR with closing keywords
  • put any other relevant information below

This PR is for adding docs if conda-forge/conda-smithy#1751 is merged

@mikemhenry mikemhenry requested a review from a team as a code owner July 25, 2023 18:38
@@ -79,6 +79,9 @@ mapping for Azure-specific configuration options. For example:
# toggle for freeing up some extra space on the default Azure Pipelines
# linux image before running the Docker container for building
free_disk_space: False
# toggle for creating a 10G swap file on the default Azure Pipelines
# linux image before running the Docker container for building
make_10G_swap: False
Copy link
Member

@jakirkham jakirkham Jul 26, 2023

Choose a reason for hiding this comment

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

Wonder if we should allow the size to be customizable. Something like this perhaps?

Suggested change
make_10G_swap: False
linux_swap_size: 10Gb

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes this is a great idea, the default can be zero and if it is zero it just skips that whole block, but if greater than zero we make a swap file of that size

Copy link
Member

Choose a reason for hiding this comment

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

Yeah actually default of 0 makes more sense. Let's go with that

@jakirkham
Copy link
Member

Thanks Mike! 🙏

Had some thoughts on how the configuration could be presented

@jakirkham jakirkham merged commit 0207fa5 into conda-forge:main Aug 29, 2023
1 check passed
@jakirkham
Copy link
Member

Thanks Mike! 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants