summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* tests/sources/git.py: Add track and fetch test with and without tagjuerg/git-describeJürg Billeter2018-09-271-0/+45
|
* testutils/repo/git.py: Add add_tag() methodJürg Billeter2018-09-271-0/+3
|
* git.py: Make `ref` human readableJürg Billeter2018-09-271-1/+11
| | | | Use `git describe` to prefix `ref` with closest tag, if available.
* Merge branch 'juerg/platform' into 'master'Jürg Billeter2018-09-2720-99/+124
|\ | | | | | | | | Make platform independent of context See merge request BuildStream/buildstream!829
| * Use lazy platform instantiationJürg Billeter2018-09-272-4/+4
| | | | | | | | | | | | Now that the platform is independent of the context, explicit instantiation is no longer required. This avoids issues with platform instances used across test cases with mismatching context.
| * _platform: Remove unused contextJürg Billeter2018-09-274-10/+7
| |
| * tests/artifactcache/push.py: Use Context for artifact cache creationJürg Billeter2018-09-271-6/+5
| |
| * tests/artifactcache/pull.py: Use Context for artifact cache creationJürg Billeter2018-09-271-6/+5
| |
| * tests/testutils: Use Context for artifact cache creationJürg Billeter2018-09-271-2/+1
| |
| * storage/_casbaseddirectory.py: Use Context for artifact cache creationJürg Billeter2018-09-271-2/+1
| |
| * _artifactcache/casserver.py: Use Context for artifact cache creationJürg Billeter2018-09-271-3/+1
| |
| * _platform/platform.py: Remove unused artifactcache propertyJürg Billeter2018-09-271-7/+0
| |
| * sandbox/_sandboxremote.py: Migrate to Context.artifactcacheJürg Billeter2018-09-271-7/+6
| |
| * _stream.py: Migrate to Context.artifactcacheJürg Billeter2018-09-271-3/+1
| |
| * _scheduler: Migrate to Context.artifactcacheJürg Billeter2018-09-274-12/+8
| |
| * _loader: Migrate to Context.artifactcacheJürg Billeter2018-09-271-3/+1
| |
| * Move artifact cache creation to ContextJürg Billeter2018-09-275-16/+16
| | | | | | | | The artifact cache is no longer platform-specific.
| * _artifactcache: Add preflight() methodJürg Billeter2018-09-272-0/+13
| |
| * _artifactcache/cascache.py: Remove unused enable_push parameterJürg Billeter2018-09-271-5/+2
| |
| * _platform/linux.py: Do not disable push globallyJürg Billeter2018-09-271-1/+1
| | | | | | | | | | | | On systems without user namespace support, elements with unsupported sandbox config (UID/GID) are now individually tainted, which disables artifact push.
| * _platform/linux.py: Remove redundant messageJürg Billeter2018-09-271-7/+2
| | | | | | | | Unsupported sandbox config (UID/GID) is now reported by the element.
| * element.py: Validate sandbox configJürg Billeter2018-09-271-4/+18
| |
| * _platform: Add check_sandbox_config() methodJürg Billeter2018-09-273-1/+26
| |
| * element.py: Add __use_remote_execution() helper methodJürg Billeter2018-09-271-3/+9
|/
* Merge branch 'mablanch/668-remote-build-failure' into 'master'Jim MacArthur2018-09-274-6/+337
|\ | | | | | | | | Better handle remote build failures See merge request BuildStream/buildstream!825
| * _sandboxremote.py: Handle remote build execution exit codemablanch/668-remote-build-failureMartin Blanchard2018-09-271-6/+15
| | | | | | | | https://gitlab.com/BuildStream/buildstream/issues/668
| * _protos: Import google.rpc.Code protoMartin Blanchard2018-09-273-0/+322
|/ | | | | | | Imports code.proto from https://github.com/googleapis/googleapis and corresponding modules generated with ./setup.py build_grpc. https://gitlab.com/BuildStream/buildstream/issues/668
* ci: add missing `-p` argumentTiago Gomes2018-09-261-1/+1
|
* Merge branch 'tiagogomes/acme-challenge' into 'master'Tiago Gomes2018-09-261-1/+7
|\ | | | | | | | | ci: add ACME challenge See merge request BuildStream/buildstream!831
| * ci: add ACME challengeTiago Gomes2018-09-261-1/+7
|/ | | | | | To finish the creation of the Let's Encrypt certificate, which will allows us to use https://docs.buildstream.build/ for accessing the documentation.
* ci: update freedesktop-sdk refTiago Gomes2018-09-261-1/+1
| | | | The current one doesn't build due server being down.
* Merge branch 'tiagogomes/issue-514' into 'master'Tiago Gomes2018-09-251-0/+43
|\ | | | | | | | | | | | | CI: test building freedesktop-sdk overnight Closes #514 See merge request BuildStream/buildstream!826
| * CI: test building freedesktop-sdk overnightTiago Gomes2018-09-251-0/+43
|/ | | | Closes #514.
* Merge branch 'jmac/stop-caching-vdirs' into 'master'Jim MacArthur2018-09-252-10/+16
|\ | | | | | | | | Stop caching virtual directories if get_directory is used. See merge request BuildStream/buildstream!818
| * element.py/_assemble(): Call get_virtual_directory later.jmac/stop-caching-vdirsJim MacArthur2018-09-251-3/+1
| |
| * sandbox.py: Stop caching get_virtual_directory if get_directory is usedJim MacArthur2018-09-251-7/+15
|/ | | | | Also update the documentation for get_virtual_directory to make the implications of using both methods clearer.
* Merge branch 'juerg/cas-batch' into 'master'Jürg Billeter2018-09-252-43/+174
|\ | | | | | | | | | | | | _artifactcache/cascache.py: Use BatchReadBlobs Closes #554 See merge request BuildStream/buildstream!813
| * _artifactcache/cascache.py: Use BatchReadBlobsJürg Billeter2018-09-251-12/+137
| | | | | | | | | | | | | | This uses BatchReadBlobs instead of individual blob download to speed up artifact pulling, if the server supports it. Fixes #554.
| * _artifactcache/casserver.py: Harmonize payload size limitJürg Billeter2018-09-251-5/+6
| | | | | | | | | | Use 1 MiB as payload size limit on the server side for both individual downloads and batch uploads.
| * _artifactcache/cascache.py: Increase payload size limit for uploadsJürg Billeter2018-09-251-2/+7
| | | | | | | | | | gRPC can handle 1 MiB payloads. Increase size limit from 64 KiB to speed up uploads.`
| * _artifactcache/cascache.py: Add _ensure_blob helperJürg Billeter2018-09-251-34/+34
|/ | | | | | | | This adds directory objects to the local repository before downloading files in the directory. However, artifact references are still stored only after downloading the complete directory and thus, there won't be dangling references. This will anyway be required for partial download support.
* Merge branch 'juerg/rebuild' into 'master'Jürg Billeter2018-09-243-1/+41
|\ | | | | | | | | | | | | element.py: Fix cache check in non-strict mode Closes #607 See merge request BuildStream/buildstream!822
| * tests/frontend/rebuild.py: Add strict/non-strict rebuild testjuerg/rebuildJürg Billeter2018-09-242-0/+40
| | | | | | | | | | | | Test rebuild that requires staging of weakly cached dependency. This is a regression test for #607.
| * element.py: Fix cache check in non-strict modeJürg Billeter2018-09-241-1/+1
|/ | | | | | | | | The behavior of __assert_cached() was changed when the keystrength parameter was introduced. This restores the previous behavior. Fixes #607. Fixes: 3d308894 ("element.py: Cache the result of checking whether...")
* Merge branch 'chandan/update-project-homepage' into 'master'Chandan Singh2018-09-211-1/+2
|\ | | | | | | | | setup.py: Make website the primary homepage See merge request BuildStream/buildstream!795
| * setup.py: Make website the primary homepageChandan Singh2018-09-211-1/+2
|/
* Merge branch 'chandan/fix-source-bundle' into 'master'Chandan Singh2018-09-214-0/+57
|\ | | | | | | | | | | | | Fix source-bundle command Closes #651 See merge request BuildStream/buildstream!807
| * _stream.py: Ensure source-bundle's source directory existsChandan Singh2018-09-214-0/+57
|/ | | | | | | | | | | | Currently, `source-bundle` command is entirely broken as it tries to stage the sources in a directory that doesn't exist. Fix it by ensuring that we create the necessary directories before calling any methods that try to use those directories. This fix comes with a regression test to ensure that the basic use-case of `source-bundle` continues to work in future. Fixes https://gitlab.com/BuildStream/buildstream/issues/651.
* Merge branch 'jmac/remote_exec_checkout_fix' into 'master'Jim MacArthur2018-09-214-15/+22
|\ | | | | | | | | Remote exec: Remove early warning and check directory is not None See merge request BuildStream/buildstream!800
| * tests/artifactcache/push.py: Ignore return value of push_directoryjmac/remote_exec_checkout_fixJim MacArthur2018-09-211-2/+2
| |