Skip to content

Commit

Permalink
[antlir2][rpm] repodata action must run locally
Browse files Browse the repository at this point in the history
Summary:
This doesn't work remotely because it downloads `cas_artifact`s that are using
a different `use_case` that is not available on RE.

Somehow, scuba claims that 1% of actions run on RE and succeed, but that should
be impossible. Either way, almost all of these are either served by the cache
or run locally.
https://fburl.com/scuba/buck2_actions/a95j7qh4

Test Plan: testhard

Reviewed By: epilatow

Differential Revision: D68028682

fbshipit-source-id: ad297ec611f25aa654ff8bbda48ac26ed989f308
  • Loading branch information
vmagro authored and facebook-github-bot committed Jan 10, 2025
1 parent 452d6c1 commit b253cec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions antlir/antlir2/package_managers/dnf/rules/repo.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ def _impl(ctx: AnalysisContext) -> list[Provider]:
optional_args,
),
category = "repodata",
local_only = True,
allow_cache_upload = True,
)
else:
plain_repodata = ctx.attrs.repodata
Expand Down

0 comments on commit b253cec

Please sign in to comment.