Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fixup! fixup! fixup! fixup! fixup! fixup! fixup! Make templated source tests ↵phil/remove-ostree-plugin | Phil Dawson | 2019-03-27 | 1 | -1/+1 |
| | | | | available in buildstream.plugintestutils | ||||
* | fixup! fixup! fixup! fixup! fixup! fixup! Make templated source tests ↵ | Phil Dawson | 2019-03-27 | 1 | -2/+1 |
| | | | | available in buildstream.plugintestutils | ||||
* | fixup! fixup! fixup! fixup! fixup! Make templated source tests available in ↵ | Phil Dawson | 2019-03-27 | 1 | -0/+1 |
| | | | | buildstream.plugintestutils | ||||
* | fixup! fixup! fixup! fixup! Make templated source tests available in ↵ | Phil Dawson | 2019-03-27 | 2 | -1/+3 |
| | | | | buildstream.plugintestutils | ||||
* | fixup! fixup! fixup! Make templated source tests available in ↵ | Phil Dawson | 2019-03-27 | 1 | -0/+1 |
| | | | | buildstream.plugintestutils | ||||
* | fixup! fixup! Make templated source tests available in ↵ | Phil Dawson | 2019-03-27 | 1 | -1/+0 |
| | | | | buildstream.plugintestutils | ||||
* | fixup! Make templated source tests available in buildstream.plugintestutils | Phil Dawson | 2019-03-27 | 1 | -1/+4 |
| | |||||
* | Make templated source tests available in buildstream.plugintestutils | Phil Dawson | 2019-03-27 | 39 | -29/+58 |
| | |||||
* | plugintestutils._utils: Copy subset of tests.testutils.site | Phil Dawson | 2019-03-27 | 2 | -1/+47 |
| | | | | | | A subset of the functionality provided by this module is not available from buildstream._site but is necessary for the templated source plugin tests. | ||||
* | plugintestutils: Add copy of testutils.junction.py | Phil Dawson | 2019-03-27 | 6 | -4/+88 |
| | | | | | Copy tests.testutils.junction into plugintestutils._utils. This is needed for use by the templated source tests. | ||||
* | testutils: move repo.py into buildstream.plugintestutils | Phil Dawson | 2019-03-27 | 38 | -166/+198 |
| | | | | | | | | This needs to be exposed as part of the plugin author facing API so that plugin authors can define custom repo types which will can be passed to the set of tests which iterate over multiple source types. Part of the work towards #944 | ||||
* | Merge branch 'aevri/copyright' into 'master' | bst-marge-bot | 2019-03-27 | 1 | -0/+19 |
|\ | | | | | | | | | testutils/yaml.py: add copyright notice See merge request BuildStream/buildstream!1263 | ||||
| * | testutils/yaml.py: add copyright notice | Angelos Evripiotis | 2019-03-27 | 1 | -0/+19 |
|/ | |||||
* | Merge branch 'aevri/junction_load_provenance' into 'master' | bst-marge-bot | 2019-03-26 | 10 | -19/+116 |
|\ | | | | | | | | | loader: provenance in LoadErrors from _get_loader See merge request BuildStream/buildstream!1237 | ||||
| * | tests: Add test_invalid_junctiondep_not_a_junction | Angelos Evripiotis | 2019-03-26 | 2 | -0/+17 |
| | | | | | | | | Test that we error correctly when we junction-depend on a non-junction. | ||||
| * | tests: ensure provenance for _get_loader errors | Angelos Evripiotis | 2019-03-26 | 5 | -9/+52 |
| | | | | | | | | | | | | | | | | | | | | | | | | Make the tests that currently cover _get_loader ensure that we are getting the expected provenance. Note that for some tests, we must use yaml_file_get_provenance, as the generated yaml is not stable across versions of ruamel. In later work we may replace all instances of provenance string tests with yaml_file_get_provenance, as it will be more robust to future changes. | ||||
| * | loader: provenance in LoadErrors from _get_loader | Angelos Evripiotis | 2019-03-26 | 1 | -9/+17 |
| | | | | | | | | | | | | | | | | | | | | | | | | Give better error messages to the user by including provenance. Pass 'provenance' through to places where we raise exceptions in _get_loader. For example, here you can see the provenance information now included (the bit before the ':'): callHello.bst [line 8 column 4]: Could not find the project.conf file in the project referred to by junction element 'hello-junction.bst'. | ||||
| * | test: Add yaml_file_get_provenance | Angelos Evripiotis | 2019-03-26 | 2 | -0/+29 |
| | | | | | | | | | | | | Add a new helper - testutils.yaml_file_get_provenance, this will let us make less fragile assertions about the presence of provenance in BuildStream output. | ||||
| * | buildstream/_yaml: Provenance, fix type in doc str | Angelos Evripiotis | 2019-03-26 | 1 | -1/+1 |
|/ | |||||
* | Merge branch 'mablanch/629-remote-execution-test' into 'master' | Jürg Billeter | 2019-03-25 | 12 | -7/+371 |
|\ | | | | | | | | | Add remote execution tests to the CI pipeline See merge request BuildStream/buildstream!1239 | ||||
| * | Generate and publish HTML coverage report | Martin Blanchard | 2019-03-25 | 2 | -3/+9 |
| | | | | | | | | https://gitlab.com/BuildStream/buildstream/issues/629 | ||||
| * | .gitlab-ci.yml: Add a CI test job for remote execution | Martin Blanchard | 2019-03-25 | 3 | -0/+99 |
| | | | | | | | | https://gitlab.com/BuildStream/buildstream/issues/629 | ||||
| * | tests: Add basic remote-execution tests (autotools) | Martin Blanchard | 2019-03-25 | 6 | -0/+111 |
| | | | | | | | | https://gitlab.com/BuildStream/buildstream/issues/629 | ||||
| * | runcli.py: Add a CLI test fixture for remote-execution | Martin Blanchard | 2019-03-25 | 3 | -2/+135 |
| | | | | | | | | https://gitlab.com/BuildStream/buildstream/issues/629 | ||||
| * | tests: Add a --remote-execution CLI options | Martin Blanchard | 2019-03-25 | 1 | -2/+17 |
|/ | | | | | | | | Unlike the --integration option that activates additional tests marked with 'integration', this new --remote-execution option deactivates all the tests except those marked with 'remoteexecution'. https://gitlab.com/BuildStream/buildstream/issues/629 | ||||
* | Merge branch 'raoul/440-source-cache-remotes' into 'master' | bst-marge-bot | 2019-03-25 | 26 | -78/+956 |
|\ | | | | | | | | | | | | | Remote source cache Closes #440 See merge request BuildStream/buildstream!1214 | ||||
| * | PushQueue -> ArtifactPushQueue | Raoul Hidalgo Charman | 2019-03-25 | 3 | -5/+5 |
| | | | | | | | | | | | | Rename to be consistent with SourcePushQueue Part of #440 | ||||
| * | tests: check source push for workspaced elements | Raoul Hidalgo Charman | 2019-03-25 | 1 | -0/+40 |
| | | | | | | | | | | | | | | Workspaced elements should not push their sources as consistency is marked as cached even if the sources are not necessarily available. Part of #440 | ||||
| * | tests: check sources are pushed even if build fails | Raoul Hidalgo Charman | 2019-03-25 | 4 | -0/+100 |
| | | | | | | | | | | | | | | Adds a plugin build element that always fails. The test tries to build an element of this kind. Part of #440 | ||||
| * | tests: source and artifact cache test | Raoul Hidalgo Charman | 2019-03-25 | 1 | -0/+91 |
| | | | | | | | | | | | | Ensures that remote source cache and artifact caches work fine together. Part of #440 | ||||
| * | using_config.rst: Add source cache documentation | Raoul Hidalgo Charman | 2019-03-25 | 1 | -0/+46 |
| | | | | | | | | Part of #440 | ||||
| * | format_project.rst: Add source cache documentation | Raoul Hidalgo Charman | 2019-03-25 | 1 | -0/+27 |
| | | | | | | | | Part of #440 | ||||
| * | tests: Add source cache push failure test | Raoul Hidalgo Charman | 2019-03-25 | 1 | -0/+42 |
| | | | | | | | | Part of #440 | ||||
| * | tests: Add source cache pull after a push test | Raoul Hidalgo Charman | 2019-03-25 | 1 | -0/+45 |
| | | | | | | | | Part of #440 | ||||
| * | tests: Add source cache push test | Raoul Hidalgo Charman | 2019-03-25 | 1 | -0/+96 |
| | | | | | | | | Part of #440 | ||||
| * | _stream.py: Schedule source push queue | Raoul Hidalgo Charman | 2019-03-25 | 1 | -1/+7 |
| | | | | | | | | Part of #440 | ||||
| * | sourcepushqueue.py: Add queue for pushing sources | Raoul Hidalgo Charman | 2019-03-25 | 6 | -6/+49 |
| | | | | | | | | | | | | | | Updates other queues and widget to have consistent naming and display, and tests have been updated to reflect this. Part of #440 | ||||
| * | element.py: Add source push methods to Element | Raoul Hidalgo Charman | 2019-03-25 | 1 | -0/+19 |
| | | | | | | | | Part of #440 | ||||
| * | _sourcecache.py: Add push method | Raoul Hidalgo Charman | 2019-03-25 | 2 | -1/+36 |
| | | | | | | | | Part of #440 | ||||
| * | tests: Add source cache fetch failure test | Raoul Hidalgo Charman | 2019-03-25 | 1 | -0/+52 |
| | | | | | | | | Part of #440 | ||||
| * | tests: Add source cache test for fallback | Raoul Hidalgo Charman | 2019-03-25 | 1 | -0/+59 |
| | | | | | | | | | | | | | | Checks buildstream calls fetch method when remote source cache does not have a source. Part of #440 | ||||
| * | tests: Add source cache fetch test | Raoul Hidalgo Charman | 2019-03-25 | 1 | -0/+111 |
| | | | | | | | | Part of #440 | ||||
| * | element.py: Pull from sourcecache in _fetch() | Raoul Hidalgo Charman | 2019-03-25 | 2 | -9/+17 |
| | | | | | | | | Part of #440 | ||||
| * | element.py: Add source cache as variable | Raoul Hidalgo Charman | 2019-03-25 | 1 | -2/+2 |
| | | | | | | | | Part of #440 | ||||
| * | _sourcecache.py: Add pull method | Raoul Hidalgo Charman | 2019-03-25 | 2 | -2/+35 |
| | | | | | | | | Part of #440 | ||||
| * | source.py: add _get_brief_display_key method | Raoul Hidalgo Charman | 2019-03-25 | 1 | -0/+7 |
| | | |||||
| * | _stream.py: Add source cache initialisation. | Raoul Hidalgo Charman | 2019-03-25 | 2 | -6/+24 |
| | | | | | | | | | | | | Adds option to set remote for source fetch command. Part of #440 | ||||
| * | _stream.py: Fix doc type mismatch | Raoul Hidalgo Charman | 2019-03-25 | 1 | -1/+1 |
| | | |||||
| * | _basecache.py: Moves has remote methods | Raoul Hidalgo Charman | 2019-03-25 | 5 | -47/+47 |
|/ | | | | | | | Move both `has_push_remotes` and `has_fetch_remotes` from `ArtifactCache`. Part of #440 | ||||
* | Merge branch 'bschubert/fix-double-lookup' into 'master' | bst-marge-bot | 2019-03-25 | 1 | -2/+5 |
|\ | | | | | | | | | plugin.py: Don't make a double lookup in the plugin table to get one See merge request BuildStream/buildstream!1253 |