Skip to content

Commit b7a1e9d

Browse files
committed
buildkite: add comment about kwargs consumed by build_group_per_arch
All other args are passed down as `**kwargs` to `group`, so call out which ones aren't. Signed-off-by: Patrick Roy <[email protected]>
1 parent 9efa069 commit b7a1e9d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.buildkite/common.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,10 @@ def build_group(self, *args, **kwargs):
317317
def build_group_per_arch(self, label, *args, **kwargs):
318318
"""
319319
Build a group, parametrizing over the architectures only.
320+
321+
kwargs consumed by this method and not passed down to `group`:
322+
- `depends_on_build` (default: `True`): Whether the steps in this group depend on the artifacts from the shared compilation steps
323+
- `key_prefix`: If set, causes the generated steps to have a "key" field set to f"{key_prefix}_{$ARCH}".
320324
"""
321325
depends_on_build = kwargs.pop("depends_on_build", True)
322326
key_prefix = kwargs.pop("key_prefix", None)

0 commit comments

Comments
 (0)