Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | plugins/sources/patch.py: Validate keyscoldtom/validate-patch | Thomas Coldrick | 2019-08-29 | 1 | -0/+1 |
| | | | | | | Currently we don't validate the keys on a `patch` source, leading to nastier-looking error messages when `path` is missing. This simply makes us validate the yaml, as we do for other plugins. | ||||
* | Merge branch 'juerg/cas' into 'master' | bst-marge-bot | 2019-08-29 | 2 | -20/+3 |
|\ | | | | | | | | | Remove code duplication in casremote.py See merge request BuildStream/buildstream!1567 | ||||
| * | casremote.py: Remove unused _fetch_blob() method | Jürg Billeter | 2019-08-29 | 1 | -19/+0 |
| | | | | | | | | This removes code duplication with _CASBatchRead. | ||||
| * | cascache.py: Use _CASBatchRead in _ensure_blob() | Jürg Billeter | 2019-08-29 | 1 | -1/+3 |
|/ | | | | _ensure_blob() was the only caller of _fetch_blob(). | ||||
* | Merge branch 'tmewett/build-deps-cli' into 'master' | bst-marge-bot | 2019-08-28 | 5 | -15/+21 |
|\ | | | | | | | | | | | | | Remove build --all flag in favour of --deps all/plan Closes #1078 See merge request BuildStream/buildstream!1559 | ||||
| * | frontend: Remove build --all flag in favour of --deps all/plantmewett/build-deps-cli | Tom Mewett | 2019-08-28 | 5 | -15/+21 |
|/ | |||||
* | Merge branch 'jennis/bst_artifact_show' into 'master' | bst-marge-bot | 2019-08-28 | 10 | -4/+261 |
|\ | | | | | | | | | Introduce `bst artifact show` See merge request BuildStream/buildstream!1560 | ||||
| * | NEWS: Add NEWS entry for bst artifact showjennis/bst_artifact_show | James Ennis | 2019-08-27 | 1 | -0/+5 |
| | | |||||
| * | tests/frontend/artifact.py: Add tests for bst artifact show | James Ennis | 2019-08-27 | 1 | -1/+104 |
| | | |||||
| * | _artifactcache.py: Add remote support to bst artifact show | James Ennis | 2019-08-27 | 5 | -0/+77 |
| | | | | | | | | | | | | If remotes exist, each remote will be checked for the target artifacts. If an artifact is cached remotely, we make a record of this. | ||||
| * | casremote.py: Remove main process assertion in init() | James Ennis | 2019-08-27 | 1 | -3/+0 |
| | | | | | | | | | | Seeing as we always call get_local_cas() in CasRemote.init() this assertion will be asserted there | ||||
| * | cli.py: Introduce bst artifact show | James Ennis | 2019-08-27 | 4 | -0/+75 |
|/ | | | | | | bst artifact show can be used to determine which element names, artifact refs (also by glob expression) are present within the artifact cache. | ||||
* | Merge branch 'jennis/load_artifact_dependencies' into 'master' | bst-marge-bot | 2019-08-27 | 9 | -16/+293 |
|\ | | | | | | | | | Add the ability to load (build) deps from an artifact ref See merge request BuildStream/buildstream!1553 | ||||
| * | tests/frontend/artifact.py: test artifact delete with --deps options | James Ennis | 2019-08-27 | 1 | -0/+91 |
| | | |||||
| * | cli.py: Implement --deps for artifact delete | James Ennis | 2019-08-27 | 2 | -4/+8 |
| | | |||||
| * | _stream.py: Validate selection for target artifacts in _load() | James Ennis | 2019-08-27 | 1 | -3/+6 |
| | | |||||
| * | _stream.py: Don't say we're loading elements if we're not | James Ennis | 2019-08-27 | 1 | -3/+6 |
| | | |||||
| * | Load artifact refs the same way we load element names | James Ennis | 2019-08-27 | 5 | -6/+102 |
| | | |||||
| * | element.py: Add _add_build_dependency() method | James Ennis | 2019-08-27 | 1 | -0/+10 |
| | | | | | | | | | | | | This method explicitly adds a build dependency to an Element instance's __build_dependency list. This is required when determining the build dependencies of an artifact | ||||
| * | _artifactelement.py: Add get_dependency_refs() method | James Ennis | 2019-08-27 | 1 | -0/+15 |
| | | |||||
| * | element.py: Add _get_artifact() method | James Ennis | 2019-08-27 | 1 | -0/+11 |
| | | | | | | | | | | | | | | Add a getter for Element's __artifact (Artifact object). This is required by ArtifactElement. The ArtifactElement should have access to its Artifact. | ||||
| * | _artifact.py: Add get_dependency_refs() method | James Ennis | 2019-08-27 | 1 | -0/+44 |
|/ | |||||
* | Merge branch 'bschubert/register-sources-on-test' into 'master' | bst-marge-bot | 2019-08-27 | 11 | -171/+235 |
|\ | | | | | | | | | testing/sources: Automatically register plugin sources See merge request BuildStream/buildstream!1537 | ||||
| * | sourcetests/track: Don't overwrite project configurationbschubert/register-sources-on-test | Benjamin Schubert | 2019-08-26 | 3 | -17/+10 |
| | | | | | | | | | | | | | | | | We need to keep the project configuration to use the expected plugins as configured by the `kind` fixture. This adds a utility method `update_project_configuration` that allows updated part of the project.conf. | ||||
| * | _sourcetests/mirror: Don't overwrite project_conf | Benjamin Schubert | 2019-08-26 | 1 | -100/+74 |
| | | | | | | | | | | | | If we overwrite project_conf, we loose the plugins registration. The only part that we really need to update is the 'aliases' and 'mirrors', which we can update ourselves. | ||||
| * | testing/sources: Automatically register plugin sources | Benjamin Schubert | 2019-08-26 | 10 | -54/+151 |
|/ | | | | | This fixes a bug where third party plugins cannot get tested automatically because they are not part of BuildStream. | ||||
* | Merge branch 'bschubert/fix-mutable-args' into 'master' | bst-marge-bot | 2019-08-23 | 1 | -6/+23 |
|\ | | | | | | | | | sandbox/_mounter: Remove default mutable arguments stderr/out See merge request BuildStream/buildstream!1562 | ||||
| * | sandbox/_mounter: Remove default mutable arguments stderr/out | Benjamin Schubert | 2019-08-23 | 1 | -6/+23 |
|/ | | | | | | | | | | | | | | | | stderr and stdout were passed as default arguments and would therefore retain the first value they had when the module was imported, which means they wouldn't get overriden by the pytest capture of stderr/out. This also meant that depending how the mounter was imported, if the stdout/err was patched at that moment, and the file closed, we would get an error. The bug can be reproduced by running: tox -e pyXX -- tests/integration/cmake.py On master, and seeing that it is now fixed. | ||||
* | Merge branch 'juerg/server-casd' into 'master' | bst-marge-bot | 2019-08-22 | 1 | -0/+4 |
|\ | | | | | | | | | casserver.py: Fix write operations with bst-artifact-server See merge request BuildStream/buildstream!1558 | ||||
| * | casserver.py: Fix write operations with bst-artifact-server | Jürg Billeter | 2019-08-22 | 1 | -0/+4 |
|/ | | | | Allow gRPC communication in the bst-artifact-server main process. | ||||
* | Merge branch 'tmewett/artifact-help' into 'master' | bst-marge-bot | 2019-08-22 | 1 | -36/+27 |
|\ | | | | | | | | | Clarify bst artifact subcommand help text See merge request BuildStream/buildstream!1541 | ||||
| * | cli.py: Rewrite artifact log help text & move up to main subcommand | Tom Mewett | 2019-08-22 | 1 | -36/+27 |
|/ | |||||
* | Merge branch 'aevri/nomp' into 'master' | bst-marge-bot | 2019-08-20 | 4 | -137/+27 |
|\ | | | | | | | | | Remove uneccesary _platform.multiprocessing See merge request BuildStream/buildstream!1554 | ||||
| * | Remove uneccesary _platform.multiprocessingaevri/nomp | Angelos Evripiotis | 2019-08-20 | 4 | -137/+27 |
|/ | | | | | | | | It turns out we don't need to use multiprocessing.Manager() queues when using the 'spawn' method - the regular multiprocessing queues are also picklable, if passed as parameters to the new process. Thanks to @BenjaminSchubert for pointing this out. | ||||
* | Merge branch 'juerg/casd' into 'master' | bst-marge-bot | 2019-08-20 | 36 | -1845/+2426 |
|\ | | | | | | | | | Use buildbox-casd for CAS access See merge request BuildStream/buildstream!1499 | ||||
| * | casserver.py: Use quota instead of headroom | Jürg Billeter | 2019-08-20 | 3 | -67/+21 |
| | | |||||
| * | casserver.py: Handle CASCacheError for add_object() calls | Jürg Billeter | 2019-08-20 | 1 | -3/+22 |
| | | |||||
| * | casserver.py: Update mtime on read | Jürg Billeter | 2019-08-20 | 1 | -1/+6 |
| | | |||||
| * | _artifactcache.py: Handle CASRemoteError | Jürg Billeter | 2019-08-20 | 1 | -1/+5 |
| | | |||||
| * | casremote.py: Use UploadMissingBlobs in CASBatchUpdate | Jürg Billeter | 2019-08-20 | 2 | -50/+9 |
| | | |||||
| * | casremote.py: Handle RESOURCE_EXHAUSTED in CASBatchUpdate | Jürg Billeter | 2019-08-20 | 1 | -1/+6 |
| | | |||||
| * | casremote.py: Drop unused ByteStreamStub | Jürg Billeter | 2019-08-20 | 1 | -3/+0 |
| | | |||||
| * | casremote.py: Use UploadMissingBlobs in _send_blob() | Jürg Billeter | 2019-08-20 | 2 | -38/+20 |
| | | |||||
| * | casremote.py: Use add_object() in push_message() | Jürg Billeter | 2019-08-20 | 1 | -6/+1 |
| | | |||||
| * | cascache.py: Add instance_name parameter to add_object() | Jürg Billeter | 2019-08-20 | 1 | -1/+5 |
| | | |||||
| * | casremote.py: Use FetchMissingBlobs in CASBatchRead | Jürg Billeter | 2019-08-20 | 2 | -59/+11 |
| | | |||||
| * | casremote.py: Use FetchMissingBlobs in _fetch_blob() | Jürg Billeter | 2019-08-20 | 2 | -32/+25 |
| | | |||||
| * | casremote.py: Use buildbox-casd in init() | Jürg Billeter | 2019-08-20 | 3 | -14/+29 |
| | | |||||
| * | tests/artifactcache/expiry.py: Fix test_cleanup_first | Jürg Billeter | 2019-08-20 | 1 | -14/+0 |
| | | | | | | | | | | | | | | Remove check for order of events as cache cleanup is now handled by buildbox-casd, not BuildStream scheduler jobs. The test still verifies that build succeeds when the cache disk usage is larger than the configured quota. | ||||
| * | tests/artifactcache/expiry.py: Fix test_never_delete_required | Jürg Billeter | 2019-08-20 | 1 | -17/+5 |
| | | | | | | | | | | | | buildbox-casd checks disk usage against the quota before actually committing a new blob to the local cache and thus, the disk usage will never outgrow the quota. |