Skip to content

Commit ded4f5e

Browse files
authored
fix(ProviderService): forward the parallel build count vars (#764)
These were supposed to have been forwarded by default but never were.
1 parent 833ddfb commit ded4f5e

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

craft_application/services/provider.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,10 @@
4646
from craft_application.services import ServiceFactory
4747

4848

49-
DEFAULT_FORWARD_ENVIRONMENT_VARIABLES: Iterable[str] = ()
49+
DEFAULT_FORWARD_ENVIRONMENT_VARIABLES: Iterable[str] = (
50+
"CRAFT_PARALLEL_BUILD_COUNT",
51+
"CRAFT_MAX_PARALLEL_BUILD_COUNT",
52+
)
5053

5154
_REQUESTED_SNAPS: dict[str, Snap] = {}
5255
"""Additional snaps to be installed using provider."""

docs/reference/changelog.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,17 @@
44
Changelog
55
*********
66

7+
5.2.1 (2025-05-23)
8+
------------------
9+
10+
Services
11+
========
12+
13+
- ``CRAFT_PARALLEL_BUILD_COUNT`` and ``CRAFT_MAX_PARALLEL_BUILD_COUNT`` are now
14+
forwarded to managed instances.
15+
16+
For a complete list of commits, check out the `5.2.1`_ release on GitHub.
17+
718
5.2.0 (2025-04-25)
819
------------------
920

@@ -750,3 +761,4 @@ For a complete list of commits, check out the `2.7.0`_ release on GitHub.
750761
.. _5.0.4: https://github.com/canonical/craft-application/releases/tag/5.0.4
751762
.. _5.1.0: https://github.com/canonical/craft-application/releases/tag/5.1.0
752763
.. _5.2.0: https://github.com/canonical/craft-application/releases/tag/5.2.0
764+
.. _5.2.1: https://github.com/canonical/craft-application/releases/tag/5.2.1

0 commit comments

Comments
 (0)