summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* .gitlab-ci/buildgrid-compose.yml: Switch to buildbox-workerjuerg/ci-reJürg Billeter2020-02-111-7/+2
| | | | | | | | | 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
| |
| * _casbaseddirectory.py: Implement `_apply_changes`Tristan Maat2020-02-051-3/+112
| | | | | | | | | | | | | | This applies the changes between two CAS directories to a third, avoiding exposure of our internal IndexEntry objects. This is part of CAS support for incremental workspace builds (#985).
| * _casbaseddirectory.py: Refactor _add_fileTristan Maat2020-02-051-7/+14
|/ | | | | For some reason we were directly modifying fields on the object although they can be set comfortably using the constructor.
* Merge branch 'traveltissues/1216' into 'master'Jürg Billeter2020-02-0521-519/+1367
|\ | | | | | | | | | | | | mtime support Closes #1216 See merge request BuildStream/buildstream!1761
| * tests/remoteexecution/workspace.py: Improve testDarius Makovsky2020-02-051-79/+96
| |
| * tests/remoteexecution: Remove xfail for non-incremental-time workspaceDarius Makovsky2020-02-051-6/+1
| |
| * tests/internals/storage_vdir_import.py: Test mtimesDarius Makovsky2020-02-051-4/+15
| |
| * workspace.py: Import mtimes when stagingDarius Makovsky2020-02-051-1/+1
| |
| * element.py: Do not discard explicitly set mtime of source filesDarius Makovsky2020-02-051-4/+3
| | | | | | | | | | | | | | Use the `update_mtime` parameter of `Directory.import_files()` instead of calling `set_deterministic_mtime()` such that BST_ARBITRARY_TIMESTAMP is applied only for source files that don't already have an explicitly set mtime (MTime node property in CAS).
| * storage: Support mtime property in Directory.import_files()Darius Makovsky2020-02-053-20/+86
| |
| * storage: Use specified mtime in import_filesDarius Makovsky2020-02-054-11/+8
| | | | | | | | | | If the mtime is specified then try to copy files in file-to-file transfers and reset the mtimes to the parameter value.
| * cascache.py: Parse timestamp and update mtimes in checkoutDarius Makovsky2020-02-051-1/+9
| | | | | | | | | | | | If checking out files from a CasBasedDirectory which holds node_properties in the index files are explicitly copied instead of being hardlinked and the mtime is updated to the stored value.
| * cascache.py: Add properties to CaptureTree requestsDarius Makovsky2020-02-051-2/+9
| |
| * utils.py: Add file timestamp helpersDarius Makovsky2020-02-054-1/+101
| |
| * local_cas: Update protoDarius Makovsky2020-02-053-117/+158
| |
| * remote_execution: Update protoDarius Makovsky2020-02-054-267/+873
| |
| * tests: Avoid testing file times along with umaskDarius Makovsky2020-02-052-10/+11
|/ | | | | | Avoids testing for file times when testing for umask. These tests are known to be flaky and are overly specific in that they implicitly test more than just umask.
* Merge branch 'juerg/update-plugins' into 'master'Jürg Billeter2020-02-052-2/+2
|\ | | | | | | | | Update bst-plugins-experimental version to 1.93.1.1 See merge request BuildStream/buildstream!1815
| * .gitlab-ci.yml: Update bst-plugins-experimental version to 1.93.1.1juerg/update-pluginsJürg Billeter2020-02-051-1/+1
| |
| * tox.ini: Update bst-plugins-experimental version to 1.93.1.1Jürg Billeter2020-02-051-1/+1
|/
* Merge branch 'juerg/1.93.1' into 'master'1.93.1Jürg Billeter2020-02-051-0/+11
|\ | | | | | | | | Prepare 1.93.1 development snapshot See merge request BuildStream/buildstream!1814
| * NEWS: Add mark for 1.93.1juerg/1.93.1Jürg Billeter2020-02-051-0/+5
| |
| * NEWS: Add note about the new buildstream.exceptions APIJürg Billeter2020-02-051-0/+6
|/
* Merge branch 'juerg/buildbox-run-bind-mount' into 'master'Jürg Billeter2020-02-033-4/+48
|\ | | | | | | | | _sandboxbuildboxrun.py: Support host-files See merge request BuildStream/buildstream!1807
| * tests/integration/shell.py: xfail updateJürg Billeter2020-02-031-3/+12
| |
| * _sandboxbuildboxrun.py: Bind mount /dev in interactive modeJürg Billeter2020-02-031-0/+5
| |
| * _sandboxbuildboxrun.py: Support host-filesJürg Billeter2020-02-031-1/+20
| |
| * _sandboxbuildboxrun.py: Check buildbox-run capabilitiesJürg Billeter2020-02-031-1/+9
| |
| * _sandboxreapi.py: Do not create directories for host-filesJürg Billeter2020-02-031-0/+3
|/ | | | This breaks if host-files is used to bind mount regular files.
* Merge branch 'juerg/buildbox-run-test' into 'master'Jürg Billeter2020-02-031-2/+1
|\ | | | | | | | | tests/integration/interactive_build.py: Relax expect for buildbox-run See merge request BuildStream/buildstream!1801
| * tests/integration/interactive_build.py: Relax expect for buildbox-runjuerg/buildbox-run-testJürg Billeter2020-02-031-2/+1
|/ | | | | When commands are batched, the failure message can't include the command group label with buildbox-run.
* Merge branch 'juerg/buildbox' into 'master'Jürg Billeter2020-02-031-7/+7
|\ | | | | | | | | .gitlab-ci.yml: Update BuildBox components to 0.0.6 See merge request BuildStream/buildstream!1813
| * .gitlab-ci.yml: Update BuildBox components to 0.0.6Jürg Billeter2020-02-031-7/+7
|/
* Merge branch 'jjardon/overnigth_cargo' into 'master'Javier Jardón2020-02-011-1/+1
|\ | | | | | | | | | | | | .gitlab-ci.yml: build fdsdk needs cargo plugin and its dependencies Closes #1259 See merge request BuildStream/buildstream!1812
| * .gitlab-ci.yml: build fdsdk needs cargo plugin and its dependenciesJavier Jardón2020-02-011-1/+1
|/
* Merge branch 'coldtom/fix-overnight-test' into 'master'Javier Jardón2020-02-011-3/+2
|\ | | | | | | | | .gitlab-ci.yml: Bump bst-plugins-experimental See merge request BuildStream/buildstream!1811
| * .gitlab-ci.yml: Bump bst-plugins-experimentalcoldtom/fix-overnight-testThomas Coldrick2020-01-291-3/+2
|/ | | | | | | | | | | When we updated the entrypoints for the plugins, the bst-plugins-experimental version used for overnight tests was not bumped, which means that the plugins used in freedesktop-sdk don't get detected. This commit bumps this to the latest snapshot of bst-plugins-experimental, and downloads directly from PyPI rather than installing from git.
* Merge branch 'tmewett/git-source' into 'master'jjardon/fedora-30-removalBenjamin Schubert2020-01-293-74/+201
|\ | | | | | | | | Improvements to _GitSourceBase and _GitMirror See merge request BuildStream/buildstream!1808
| * Add Git source test for depth=1 fetch with exact tag reftmewett/git-sourceTom Mewett2020-01-241-0/+28
| |
| * Document my changes to the Git source plugin in NEWSTom Mewett2020-01-242-0/+17
| | | | | | | | | | This includes adding an entry for the recursive submodules changes from !1765, and adding myself to the authors of _gitsourcebase.py.
| * _gitsourcebase.py: Refactor latest_commit_with_tagsTom Mewett2020-01-241-19/+49
| | | | | | | | | | The functionality has been split into three new functions: to_commit, reachable_tags, and describe. No behaviour is changed.
| * _gitsourcebase.py: Strip git-describe tag info from cache keyTom Mewett2020-01-241-1/+10
| | | | | | | | | | | | | | | | | | | | | | The beginning parts of git-describe labels are completely arbitrary. They can be changed either manually or by a track (e.g. if a tag is moved, added or deleted) even if the referenced commit is the same. Hence, only the commit ID part of the label should factor into the cache key. This commit, of course, breaks cache keys for artifacts built with the 'git' source with git-describe refs.
| * _gitsourcebase.py: Fetch with depth=1 when an available tag is givenTom Mewett2020-01-241-16/+88
| |