summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* node.pyx: Add note on node exceptions in pluginstlater/node-exceptionsTristan Maat2020-03-201-0/+4
|
* Merge branch 'juerg/reapi' into 'master'Jürg Billeter2020-03-1615-296/+279
|\ | | | | | | | | Update remote_execution.proto See merge request BuildStream/buildstream!1831
| * _protos: Update remote_execution.protojuerg/reapiJürg Billeter2020-03-164-132/+139
| | | | | | | | Move output_node_properties from Action to Command.
| * _protos: Rebuild with latest protobufJürg Billeter2020-03-1612-165/+141
|/
* Merge branch 'juerg/vdirectory' into 'master'Jürg Billeter2020-03-107-52/+140
|\ | | | | | | | | Improve `Directory` API See merge request BuildStream/buildstream!1827
| * storage: Add generic Directory._create_empty_file() methodJürg Billeter2020-03-103-12/+4
| | | | | | | | | | This reimplements `_create_empty_file()` using the new `open_file()` method.
| * storage: Add Directory.open_file() methodJürg Billeter2020-03-103-0/+53
| | | | | | | | | | This is the virtual directory API equivalent to Python's built-in `open()` function.
| * utils.py: Add mode and encoding parameters to _tempnamedfile()Jürg Billeter2020-03-101-2/+4
| |
| * storage: Add public Directory.exists() methodJürg Billeter2020-03-106-23/+35
| |
| * _filebaseddirectory.py: Improve _exists() methodJürg Billeter2020-03-102-8/+15
| | | | | | | | | | | | Use similar implementation as in `CasBasedDirectory`. This fixes following symlinks to avoid the host filesystem and adds support for `follow_symlinks=False`.
| * _filebaseddirectory.py: Support follow_symlinks in descend()Jürg Billeter2020-03-101-8/+31
| |
| * _casbaseddirectory.py: Mark find_root() method internalJürg Billeter2020-03-101-10/+10
| | | | | | | | | | It's not defined in the abstract `Directory` class and is not expected to be needed by plugins.
| * _casbaseddirectory.py: Tweak _add_file() parametersJürg Billeter2020-03-101-6/+5
|/ | | | Separate `name` from `path` to allow adding temporary files.
* Merge branch 'juerg/reapi-platform' into 'master'Jürg Billeter2020-03-092-12/+20
|\ | | | | | | | | _sandboxreapi.py: Sort platform properties by name See merge request BuildStream/buildstream!1828
| * _sandboxreapi.py: Sort platform properties by nameJürg Billeter2020-03-092-12/+20
|/ | | | This is required by the REAPI specification.
* Merge branch 'chandan/fix-bst-show-formatting' into 'master'Chandan Singh2020-03-041-6/+5
|\ | | | | | | | | | | | | _frontend/cli.py: Fix formatting for `bst show` help text Closes #323 See merge request BuildStream/buildstream!1824
| * _frontend/cli.py: Fix formatting for `bst show` help textChandan Singh2020-03-041-6/+5
|/ | | | | | | | | | | | | | * Sphinx does not allow sections within docstrings so convert the "FORMAT" heading into bold text. See https://sphinx-dev.narkive.com/7rqrxjgL/headings-in-docstrings for some related discussion on this issue. * Sphinx uses double backticks for code samples so fix that for CLI options. * Fix a typo. Fixes #323.
* Merge branch 'juerg/buildbox-signals' into 'master'Jürg Billeter2020-03-031-2/+17
|\ | | | | | | | | _sandboxbuildboxrun.py: Fix signal handling See merge request BuildStream/buildstream!1826
| * _sandboxbuildboxrun.py: Fix signal handlingjuerg/buildbox-signalsJürg Billeter2020-03-021-2/+17
|/ | | | | This fixes resume in non-interactive mode and job control in interactive shells, matching the behavior of `SandboxBwrap`.
* Merge branch 'juerg/reapi-readonly' into 'master'Jürg Billeter2020-02-272-11/+48
|\ | | | | | | | | _sandboxreapi.py: Support read-only root See merge request BuildStream/buildstream!1825
| * _sandboxreapi.py: Support read-only rootjuerg/reapi-readonlyJürg Billeter2020-02-271-3/+10
| |
| * _sandboxreapi.py: Ensure mount points existJürg Billeter2020-02-271-4/+18
| |
| * _casbaseddirectory.py: Add _set_subtree_read_only() methodJürg Billeter2020-02-271-0/+9
| |
| * _casbaseddirectory.py: Add support for directory node propertiesJürg Billeter2020-02-271-0/+7
| |
| * _casbaseddirectory.py: Fix _create_empty_file()Jürg Billeter2020-02-271-1/+1
| |
| * _casbaseddirectory.py: Fix _exists()Jürg Billeter2020-02-271-3/+3
|/ | | | It should return True for directories and symlinks as well.
* Merge branch 'juerg/reapi-platform' into 'master'Jürg Billeter2020-02-2733-41/+72
|\ | | | | | | | | _sandboxreapi.py: Set platform properties See merge request BuildStream/buildstream!1823
| * _sandboxreapi.py: Support optional network accessJürg Billeter2020-02-272-1/+4
| | | | | | | | This is used by `bst shell`.
| * _sandboxreapi.py: Set unixUID and unixGID platform propertiesJürg Billeter2020-02-272-6/+20
| |
| * _sandboxreapi.py: Set OSFamily and ISA platform propertiesJürg Billeter2020-02-271-1/+6
| |
| * .gitlab-ci/buildgrid-compose.yml: Set platform propertiesJürg Billeter2020-02-271-1/+1
| | | | | | | | The worker needs to advertise the supported OSFamily and ISA.
| * Canonicalize OS nameJürg Billeter2020-02-2730-33/+42
|/ | | | This matches the REAPI platform lexicon.
* Merge branch 'willsalmon/directorynote' into 'master'Jürg Billeter2020-02-261-0/+6
|\ | | | | | | | | Add doc note about directories See merge request BuildStream/buildstream!1822
| * Docs: Add doc note about directories to core pluginswillsalmon/directorynoteWilliam Salmon2020-02-261-0/+6
|/
* Merge branch 'juerg/reapi-log' into 'master'Jürg Billeter2020-02-204-10/+30
|\ | | | | | | | | _sandboxremote.py: Support stdout and stderr digests See merge request BuildStream/buildstream!1821
| * _sandboxremote.py: Support stdout and stderr digestsjuerg/reapi-logJürg Billeter2020-02-201-2/+12
| | | | | | | | Fetch blobs from remote CAS and then forward them to the sandbox output.
| * sandbox: Move log forwarding from SandboxREAPI to SandboxRemoteJürg Billeter2020-02-202-9/+10
| | | | | | | | | | SandboxBuildBoxRun doesn't require log forwarding as we use stdout and stderr of the buildbox-run process.
| * cascache.py: Don't trip up on empty digests in fetch_blobs()Jürg Billeter2020-02-201-1/+2
| |
| * tests/integration/autotools.py: Check build logJürg Billeter2020-02-201-0/+8
|/
* Merge branch 'abderrahim/simple-host-files' into 'master'Jürg Billeter2020-02-202-5/+8
|\ | | | | | | | | _project.py: fix the case where a simple string is passed to host-files See merge request BuildStream/buildstream!1820
| * _project.py: fix the case where a simple string is passed to host-filesabderrahim/simple-host-filesAbderrahim Kitouni2020-02-172-5/+8
|/ | | | also add a test
* Merge branch 'juerg/incremental-workspace-build' into 'master'Jürg Billeter2020-02-1727-442/+443
|\ | | | | | | | | Reimplement support for incremental workspace builds See merge request BuildStream/buildstream!1816
| * tests/remoteexecution/workspace.py: Fix test and enable incrementaljuerg/incremental-workspace-buildJürg Billeter2020-02-111-15/+15
| |
| * tests/integration/workspace.py: Test incremental build after failureJürg Billeter2020-02-114-0/+74
| |
| * tests/integration/workspace.py: Add incremental build testJürg Billeter2020-02-113-0/+84
| | | | | | | | Verify basic incremental build and proper mtime handling.
| * element.py: Reimplement support for incremental workspace buildsJürg Billeter2020-02-111-11/+56
| |
| * buildelement.py: Use marker file to avoid rerunning configureJürg Billeter2020-02-112-9/+28
| |
| * sandbox: Add _create_empty_file() methodJürg Billeter2020-02-112-1/+48
| |
| * _filebaseddirectory.py: Add _create_empty_file() methodJürg Billeter2020-02-111-0/+4
| |
| * _casbaseddirectory.py: Add _create_empty_file() methodJürg Billeter2020-02-111-0/+8
| |