summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* data/userconfig.yaml: Document the cache.quota settingbochecha/cache-sizeMathieu Bridon2018-09-281-1/+6
|
* Merge branch 'valentindavid/silverblue-path' into 'master'Tiago Gomes2018-09-272-1/+13
|\ | | | | | | | | | | | | Fix outside-of-project check when project path is not canonical. Closes #673 See merge request BuildStream/buildstream!832
| * Fix outside-of-project check when project path is not canonical.Valentin David2018-09-272-1/+13
|/ | | | | | | | | The issue happens on Silverblue where /home is a symlink to /var/home. With this element-path is something like /var/home/user/project/elements, when the project path is /home/usr/project. Comparing canonical paths solves the issue. Fixes #673
* Merge branch 'richardmaw/push-failed-build-regression' into 'master'richardmaw-codethink2018-09-271-1/+1
|\ | | | | | | | | | | | | tests: Add regression test for pushing failed builds Closes #534 See merge request BuildStream/buildstream!824
| * tests: Add regression test for pushing failed buildsrichardmaw/push-failed-build-regressionRichard Maw2018-09-271-1/+1
|/ | | | | | This test ensures that failed builds are pushed when set to on-error=quit. Closes https://gitlab.com/BuildStream/buildstream/issues/534
* Merge branch 'mac_fixes' into 'master'Jürg Billeter2018-09-279-44/+158
|\ | | | | | | | | Implement compatibility fixes for MacOSX and WSL Blocks #411 and #412" See merge request BuildStream/buildstream!726
| * Import sandbox subclass when instantiating sandboxJames Ennis2018-09-273-4/+3
| | | | | | | | | | This patch was required due to not being able to execute `bst` on a Linux machine without FUSE available.
| * utils.py: Reworked safe_removeknownexus2018-09-271-19/+18
| | | | | | | | | | | | | | | | | | | | | | 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
| * Adding darwin.py (MacOS) platformknownexus2018-09-272-5/+58
| | | | | | | | Adding functionality to recognise Darwin as a platform in plaform.py
| * Adding Dummy sandboxknownexus2018-09-273-5/+49
| | | | | | | | | | This is to allow platforms that do not support sandboxing To error in a controlled/known way
| * Max-jobs is now defined on a platform basisknownexus2018-09-272-1/+6
| | | | | | | | | | | | | | 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
| * Added FUSE check, as WSL does not support FUSE yetknownexus2018-09-271-2/+11
| | | | | | | | | | | | | | _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
| * Added `set_resource_limits()` to platformknownexus2018-09-272-9/+14
|/ | | | | | | | | 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
* Merge branch 'juerg/git-describe' into 'master'Jürg Billeter2018-09-273-2/+74
|\ | | | | | | | | git.py: Make `ref` human readable See merge request BuildStream/buildstream!291
| * tests/sources/git.py: Add track and fetch test with and without tagJürg Billeter2018-09-271-0/+47
| |
| * testutils/repo/git.py: Add add_tag() methodJürg Billeter2018-09-271-0/+3
| |
| * git.py: Make `ref` human readableJürg Billeter2018-09-271-2/+24
|/ | | | Use `git describe` to prefix `ref` with closest tag, if available.
* Merge branch 'juerg/platform' into 'master'Jürg Billeter2018-09-2720-99/+124
|\ | | | | | | | | Make platform independent of context See merge request BuildStream/buildstream!829
| * Use lazy platform instantiationJürg Billeter2018-09-272-4/+4
| | | | | | | | | | | | 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.
| * _platform: Remove unused contextJürg Billeter2018-09-274-10/+7
| |
| * tests/artifactcache/push.py: Use Context for artifact cache creationJürg Billeter2018-09-271-6/+5
| |
| * tests/artifactcache/pull.py: Use Context for artifact cache creationJürg Billeter2018-09-271-6/+5
| |
| * tests/testutils: Use Context for artifact cache creationJürg Billeter2018-09-271-2/+1
| |
| * storage/_casbaseddirectory.py: Use Context for artifact cache creationJürg Billeter2018-09-271-2/+1
| |
| * _artifactcache/casserver.py: Use Context for artifact cache creationJürg Billeter2018-09-271-3/+1
| |
| * _platform/platform.py: Remove unused artifactcache propertyJürg Billeter2018-09-271-7/+0
| |
| * sandbox/_sandboxremote.py: Migrate to Context.artifactcacheJürg Billeter2018-09-271-7/+6
| |
| * _stream.py: Migrate to Context.artifactcacheJürg Billeter2018-09-271-3/+1
| |
| * _scheduler: Migrate to Context.artifactcacheJürg Billeter2018-09-274-12/+8
| |
| * _loader: Migrate to Context.artifactcacheJürg Billeter2018-09-271-3/+1
| |
| * Move artifact cache creation to ContextJürg Billeter2018-09-275-16/+16
| | | | | | | | The artifact cache is no longer platform-specific.
| * _artifactcache: Add preflight() methodJürg Billeter2018-09-272-0/+13
| |
| * _artifactcache/cascache.py: Remove unused enable_push parameterJürg Billeter2018-09-271-5/+2
| |
| * _platform/linux.py: Do not disable push globallyJürg Billeter2018-09-271-1/+1
| | | | | | | | | | | | On systems without user namespace support, elements with unsupported sandbox config (UID/GID) are now individually tainted, which disables artifact push.
| * _platform/linux.py: Remove redundant messageJürg Billeter2018-09-271-7/+2
| | | | | | | | Unsupported sandbox config (UID/GID) is now reported by the element.
| * element.py: Validate sandbox configJürg Billeter2018-09-271-4/+18
| |
| * _platform: Add check_sandbox_config() methodJürg Billeter2018-09-273-1/+26
| |
| * element.py: Add __use_remote_execution() helper methodJürg Billeter2018-09-271-3/+9
|/
* Merge branch 'mablanch/668-remote-build-failure' into 'master'Jim MacArthur2018-09-274-6/+337
|\ | | | | | | | | Better handle remote build failures See merge request BuildStream/buildstream!825
| * _sandboxremote.py: Handle remote build execution exit codemablanch/668-remote-build-failureMartin Blanchard2018-09-271-6/+15
| | | | | | | | https://gitlab.com/BuildStream/buildstream/issues/668
| * _protos: Import google.rpc.Code protoMartin Blanchard2018-09-273-0/+322
|/ | | | | | | Imports code.proto from https://github.com/googleapis/googleapis and corresponding modules generated with ./setup.py build_grpc. https://gitlab.com/BuildStream/buildstream/issues/668
* ci: add missing `-p` argumentTiago Gomes2018-09-261-1/+1
|
* Merge branch 'tiagogomes/acme-challenge' into 'master'Tiago Gomes2018-09-261-1/+7
|\ | | | | | | | | ci: add ACME challenge See merge request BuildStream/buildstream!831
| * ci: add ACME challengeTiago Gomes2018-09-261-1/+7
|/ | | | | | To finish the creation of the Let's Encrypt certificate, which will allows us to use https://docs.buildstream.build/ for accessing the documentation.
* ci: update freedesktop-sdk refTiago Gomes2018-09-261-1/+1
| | | | The current one doesn't build due server being down.
* Merge branch 'tiagogomes/issue-514' into 'master'Tiago Gomes2018-09-251-0/+43
|\ | | | | | | | | | | | | CI: test building freedesktop-sdk overnight Closes #514 See merge request BuildStream/buildstream!826
| * CI: test building freedesktop-sdk overnightTiago Gomes2018-09-251-0/+43
|/ | | | Closes #514.
* Merge branch 'jmac/stop-caching-vdirs' into 'master'Jim MacArthur2018-09-252-10/+16
|\ | | | | | | | | Stop caching virtual directories if get_directory is used. See merge request BuildStream/buildstream!818
| * element.py/_assemble(): Call get_virtual_directory later.jmac/stop-caching-vdirsJim MacArthur2018-09-251-3/+1
| |
| * sandbox.py: Stop caching get_virtual_directory if get_directory is usedJim MacArthur2018-09-251-7/+15
|/ | | | | Also update the documentation for get_virtual_directory to make the implications of using both methods clearer.