Skip to content

yoga: xena merge #590

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

Merged
merged 17 commits into from
Aug 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Set the version of Python and other tools you might need
build:
apt_packages:
- tox
os: ubuntu-22.04
tools:
python: "3.7"
jobs:
post_checkout:
- git remote set-branches origin master stackhpc/yoga stackhpc/xena stackhpc/wallaby
- git fetch --unshallow

# Build documentation in the doc/source/ directory with Sphinx
sphinx:
configuration: doc/source/conf.py

# We recommend specifying your dependencies to enable reproducible builds:
# https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
python:
install:
- requirements: doc/requirements.txt
4 changes: 2 additions & 2 deletions etc/kayobe/seed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ seed_pulp_container:
# s6-overlay-suexec starts as pid 1
init: false
env:
PULP_CONTENT_WORKERS: "{{ ansible_facts.processor_vcpus * 2 + 1 }}"
PULP_API_WORKERS: "{{ ansible_facts.processor_vcpus * 2 + 1 }}"
PULP_CONTENT_WORKERS: "{{ [ansible_facts.processor_vcpus * 2 + 1, 32] | min }}"
PULP_API_WORKERS: "{{ [ansible_facts.processor_vcpus * 2 + 1, 32] | min }}"
PULP_HTTPS: "{{ 'true' if pulp_enable_tls | bool else 'false' }}"
volumes:
- /opt/kayobe/containers/pulp:/etc/pulp
Expand Down
4 changes: 4 additions & 0 deletions releasenotes/notes/cap-pulp-workers-e0f12c0b67d3d0bf.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
fixes:
- |
Caps the number of Pulp API and content workers to 32 each to avoid errors
on hosts with many CPUs.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
fixes:
- |
Fixes documentation builds on Read the Docs.