Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | data/userconfig.yaml: Document the cache.quota settingbochecha/cache-size | Mathieu Bridon | 2018-09-28 | 1 | -1/+6 |
| | |||||
* | Merge branch 'valentindavid/silverblue-path' into 'master' | Tiago Gomes | 2018-09-27 | 2 | -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 David | 2018-09-27 | 2 | -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-codethink | 2018-09-27 | 1 | -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-regression | Richard Maw | 2018-09-27 | 1 | -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 Billeter | 2018-09-27 | 9 | -44/+158 |
|\ | | | | | | | | | Implement compatibility fixes for MacOSX and WSL Blocks #411 and #412" See merge request BuildStream/buildstream!726 | ||||
| * | Import sandbox subclass when instantiating sandbox | James Ennis | 2018-09-27 | 3 | -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_remove | knownexus | 2018-09-27 | 1 | -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) platform | knownexus | 2018-09-27 | 2 | -5/+58 |
| | | | | | | | | Adding functionality to recognise Darwin as a platform in plaform.py | ||||
| * | Adding Dummy sandbox | knownexus | 2018-09-27 | 3 | -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 basis | knownexus | 2018-09-27 | 2 | -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 yet | knownexus | 2018-09-27 | 1 | -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 platform | knownexus | 2018-09-27 | 2 | -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 Billeter | 2018-09-27 | 3 | -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 tag | Jürg Billeter | 2018-09-27 | 1 | -0/+47 |
| | | |||||
| * | testutils/repo/git.py: Add add_tag() method | Jürg Billeter | 2018-09-27 | 1 | -0/+3 |
| | | |||||
| * | git.py: Make `ref` human readable | Jürg Billeter | 2018-09-27 | 1 | -2/+24 |
|/ | | | | Use `git describe` to prefix `ref` with closest tag, if available. | ||||
* | Merge branch 'juerg/platform' into 'master' | Jürg Billeter | 2018-09-27 | 20 | -99/+124 |
|\ | | | | | | | | | Make platform independent of context See merge request BuildStream/buildstream!829 | ||||
| * | Use lazy platform instantiation | Jürg Billeter | 2018-09-27 | 2 | -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 context | Jürg Billeter | 2018-09-27 | 4 | -10/+7 |
| | | |||||
| * | tests/artifactcache/push.py: Use Context for artifact cache creation | Jürg Billeter | 2018-09-27 | 1 | -6/+5 |
| | | |||||
| * | tests/artifactcache/pull.py: Use Context for artifact cache creation | Jürg Billeter | 2018-09-27 | 1 | -6/+5 |
| | | |||||
| * | tests/testutils: Use Context for artifact cache creation | Jürg Billeter | 2018-09-27 | 1 | -2/+1 |
| | | |||||
| * | storage/_casbaseddirectory.py: Use Context for artifact cache creation | Jürg Billeter | 2018-09-27 | 1 | -2/+1 |
| | | |||||
| * | _artifactcache/casserver.py: Use Context for artifact cache creation | Jürg Billeter | 2018-09-27 | 1 | -3/+1 |
| | | |||||
| * | _platform/platform.py: Remove unused artifactcache property | Jürg Billeter | 2018-09-27 | 1 | -7/+0 |
| | | |||||
| * | sandbox/_sandboxremote.py: Migrate to Context.artifactcache | Jürg Billeter | 2018-09-27 | 1 | -7/+6 |
| | | |||||
| * | _stream.py: Migrate to Context.artifactcache | Jürg Billeter | 2018-09-27 | 1 | -3/+1 |
| | | |||||
| * | _scheduler: Migrate to Context.artifactcache | Jürg Billeter | 2018-09-27 | 4 | -12/+8 |
| | | |||||
| * | _loader: Migrate to Context.artifactcache | Jürg Billeter | 2018-09-27 | 1 | -3/+1 |
| | | |||||
| * | Move artifact cache creation to Context | Jürg Billeter | 2018-09-27 | 5 | -16/+16 |
| | | | | | | | | The artifact cache is no longer platform-specific. | ||||
| * | _artifactcache: Add preflight() method | Jürg Billeter | 2018-09-27 | 2 | -0/+13 |
| | | |||||
| * | _artifactcache/cascache.py: Remove unused enable_push parameter | Jürg Billeter | 2018-09-27 | 1 | -5/+2 |
| | | |||||
| * | _platform/linux.py: Do not disable push globally | Jürg Billeter | 2018-09-27 | 1 | -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 message | Jürg Billeter | 2018-09-27 | 1 | -7/+2 |
| | | | | | | | | Unsupported sandbox config (UID/GID) is now reported by the element. | ||||
| * | element.py: Validate sandbox config | Jürg Billeter | 2018-09-27 | 1 | -4/+18 |
| | | |||||
| * | _platform: Add check_sandbox_config() method | Jürg Billeter | 2018-09-27 | 3 | -1/+26 |
| | | |||||
| * | element.py: Add __use_remote_execution() helper method | Jürg Billeter | 2018-09-27 | 1 | -3/+9 |
|/ | |||||
* | Merge branch 'mablanch/668-remote-build-failure' into 'master' | Jim MacArthur | 2018-09-27 | 4 | -6/+337 |
|\ | | | | | | | | | Better handle remote build failures See merge request BuildStream/buildstream!825 | ||||
| * | _sandboxremote.py: Handle remote build execution exit codemablanch/668-remote-build-failure | Martin Blanchard | 2018-09-27 | 1 | -6/+15 |
| | | | | | | | | https://gitlab.com/BuildStream/buildstream/issues/668 | ||||
| * | _protos: Import google.rpc.Code proto | Martin Blanchard | 2018-09-27 | 3 | -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` argument | Tiago Gomes | 2018-09-26 | 1 | -1/+1 |
| | |||||
* | Merge branch 'tiagogomes/acme-challenge' into 'master' | Tiago Gomes | 2018-09-26 | 1 | -1/+7 |
|\ | | | | | | | | | ci: add ACME challenge See merge request BuildStream/buildstream!831 | ||||
| * | ci: add ACME challenge | Tiago Gomes | 2018-09-26 | 1 | -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 ref | Tiago Gomes | 2018-09-26 | 1 | -1/+1 |
| | | | | The current one doesn't build due server being down. | ||||
* | Merge branch 'tiagogomes/issue-514' into 'master' | Tiago Gomes | 2018-09-25 | 1 | -0/+43 |
|\ | | | | | | | | | | | | | CI: test building freedesktop-sdk overnight Closes #514 See merge request BuildStream/buildstream!826 | ||||
| * | CI: test building freedesktop-sdk overnight | Tiago Gomes | 2018-09-25 | 1 | -0/+43 |
|/ | | | | Closes #514. | ||||
* | Merge branch 'jmac/stop-caching-vdirs' into 'master' | Jim MacArthur | 2018-09-25 | 2 | -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-vdirs | Jim MacArthur | 2018-09-25 | 1 | -3/+1 |
| | | |||||
| * | sandbox.py: Stop caching get_virtual_directory if get_directory is used | Jim MacArthur | 2018-09-25 | 1 | -7/+15 |
|/ | | | | | Also update the documentation for get_virtual_directory to make the implications of using both methods clearer. |