Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | tests/sources/git.py: Add track and fetch test with and without tagjuerg/git-describe | Jürg Billeter | 2018-09-27 | 1 | -0/+45 |
| | |||||
* | testutils/repo/git.py: Add add_tag() method | Jürg Billeter | 2018-09-27 | 1 | -0/+3 |
| | |||||
* | git.py: Make `ref` human readable | Jürg Billeter | 2018-09-27 | 1 | -1/+11 |
| | | | | Use `git describe` to prefix `ref` with closest tag, if available. | ||||
* | Merge branch 'juerg/platform' into 'master' | Jürg Billeter | 2018-09-27 | 20 | -99/+124 |
|\ | | | | | | | | | Make platform independent of context See merge request BuildStream/buildstream!829 | ||||
| * | Use lazy platform instantiation | Jürg Billeter | 2018-09-27 | 2 | -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 context | Jürg Billeter | 2018-09-27 | 4 | -10/+7 |
| | | |||||
| * | tests/artifactcache/push.py: Use Context for artifact cache creation | Jürg Billeter | 2018-09-27 | 1 | -6/+5 |
| | | |||||
| * | tests/artifactcache/pull.py: Use Context for artifact cache creation | Jürg Billeter | 2018-09-27 | 1 | -6/+5 |
| | | |||||
| * | tests/testutils: Use Context for artifact cache creation | Jürg Billeter | 2018-09-27 | 1 | -2/+1 |
| | | |||||
| * | storage/_casbaseddirectory.py: Use Context for artifact cache creation | Jürg Billeter | 2018-09-27 | 1 | -2/+1 |
| | | |||||
| * | _artifactcache/casserver.py: Use Context for artifact cache creation | Jürg Billeter | 2018-09-27 | 1 | -3/+1 |
| | | |||||
| * | _platform/platform.py: Remove unused artifactcache property | Jürg Billeter | 2018-09-27 | 1 | -7/+0 |
| | | |||||
| * | sandbox/_sandboxremote.py: Migrate to Context.artifactcache | Jürg Billeter | 2018-09-27 | 1 | -7/+6 |
| | | |||||
| * | _stream.py: Migrate to Context.artifactcache | Jürg Billeter | 2018-09-27 | 1 | -3/+1 |
| | | |||||
| * | _scheduler: Migrate to Context.artifactcache | Jürg Billeter | 2018-09-27 | 4 | -12/+8 |
| | | |||||
| * | _loader: Migrate to Context.artifactcache | Jürg Billeter | 2018-09-27 | 1 | -3/+1 |
| | | |||||
| * | Move artifact cache creation to Context | Jürg Billeter | 2018-09-27 | 5 | -16/+16 |
| | | | | | | | | The artifact cache is no longer platform-specific. | ||||
| * | _artifactcache: Add preflight() method | Jürg Billeter | 2018-09-27 | 2 | -0/+13 |
| | | |||||
| * | _artifactcache/cascache.py: Remove unused enable_push parameter | Jürg Billeter | 2018-09-27 | 1 | -5/+2 |
| | | |||||
| * | _platform/linux.py: Do not disable push globally | Jürg Billeter | 2018-09-27 | 1 | -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 message | Jürg Billeter | 2018-09-27 | 1 | -7/+2 |
| | | | | | | | | Unsupported sandbox config (UID/GID) is now reported by the element. | ||||
| * | element.py: Validate sandbox config | Jürg Billeter | 2018-09-27 | 1 | -4/+18 |
| | | |||||
| * | _platform: Add check_sandbox_config() method | Jürg Billeter | 2018-09-27 | 3 | -1/+26 |
| | | |||||
| * | element.py: Add __use_remote_execution() helper method | Jürg Billeter | 2018-09-27 | 1 | -3/+9 |
|/ | |||||
* | Merge branch 'mablanch/668-remote-build-failure' into 'master' | Jim MacArthur | 2018-09-27 | 4 | -6/+337 |
|\ | | | | | | | | | Better handle remote build failures See merge request BuildStream/buildstream!825 | ||||
| * | _sandboxremote.py: Handle remote build execution exit codemablanch/668-remote-build-failure | Martin Blanchard | 2018-09-27 | 1 | -6/+15 |
| | | | | | | | | https://gitlab.com/BuildStream/buildstream/issues/668 | ||||
| * | _protos: Import google.rpc.Code proto | Martin Blanchard | 2018-09-27 | 3 | -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` argument | Tiago Gomes | 2018-09-26 | 1 | -1/+1 |
| | |||||
* | Merge branch 'tiagogomes/acme-challenge' into 'master' | Tiago Gomes | 2018-09-26 | 1 | -1/+7 |
|\ | | | | | | | | | ci: add ACME challenge See merge request BuildStream/buildstream!831 | ||||
| * | ci: add ACME challenge | Tiago Gomes | 2018-09-26 | 1 | -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 ref | Tiago Gomes | 2018-09-26 | 1 | -1/+1 |
| | | | | The current one doesn't build due server being down. | ||||
* | Merge branch 'tiagogomes/issue-514' into 'master' | Tiago Gomes | 2018-09-25 | 1 | -0/+43 |
|\ | | | | | | | | | | | | | CI: test building freedesktop-sdk overnight Closes #514 See merge request BuildStream/buildstream!826 | ||||
| * | CI: test building freedesktop-sdk overnight | Tiago Gomes | 2018-09-25 | 1 | -0/+43 |
|/ | | | | Closes #514. | ||||
* | Merge branch 'jmac/stop-caching-vdirs' into 'master' | Jim MacArthur | 2018-09-25 | 2 | -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-vdirs | Jim MacArthur | 2018-09-25 | 1 | -3/+1 |
| | | |||||
| * | sandbox.py: Stop caching get_virtual_directory if get_directory is used | Jim MacArthur | 2018-09-25 | 1 | -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 Billeter | 2018-09-25 | 2 | -43/+174 |
|\ | | | | | | | | | | | | | _artifactcache/cascache.py: Use BatchReadBlobs Closes #554 See merge request BuildStream/buildstream!813 | ||||
| * | _artifactcache/cascache.py: Use BatchReadBlobs | Jürg Billeter | 2018-09-25 | 1 | -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 limit | Jürg Billeter | 2018-09-25 | 1 | -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 uploads | Jürg Billeter | 2018-09-25 | 1 | -2/+7 |
| | | | | | | | | | | gRPC can handle 1 MiB payloads. Increase size limit from 64 KiB to speed up uploads.` | ||||
| * | _artifactcache/cascache.py: Add _ensure_blob helper | Jürg Billeter | 2018-09-25 | 1 | -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 Billeter | 2018-09-24 | 3 | -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/rebuild | Jürg Billeter | 2018-09-24 | 2 | -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 mode | Jürg Billeter | 2018-09-24 | 1 | -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 Singh | 2018-09-21 | 1 | -1/+2 |
|\ | | | | | | | | | setup.py: Make website the primary homepage See merge request BuildStream/buildstream!795 | ||||
| * | setup.py: Make website the primary homepage | Chandan Singh | 2018-09-21 | 1 | -1/+2 |
|/ | |||||
* | Merge branch 'chandan/fix-source-bundle' into 'master' | Chandan Singh | 2018-09-21 | 4 | -0/+57 |
|\ | | | | | | | | | | | | | Fix source-bundle command Closes #651 See merge request BuildStream/buildstream!807 | ||||
| * | _stream.py: Ensure source-bundle's source directory exists | Chandan Singh | 2018-09-21 | 4 | -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 MacArthur | 2018-09-21 | 4 | -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_fix | Jim MacArthur | 2018-09-21 | 1 | -2/+2 |
| | |