Skip to content

Commit 9b3329f

Browse files
authored
[CI] Avoid Moon sync actions centrally (#260709)
## Summary We currently don't use any of the moon sync operations, but even the no-op sync for this amount of packages does stalls big runs, like `:jest` with no benefit. In other Moon related wrappers, we'd set `MOON_NO_ACTIONS` but since Moon 2 it seems setting these fields to false in the workspace config works the same wonders.
1 parent ab83310 commit 9b3329f

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.buildkite/pipeline-utils/affected-packages/strategy_moon.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ export function getAffectedProjectsMoon(
2626
env: {
2727
...process.env,
2828
MOON_BASE: mergeBase,
29-
MOON_NO_ACTIONS: 'true',
3029
},
3130
timeout: 30000, // 30 seconds
3231
});

.moon/workspace.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ vcs:
1313

1414
pipeline:
1515
installDependencies: false
16+
syncWorkspace: false
17+
syncProjectDependencies: false
18+
syncProjects: false
1619

1720
# https://moonrepo.dev/docs/guides/remote-cache
1821
# Auth credentials will be missing on local environments, but that's OK.

0 commit comments

Comments
 (0)