summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* tests: Drop buildbox xfailsjuerg/buildbox-run-bubblewrapJürg Billeter2019-12-1014-28/+5
|
* Drop buildbox sandboxJürg Billeter2019-12-102-275/+0
| | | | Replaced by buildbox-run.
* .gitlab-ci.yml: Drop buildbox jobJürg Billeter2019-12-101-29/+0
| | | | Replaced by buildbox-run.
* .gitlab-ci.yml: Add job to test buildbox-runJürg Billeter2019-12-101-0/+6
| | | | This job uses buildbox-run-bubblewrap and buildbox-fuse.
* .gitlab-ci.yml: Update docker imageJürg Billeter2019-12-101-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 Billeter2019-12-1014-22/+232
|\ | | | | | | | | Add buildbox-run sandboxing backend See merge request BuildStream/buildstream!1738
| * tests/integration/workspace.py: xfail logging for buildbox-runJürg Billeter2019-12-101-0/+1
| | | | | | | | Individual commands are not logged with command batching.
| * tests/integration/messages.py: xfail logging for buildbox-runJürg Billeter2019-12-101-0/+2
| | | | | | | | Individual commands are not logged with command batching.
| * tests/integration/manual.py: xfail logging for buildbox-runJürg Billeter2019-12-101-0/+1
| | | | | | | | Individual commands are not logged with command batching.
| * tests/integration/interactive_build.py: xfail logging for buildbox-runJürg Billeter2019-12-101-1/+1
| | | | | | | | Logging differs with command batching.
| * tests/integration/shell.py: xfail bind mount for buildbox-runJürg Billeter2019-12-101-4/+4
| | | | | | | | Bind mounting is not supported.
| * tests/integration/script.py: xfail read-only-root for buildbox-runJürg Billeter2019-12-101-0/+3
| | | | | | | | The root directory can't be marked read-only with buildbox-run.
| * tests/integration/script.py: Relax error message checkJürg Billeter2019-12-101-1/+1
| |
| * tests/integration/sandbox.py: Do not limit shm test to bwrap sandboxJürg Billeter2019-12-103-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 platformsJürg Billeter2019-12-102-3/+25
| | | | | | | | | | The buildbox-run sandbox is used only if BST_FORCE_SANDBOX is set to buildbox-run.
| * Add buildbox-run sandboxBenjamin Schubert2019-12-101-0/+148
| |
| * _sandboxreapi.py: Pass sandbox flags to _execute_action()Jürg Billeter2019-12-102-3/+3
|/
* Merge branch 'coldtom/fix-junction-remotes' into 'master'Jürg Billeter2019-12-102-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-remotesThomas Coldrick2019-12-101-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 remoteThomas Coldrick2019-12-101-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 Maat2019-12-091-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 featuresTristan Maat2019-12-091-4/+4
|/
* Merge branch 'tlater/update-workspace-manpages' into 'master'Tristan Maat2019-12-091-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 messageTristan Maat2019-12-091-2/+2
|/ | | | This was missed in !1710.
* Merge branch 'traveltissues/remove-unused-functions' into 'master'Darius Makovsky2019-12-0912-296/+2
|\ | | | | | | | | remove unused functions 1/2 See merge request BuildStream/buildstream!1753
| * _remote: ignore unused argsDarius Makovsky2019-12-091-1/+1
| |
| * _profile: ignore unused argsDarius Makovsky2019-12-091-1/+1
| |
| * resources: remove [un]register_exclusive_interest()Darius Makovsky2019-12-091-50/+0
| |
| * _project: remove create_artifact_element()Darius Makovsky2019-12-091-13/+0
| |
| * _pipeline: remove subtract_elements()Darius Makovsky2019-12-091-15/+0
| |
| * _pipeline: remove targets_include()Darius Makovsky2019-12-091-17/+0
| |
| * _context: remove set_artifact_directories_optional()Darius Makovsky2019-12-091-10/+0
| |
| * casserver: remove _digest_from_*_resource_name()Darius Makovsky2019-12-091-45/+0
| |
| * casserver: remove ArtifactStatus()Darius Makovsky2019-12-091-4/+0
| |
| * cascache: remove update_tree_mtime()Darius Makovsky2019-12-091-4/+0
| |
| * _artifactcache: remove _reachable_digests()Darius Makovsky2019-12-091-18/+0
| |
| * _artifactcache: remove _reachable_directories()Darius Makovsky2019-12-091-18/+0
| |
| * _artifactcache: remove get_artifact_logs()Darius Makovsky2019-12-091-16/+0
| |
| * _basecache: remove has_open_grpc_channels()Darius Makovsky2019-12-091-12/+0
| |
| * _workspaces: remove get_key()Darius Makovsky2019-12-091-38/+0
| |
| * _workspaces: remove invalidate_key()Darius Makovsky2019-12-091-8/+0
| |
| * element: remove _is_required()/__requiredDarius Makovsky2019-12-091-8/+0
| |
| * element: Remove unused method (__reset_cache_data)Darius Makovsky2019-12-091-18/+0
|/
* Merge branch 'bschubert/stricter-asyncio-handling' into 'master'Benjamin Schubert2019-12-072-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-handlingBenjamin Schubert2019-12-072-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:` blockBenjamin Schubert2019-12-071-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 neededBenjamin Schubert2019-12-071-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 Schubert2019-12-071-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 unnecessarilyBenjamin Schubert2019-12-071-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 Singh2019-12-051-10/+6
|\ | | | | | | | | Minor packaging-related fixups See merge request BuildStream/buildstream!1754