Skip to content

Commit 2db2c68

Browse files
lnyngmeta-codesync[bot]
authored andcommitted
[vmtest] Allow passing labels to vmtest target
Summary: Currently we can only pass labels to the wrapper but not the vmtest target itself. Add vm_test_labels field so that we can modify CI behaviors of the vmtest. Test Plan: CI Reviewed By: elibus Differential Revision: D89127808 fbshipit-source-id: c1910d712ee5a5727b537e8c6c408f9da84d76e4
1 parent 4e57ebc commit 2db2c68

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

antlir/antlir2/antlir2_vm/bzl/test.bzl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,7 @@ def _implicit_vm_test(
238238
expect_failure: bool = False,
239239
postmortem: bool = False,
240240
labels: list[str] | None = None,
241+
# @oss-disable
241242
output_dirs: list[str] | None = None,
242243
systemd_credentials: dict[str, str] | None = None,
243244
_add_outer_labels: list[str] = [],
@@ -274,6 +275,7 @@ def _implicit_vm_test(
274275
# @oss-disable
275276
labels = ["uses_sudo"]
276277
# @oss-disable
278+
# @oss-disable
277279

278280
inner_test_name = name + "_vm_test_inner"
279281
test_rule(

0 commit comments

Comments
 (0)