Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | tests: Drop buildbox xfailsjuerg/buildbox-run-bubblewrap | Jürg Billeter | 2019-12-10 | 14 | -28/+5 |
| | |||||
* | Drop buildbox sandbox | Jürg Billeter | 2019-12-10 | 2 | -275/+0 |
| | | | | Replaced by buildbox-run. | ||||
* | .gitlab-ci.yml: Drop buildbox job | Jürg Billeter | 2019-12-10 | 1 | -29/+0 |
| | | | | Replaced by buildbox-run. | ||||
* | .gitlab-ci.yml: Add job to test buildbox-run | Jürg Billeter | 2019-12-10 | 1 | -0/+6 |
| | | | | This job uses buildbox-run-bubblewrap and buildbox-fuse. | ||||
* | .gitlab-ci.yml: Update docker image | Jürg Billeter | 2019-12-10 | 1 | -1/+1 |
| | | | | | This updates buildbox-common and builbox-casd to 0.0.5 and adds buildbox-fuse and buildbox-run-bubblewrap. | ||||
* | Merge branch 'juerg/buildbox-run' into 'master' | Jürg Billeter | 2019-12-10 | 14 | -22/+232 |
|\ | | | | | | | | | Add buildbox-run sandboxing backend See merge request BuildStream/buildstream!1738 | ||||
| * | tests/integration/workspace.py: xfail logging for buildbox-run | Jürg Billeter | 2019-12-10 | 1 | -0/+1 |
| | | | | | | | | Individual commands are not logged with command batching. | ||||
| * | tests/integration/messages.py: xfail logging for buildbox-run | Jürg Billeter | 2019-12-10 | 1 | -0/+2 |
| | | | | | | | | Individual commands are not logged with command batching. | ||||
| * | tests/integration/manual.py: xfail logging for buildbox-run | Jürg Billeter | 2019-12-10 | 1 | -0/+1 |
| | | | | | | | | Individual commands are not logged with command batching. | ||||
| * | tests/integration/interactive_build.py: xfail logging for buildbox-run | Jürg Billeter | 2019-12-10 | 1 | -1/+1 |
| | | | | | | | | Logging differs with command batching. | ||||
| * | tests/integration/shell.py: xfail bind mount for buildbox-run | Jürg Billeter | 2019-12-10 | 1 | -4/+4 |
| | | | | | | | | Bind mounting is not supported. | ||||
| * | tests/integration/script.py: xfail read-only-root for buildbox-run | Jürg Billeter | 2019-12-10 | 1 | -0/+3 |
| | | | | | | | | The root directory can't be marked read-only with buildbox-run. | ||||
| * | tests/integration/script.py: Relax error message check | Jürg Billeter | 2019-12-10 | 1 | -1/+1 |
| | | |||||
| * | tests/integration/sandbox.py: Do not limit shm test to bwrap sandbox | Jürg Billeter | 2019-12-10 | 3 | -10/+43 |
| | | | | | | | | | | | | The purpose of the test is to ensure POSIX shared memory objects are supported in the sandbox. On Linux this requires /dev/shm to be a tmpfs. However, this should be supported by any full featured sandbox. | ||||
| * | _platform: Support experimental buildbox-run sandbox on all platforms | Jürg Billeter | 2019-12-10 | 2 | -3/+25 |
| | | | | | | | | | | The buildbox-run sandbox is used only if BST_FORCE_SANDBOX is set to buildbox-run. | ||||
| * | Add buildbox-run sandbox | Benjamin Schubert | 2019-12-10 | 1 | -0/+148 |
| | | |||||
| * | _sandboxreapi.py: Pass sandbox flags to _execute_action() | Jürg Billeter | 2019-12-10 | 2 | -3/+3 |
|/ | |||||
* | Merge branch 'coldtom/fix-junction-remotes' into 'master' | Jürg Billeter | 2019-12-10 | 2 | -3/+50 |
|\ | | | | | | | | | _project.py: Allow junctions to use parent remote when `ignore-junction-remotes` set See merge request BuildStream/buildstream!1759 | ||||
| * | Add test for junction option interactioncoldtom/fix-junction-remotes | Thomas Coldrick | 2019-12-10 | 1 | -0/+47 |
| | | | | | | | | | | | | Makes sure that `cache-junction-elements` and `ignore-junction-remotes` work together correctly, and that setting `ignore-junction-remotes` doesn't just remove all remote caches. | ||||
| * | _project.py: Allow junctions to use parent remote | Thomas Coldrick | 2019-12-10 | 1 | -3/+3 |
|/ | | | | | | | | | | | | At present it doesn't seem to be possible to use ignore-remote-caches and also cache cross-junction artifacts in one's own cache. By passing the parent caches to the junction we ensure that things get cached in the parent cache. For a motivating purpose, consider that one may have a (patched) junction which specifies a cache incompatible with master. This will throw warnings at every invokation of bst, or you won't cache cross-junction artifacts. | ||||
* | Merge branch ↵ | Tristan Maat | 2019-12-09 | 1 | -4/+4 |
|\ | | | | | | | | | | | | | | | | | '1211-stop-using-non-posix-features-in-small-test-suite-tests-to-avoid-fake-test-failures' into 'master' Resolve "Stop using non-POSIX features in small test suite tests to avoid fake test failures" Closes #1211 See merge request BuildStream/buildstream!1725 | ||||
| * | tests/internals/cascache.py: Stop using non-posix shell features | Tristan Maat | 2019-12-09 | 1 | -4/+4 |
|/ | |||||
* | Merge branch 'tlater/update-workspace-manpages' into 'master' | Tristan Maat | 2019-12-09 | 1 | -2/+2 |
|\ | | | | | | | | | man/bst-workspace-reset.1: Update workspace re-open help message See merge request BuildStream/buildstream!1723 | ||||
| * | man/bst-workspace-reset.1: Update workspace re-open help message | Tristan Maat | 2019-12-09 | 1 | -2/+2 |
|/ | | | | This was missed in !1710. | ||||
* | Merge branch 'traveltissues/remove-unused-functions' into 'master' | Darius Makovsky | 2019-12-09 | 12 | -296/+2 |
|\ | | | | | | | | | remove unused functions 1/2 See merge request BuildStream/buildstream!1753 | ||||
| * | _remote: ignore unused args | Darius Makovsky | 2019-12-09 | 1 | -1/+1 |
| | | |||||
| * | _profile: ignore unused args | Darius Makovsky | 2019-12-09 | 1 | -1/+1 |
| | | |||||
| * | resources: remove [un]register_exclusive_interest() | Darius Makovsky | 2019-12-09 | 1 | -50/+0 |
| | | |||||
| * | _project: remove create_artifact_element() | Darius Makovsky | 2019-12-09 | 1 | -13/+0 |
| | | |||||
| * | _pipeline: remove subtract_elements() | Darius Makovsky | 2019-12-09 | 1 | -15/+0 |
| | | |||||
| * | _pipeline: remove targets_include() | Darius Makovsky | 2019-12-09 | 1 | -17/+0 |
| | | |||||
| * | _context: remove set_artifact_directories_optional() | Darius Makovsky | 2019-12-09 | 1 | -10/+0 |
| | | |||||
| * | casserver: remove _digest_from_*_resource_name() | Darius Makovsky | 2019-12-09 | 1 | -45/+0 |
| | | |||||
| * | casserver: remove ArtifactStatus() | Darius Makovsky | 2019-12-09 | 1 | -4/+0 |
| | | |||||
| * | cascache: remove update_tree_mtime() | Darius Makovsky | 2019-12-09 | 1 | -4/+0 |
| | | |||||
| * | _artifactcache: remove _reachable_digests() | Darius Makovsky | 2019-12-09 | 1 | -18/+0 |
| | | |||||
| * | _artifactcache: remove _reachable_directories() | Darius Makovsky | 2019-12-09 | 1 | -18/+0 |
| | | |||||
| * | _artifactcache: remove get_artifact_logs() | Darius Makovsky | 2019-12-09 | 1 | -16/+0 |
| | | |||||
| * | _basecache: remove has_open_grpc_channels() | Darius Makovsky | 2019-12-09 | 1 | -12/+0 |
| | | |||||
| * | _workspaces: remove get_key() | Darius Makovsky | 2019-12-09 | 1 | -38/+0 |
| | | |||||
| * | _workspaces: remove invalidate_key() | Darius Makovsky | 2019-12-09 | 1 | -8/+0 |
| | | |||||
| * | element: remove _is_required()/__required | Darius Makovsky | 2019-12-09 | 1 | -8/+0 |
| | | |||||
| * | element: Remove unused method (__reset_cache_data) | Darius Makovsky | 2019-12-09 | 1 | -18/+0 |
|/ | |||||
* | Merge branch 'bschubert/stricter-asyncio-handling' into 'master' | Benjamin Schubert | 2019-12-07 | 2 | -27/+15 |
|\ | | | | | | | | | Fixes for asyncio loops were we don't follow the documentation See merge request BuildStream/buildstream!1756 | ||||
| * | scheduler.py: Only run thread-safe code in callbacks from watchersbschubert/stricter-asyncio-handling | Benjamin Schubert | 2019-12-07 | 2 | -2/+12 |
| | | | | | | | | | | | | | | | | Per https://docs.python.org/3/library/asyncio-policy.html#asyncio.AbstractChildWatcher.add_child_handler, the callback from a child handler must be thread safe. Not all our callbacks were. This changes all our callbacks to schedule a call for the next loop iteration instead of executing it directly. | ||||
| * | job.py: Only start new jobs in a `with watcher:` block | Benjamin Schubert | 2019-12-07 | 1 | -26/+5 |
| | | | | | | | | | | | | | | | | The documentation (https://docs.python.org/3/library/asyncio-policy.html#asyncio.AbstractChildWatcher) is apparently missing this part, but the code mentions that new processes should only ever be called inside a with block: https://github.com/python/cpython/blob/99eb70a9eb9493602ff6ad8bb92df4318cf05a3e/Lib/asyncio/unix_events.py#L808 | ||||
| * | job.py: Remove '_watcher' attribute, it is not needed | Benjamin Schubert | 2019-12-07 | 1 | -3/+2 |
|/ | | | | We don't need to keep a reference to the watcher, let's remove it. | ||||
* | Merge branch 'bschubert/optimize-scheduling' into 'master' | Benjamin Schubert | 2019-12-07 | 1 | -9/+18 |
|\ | | | | | | | | | scheduler.py: Optimize scheduling by not calling it unnecessarily See merge request BuildStream/buildstream!1755 | ||||
| * | scheduler.py: Optimize scheduling by not calling it unnecessarily | Benjamin Schubert | 2019-12-07 | 1 | -9/+18 |
|/ | | | | | | | | | | | | This delays the call to the re-scheduling of jobs until the current event loop as terminated. This is in order to reduce the number of time we call this method per loop, which should reduce the pressure on the loop and allow faster event handling Since the call is now delayed, also ensure we only call it once per loop iteration. | ||||
* | Merge branch 'chandan/fix-manifest' into 'master' | Chandan Singh | 2019-12-05 | 1 | -10/+6 |
|\ | | | | | | | | | Minor packaging-related fixups See merge request BuildStream/buildstream!1754 |