Skip to content

Commit fb2868f

Browse files
committed
Merge stackhpc/xena into stackhpc/yoga
2 parents 4292538 + 1a6271b commit fb2868f

File tree

4 files changed

+37
-2
lines changed

4 files changed

+37
-2
lines changed

.readthedocs.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Read the Docs configuration file
2+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
3+
4+
# Required
5+
version: 2
6+
7+
# Set the version of Python and other tools you might need
8+
build:
9+
apt_packages:
10+
- tox
11+
os: ubuntu-22.04
12+
tools:
13+
python: "3.7"
14+
jobs:
15+
post_checkout:
16+
- git remote set-branches origin master stackhpc/yoga stackhpc/xena stackhpc/wallaby
17+
- git fetch --unshallow
18+
19+
# Build documentation in the doc/source/ directory with Sphinx
20+
sphinx:
21+
configuration: doc/source/conf.py
22+
23+
# We recommend specifying your dependencies to enable reproducible builds:
24+
# https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
25+
python:
26+
install:
27+
- requirements: doc/requirements.txt

etc/kayobe/seed.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ seed_pulp_container:
112112
# s6-overlay-suexec starts as pid 1
113113
init: false
114114
env:
115-
PULP_CONTENT_WORKERS: "{{ ansible_facts.processor_vcpus * 2 + 1 }}"
116-
PULP_API_WORKERS: "{{ ansible_facts.processor_vcpus * 2 + 1 }}"
115+
PULP_CONTENT_WORKERS: "{{ [ansible_facts.processor_vcpus * 2 + 1, 32] | min }}"
116+
PULP_API_WORKERS: "{{ [ansible_facts.processor_vcpus * 2 + 1, 32] | min }}"
117117
PULP_HTTPS: "{{ 'true' if pulp_enable_tls | bool else 'false' }}"
118118
volumes:
119119
- /opt/kayobe/containers/pulp:/etc/pulp
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
fixes:
2+
- |
3+
Caps the number of Pulp API and content workers to 32 each to avoid errors
4+
on hosts with many CPUs.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
fixes:
3+
- |
4+
Fixes documentation builds on Read the Docs.

0 commit comments

Comments
 (0)