ci: race-free clone in ci/build.sh; bump ci/bread-ecosystem.rev #19

Merged
Breadway merged 1 commit from fix/breadcrumbs-ci-refresh into main 2026-09-29 20:40:33 +08:00
Owner

Two CI changes, both follow-ups to ECO-38. (1) ci/build.sh clones bread-ecosystem into a private temp dir, marks it .ready and renames it into place under a lock, instead of a non-atomic check-then-clone with a glob rm -rf. (2) ci/bread-ecosystem.rev moves to bread-ecosystem 7e27d78, which adds the per-product build lock and mounts the host's /etc/passwd and /etc/group into the build container. Without the latter dbus-daemon refuses every connection, so the twelve fake-NetworkManager tests in tests/cli.rs failed on every run; with it the full suite passes locally through the shared script. Supersedes #17 and #18.

Two CI changes, both follow-ups to ECO-38. (1) ci/build.sh clones bread-ecosystem into a private temp dir, marks it .ready and renames it into place under a lock, instead of a non-atomic check-then-clone with a glob rm -rf. (2) ci/bread-ecosystem.rev moves to bread-ecosystem 7e27d78, which adds the per-product build lock and mounts the host's /etc/passwd and /etc/group into the build container. Without the latter dbus-daemon refuses every connection, so the twelve fake-NetworkManager tests in tests/cli.rs failed on every run; with it the full suite passes locally through the shared script. Supersedes #17 and #18.
ci: race-free clone in ci/build.sh; bump ci/bread-ecosystem.rev
All checks were successful
check / check (push) Successful in 8m41s
63a96f5920
Two CI changes for breadcrumbs, both follow-ups to ECO-38:

- ci/build.sh clones bread-ecosystem into a private temp dir, marks it
  .ready and renames it into place under a lock, instead of a
  non-atomic check-then-clone with a glob rm -rf that could delete a
  checkout another job was building from.
- ci/bread-ecosystem.rev moves to bread-ecosystem 7e27d78,
  which adds the per-product build lock and mounts the host's
  /etc/passwd and /etc/group into the build container. Without the
  latter, dbus-daemon refuses every connection (the container uid has no
  passwd entry), so the twelve fake-NetworkManager tests in tests/cli.rs
  failed on every run.
Sign in to join this conversation.
No reviewers
No labels
bug
ci
enhancement
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Breadway/breadcrumbs!19
No description provided.