Commits on Source (26)
-
Jürg Billeter authored
-
Jürg Billeter authored
-
Jürg Billeter authored
-
Jürg Billeter authored
Unsupported sandbox config (UID/GID) is now reported by the element.
-
Jürg Billeter authored
On systems without user namespace support, elements with unsupported sandbox config (UID/GID) are now individually tainted, which disables artifact push.
-
Jürg Billeter authored
-
Jürg Billeter authored
The artifact cache is no longer platform-specific.
-
Jürg Billeter authored
-
Jürg Billeter authored
-
Jürg Billeter authored
-
Jürg Billeter authored
-
Jürg Billeter authored
-
Jürg Billeter authored
-
Jürg Billeter authored
Now that the platform is independent of the context, explicit instantiation is no longer required. This avoids issues with platform instances used across test cases with mismatching context.
-
Jürg Billeter authored
-
Jürg Billeter authored
-
Jürg Billeter authored
-
Jürg Billeter authored
-
Jürg Billeter authored
-
This has been moved from app.py As it will have different functionality depending on platform Once the Darwin (MacOS) platform is added Removed `resource.setrlimit()` functionality from app.py Added `resource.setrlimit()` functionality to platform.py as function
-
_platform/linux.py: Add FUSE check And Ensure exception is not raised when performing sandbox availability check Without this check, WSL would error upon finding FUSE missing This must be bypassed to allow remote execution
-
This is due to Darwin (MacOS) having a different Max-Jobs limit _platform/platform.py: Adding max-jobs call _project.py: redirected 'max-jobs' to point at the platform
-
This is to allow platforms that do not support sandboxing To error in a controlled/known way
-
Adding functionality to recognise Darwin as a platform in plaform.py
-
non-Linux platforms don't return EISDIR when attempting to unlink a directory Stopped safe_remove attempting to unlink dirs Previously safe_remove would attempt to unlink a path Before attempting to remove it if it was a dir Now it checks for a dir before that step
-
Sandbox: Ensure that we only import the sandbox subclasses when instantiate a sandbox This patch was required due to not being able to execute `bst` on a Linux machine without Fuse or Bubblewrap available
Showing
- buildstream/_artifactcache/cascache.py 2 additions, 5 deletionsbuildstream/_artifactcache/cascache.py
- buildstream/_artifactcache/casserver.py 1 addition, 3 deletionsbuildstream/_artifactcache/casserver.py
- buildstream/_context.py 9 additions, 0 deletionsbuildstream/_context.py
- buildstream/_frontend/app.py 1 addition, 9 deletionsbuildstream/_frontend/app.py
- buildstream/_loader/loader.py 1 addition, 3 deletionsbuildstream/_loader/loader.py
- buildstream/_platform/darwin.py 50 additions, 0 deletionsbuildstream/_platform/darwin.py
- buildstream/_platform/linux.py 34 additions, 19 deletionsbuildstream/_platform/linux.py
- buildstream/_platform/platform.py 33 additions, 22 deletionsbuildstream/_platform/platform.py
- buildstream/_platform/unix.py 12 additions, 10 deletionsbuildstream/_platform/unix.py
- buildstream/_project.py 3 additions, 1 deletionbuildstream/_project.py
- buildstream/_scheduler/jobs/cachesizejob.py 2 additions, 3 deletionsbuildstream/_scheduler/jobs/cachesizejob.py
- buildstream/_scheduler/jobs/cleanupjob.py 2 additions, 3 deletionsbuildstream/_scheduler/jobs/cleanupjob.py
- buildstream/_scheduler/queues/buildqueue.py 2 additions, 3 deletionsbuildstream/_scheduler/queues/buildqueue.py
- buildstream/_scheduler/scheduler.py 2 additions, 3 deletionsbuildstream/_scheduler/scheduler.py
- buildstream/_stream.py 1 addition, 3 deletionsbuildstream/_stream.py
- buildstream/element.py 27 additions, 7 deletionsbuildstream/element.py
- buildstream/sandbox/__init__.py 1 addition, 2 deletionsbuildstream/sandbox/__init__.py
- buildstream/sandbox/_sandboxdummy.py 40 additions, 0 deletionsbuildstream/sandbox/_sandboxdummy.py
- buildstream/sandbox/_sandboxremote.py 6 additions, 7 deletionsbuildstream/sandbox/_sandboxremote.py
- buildstream/storage/_casbaseddirectory.py 1 addition, 2 deletionsbuildstream/storage/_casbaseddirectory.py
buildstream/_platform/darwin.py
0 → 100644
buildstream/sandbox/_sandboxdummy.py
0 → 100644