Skip to content

Commit

Permalink
[antlir] Label btrfsutil and subvol_utils with uses_sudo
Browse files Browse the repository at this point in the history
Summary: Labeling these libraries with `uses_sudo` allows running their tests with sudo in SC as a part of the new Citadel TD

Test Plan: waitforsandcastle

Reviewed By: justintrudell

Differential Revision: D50384012

fbshipit-source-id: ca65f1bf4ec33ebc744ffc8daa8bccbc967f05f1
  • Loading branch information
Serge Dubrouski authored and facebook-github-bot committed Oct 23, 2023
1 parent e4ab388 commit 474a3bd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions antlir/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ python_library(
srcs = [
"btrfsutil.py",
],
labels = ["uses_sudo"],
resources = {
":btrfsutil-bin": "btrfsutil-bin",
},
Expand Down Expand Up @@ -287,6 +288,7 @@ antlir_rust_extension(
python_library(
name = "subvol_utils",
srcs = ["subvol_utils.py"],
labels = ["uses_sudo"],
deps = [
":artifacts_dir",
":btrfsutil",
Expand Down

0 comments on commit 474a3bd

Please sign in to comment.