summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* _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
| |
| * _artifact: Import workspaced artifacts with mtimesDarius Makovsky2020-02-111-2/+3
| |
| * element.py: Add MTime to output_node_properties for workspaced elementsJürg Billeter2020-02-111-0/+7
| | | | | | | | | | For incremental workspace builds we need to retain file timestamps in buildtrees.
| * _sandboxreapi.py: Support setting output_node_propertiesJürg Billeter2020-02-111-0/+7
| |
| * element.py: Store sources vdir when caching buildtreesJürg Billeter2020-02-112-2/+14
| | | | | | | | | | | | This will be used for incremental (workspace) builds. Always store sources when already caching buildtrees. The overhead is expected to be negligible as the buildtree is normally a superset of the sources.
| * _artifact.py: Add helper methods for new sources fieldJürg Billeter2020-02-111-0/+28
| |
| * artifact.proto: Add sources fieldJürg Billeter2020-02-112-13/+24
| | | | | | | | This will be used for incremental builds.
| * sandbox: Remove unused _SandboxBatchCallJürg Billeter2020-02-112-20/+0
| |
| * _artifact.py: Remove unused get_metadata_dependencies() methodJürg Billeter2020-02-111-19/+0
| |
| * _artifact.py: Remove unused rootdir parameter from cache() methodJürg Billeter2020-02-112-6/+5
| |
| * utils.py: Remove unused FileListResult.combine() methodJürg Billeter2020-02-111-12/+0
| |
| * cascache.py: Remove unused diff_trees() methodJürg Billeter2020-02-111-68/+0
| |
| * _artifactcache.py: Remove unused diff() methodJürg Billeter2020-02-111-27/+0
| |
| * element.py: stage_artifact(): Drop unused update_mtimes parameterJürg Billeter2020-02-111-26/+2
| |
| * _workspaces: Rename `last_successful` to `last_build`Darius Makovsky2020-02-115-15/+15
| | | | | | | | | | | | The new incremental build approach uses the buildtree from the last build (successful or not) and no longer needs to know any information about the last successful build.
| * _workspaces.py: Drop `prepared`Jürg Billeter2020-02-113-7/+4
| | | | | | | | | | | | This will no longer be used in incremental builds. Successful configure commands will be recorded with a marker file in the buildtree of the last build artifact.
| * _workspaces.py: Drop `running_files`Jürg Billeter2020-02-113-93/+6
| | | | | | | | | | | | This will no longer be used in incremental builds. As source and build files are separated now, we can trigger a clean rebuild when dependencies change.
| * _workspaces.py: Increment format version, drop support for old versionsJürg Billeter2020-02-112-81/+13
| | | | | | | | | | Do not accept old versions as bst 1.x workspaces do not separate source and build files.
| * _workspaces.py: Remove unused stage() methodJürg Billeter2020-02-111-15/+0
| |
| * _casbaseddirectory.py: Add assert to IndexEntry.get_directory()Jürg Billeter2020-02-111-0/+1
| |
| * storage: Remove unused Directory.set_deterministic_mtime()Jürg Billeter2020-02-113-14/+0
| |
| * tests/integration/workspace.py: Fix test_incremental_configure...Jürg Billeter2020-02-111-1/+5
| | | | | | | | | | Add file to workspace directory to ensure second `bst build` is actually building the element.
| * tests/integration/workspace.py: Fix test_workspace_commanddirJürg Billeter2020-02-111-3/+10
| | | | | | | | Object files are no longer stored in the workspace directory.
| * tests: Remove stray workspaces.yml filesJürg Billeter2020-02-112-0/+0
| |
| * element.py: Cache buildtrees by default for workspace buildsJürg Billeter2020-02-111-1/+1
|/ | | | | The buildtree of the previous build is required for incremental workspace builds.
* Merge branch 'juerg/sandbox-reapi-capture' into 'master'Jürg Billeter2020-02-111-32/+33
|\ | | | | | | | | | | | | _sandboxreapi.py: Optimize output_directories Closes #1223 See merge request BuildStream/buildstream!1818
| * _sandboxreapi.py: Optimize output_directoriesjuerg/sandbox-reapi-captureJürg Billeter2020-02-111-32/+33
|/ | | | | | Do not capture read-only directories. Fixes #1223.
* Merge branch 'juerg/ci-re' into 'master'Jürg Billeter2020-02-112-14/+4
|\ | | | | | | | | .gitlab-ci/buildgrid-compose.yml: Switch to buildbox-worker See merge request BuildStream/buildstream!1819
| * .gitlab-ci/buildgrid-compose.yml: Switch to buildbox-workerJürg Billeter2020-02-112-14/+4
|/ | | | | | | | | Use buildbox-worker with buildbox-run-bubblewrap and buildbox-fuse from the buildbox-nightly docker image instead of the Python buildbox worker as the latter still uses the obsolete `buildbox` command. buildbox-worker launch is delayed as it fails if started before the BuildGrid server is ready.
* Merge branch 'juerg/remove-unused' into 'master'Jürg Billeter2020-02-104-227/+0
|\ | | | | | | | | Remove unused code See merge request BuildStream/buildstream!1817
| * cascache.py: Remove unused _get_subdir() methodjuerg/remove-unusedJürg Billeter2020-02-101-16/+0
| |
| * utils.py: Drop device node support from _process_list()Jürg Billeter2020-02-101-11/+0
| | | | | | | | | | This should not be needed. For non-privileged users `mknod()` will anyway fail. Let's consistently mark it as unsupported.
| * sandbox: Remove unused _mounter.pyJürg Billeter2020-02-102-200/+0
|/
* Merge branch 'tlater/CASdiff' into 'master'Jürg Billeter2020-02-0555-19/+335
|\ | | | | | | | | storage/_casbaseddirectory.py: Implement `_apply_changes` See merge request BuildStream/buildstream!1769
| * _casbaseddirectory.py: Use the new _add_entry where possibletlater/CASdiffTristan Daniël Maat2020-02-051-9/+2
| |
| * tests/internals/storage.py: Add merge testsTristan Maat2020-02-0554-0/+207
| |