summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* _frontend/cli.py: Clear stdout/stderr fd flags at startuptristan/spurious-blockingio-errorTristan Van Berkom2019-02-231-0/+8
| | | | This fixes #929
* Merge branch 'laurence/update-readme' into 'master'bst-marge-bot2019-02-222-0/+20
|\ | | | | | | | | Update CONTRIBUTING.rst to add paragraph on new MR policy See merge request BuildStream/buildstream!1171
| * CONTRIBUTING.rst: Clarify WIP MR closure policyLaurence Urhegyi2019-02-222-0/+20
|/ | | | Adds section to readme detailing the WIP MR closure policy.
* Merge branch 'mablanch/823-action-cache-instance-name' into 'master'Jim MacArthur2019-02-224-16/+47
|\ | | | | | | | | Fix and improve instances support for remote-execution. See merge request BuildStream/buildstream!1174
| * doc: Update configuration examples with 'instance-name'Martin Blanchard2019-02-222-4/+7
| |
| * casremote.py: Honor instance name configurationMartin Blanchard2019-02-221-3/+28
| | | | | | | | | | | | | | The remote-execution configuration allows to specify the remote instance to query by giving its name. That instance name should be attached to every requests submitted to the remote server. This patch ensures it.
| * Use 'instance-name' everywhere in remote execution config.Martin Blanchard2019-02-222-8/+8
| | | | | | | | | | | | | | Currently the 'artifacts' section expects 'instance_name', the 'remote-execution' section expects 'instance' and documentation mentions 'instance-name'... This patch changes this to use 'instance-name' everywhere.
| * _sandboxremote.py: Support instance names for action-cacheMartin Blanchard2019-02-221-4/+7
|/ | | | https://gitlab.com/BuildStream/buildstream/issues/823
* Merge branch 'tristan/fix-overlap-subproject-policy' into 'master'Tristan Van Berkom2019-02-227-7/+60
|\ | | | | | | | | tests/frontend/overlaps.py: Added regression test for cross project overlaps See merge request BuildStream/buildstream!1173
| * tests/frontend/overlaps.py: Added regression test for cross project overlapsTristan Van Berkom2019-02-227-7/+60
|/ | | | | | | | | This test ensures the overlap failure vs warning policy in one project only ever affects the artifacts created for the project which declares it and does not force it's policy onto another consuming project. A regression test against issue #926
* Merge branch 'phil/tox-vev-environment' into 'master'Phil Dawson2019-02-202-0/+20
|\ | | | | | | | | tox.ini: Add 'venv' environment to run arbitrary commands in a venv See merge request BuildStream/buildstream!1168
| * tox.ini: Add 'venv' environment to run arbitrary commands in a venvphil/tox-vev-environmentPhil Dawson2019-02-202-0/+20
|/ | | | | This is a handy way for developers to make use of the venvs we're constructing for our test suite to run in.
* Merge branch 'aevri/doc_arch_deps' into 'master'Angelos Evripiotis2019-02-204-20/+24
|\ | | | | | | | | Architecture docs: minor corrections, clarifications, and nitpicks See merge request BuildStream/buildstream!1170
| * doc/./arch_sandboxing: no OSTree artifact cacheaevri/doc_arch_depsAngelos Evripiotis2019-02-201-6/+6
| | | | | | | | | | As of commit 1f8b4aa290a908a697f008a29ea143a9320dd639, we're no longer using the OSTree artifact cache. Update accordingly.
| * doc/./arch_sandboxing: reword 'user provided user'Angelos Evripiotis2019-02-201-1/+1
| |
| * doc/./arch_sandboxing: 'read only'->'read-only'Angelos Evripiotis2019-02-201-1/+1
| | | | | | | | I read this wrong initially, the hyphen would have helped me here.
| * doc/./arch_cachekeys: note no direct runtime depsAngelos Evripiotis2019-02-201-0/+3
| | | | | | | | | | | | | | | | I was mistaken on this point in my first reading. The sentence on strong and weak key equivalency made me check my assumptions. Help others with the same misunderstanding by explicitly calling this out in a new paragraph.
| * doc/./arch_cachekeys: consistent full-stopsAngelos Evripiotis2019-02-201-5/+5
| |
| * doc/./arch_cachekeys: JSON now, not dict pickleAngelos Evripiotis2019-02-201-1/+1
| |
| * doc/./arch_scheduler: fix 'imerative' typoAngelos Evripiotis2019-02-201-1/+1
| |
| * doc/./arch_scheduler: fixup "it's" typosAngelos Evripiotis2019-02-201-3/+3
| | | | | | | | | | | | "it's" is always short for "it is" or "it has". The possesive pronoun for "it" is "its", like "his".
| * doc/../arch_dependency_model: transient/transitiveAngelos Evripiotis2019-02-201-2/+3
|/
* Merge branch 'juerg/ci' into 'master'Jürg Billeter2019-02-201-1/+1
|\ | | | | | | | | .gitlab-ci.yml: Enable parallel testing with 2 CPUs See merge request BuildStream/buildstream!1169
| * .gitlab-ci.yml: Enable parallel testing with 2 CPUsJürg Billeter2019-02-201-1/+1
|/
* Merge branch 'phil/848-plugin-deprecation-warnings' into 'master'Phil Dawson2019-02-207-1/+130
|\ | | | | | | | | | | | | plugin.py: Add API to allow plugins to raise deprecation warnings Closes #848 See merge request BuildStream/buildstream!1057
| * plugin.py: Add API to allow plugins to raise deprecation warningsphil/848-plugin-deprecation-warningsPhil Dawson2019-02-207-1/+130
|/ | | | | | A plugin's deprecation warning may be silenced by a project by adding the plugin to the list 'supress-deprecation-warnings' in the project's project.conf
* Merge branch 'juerg/cachedfail' into 'master'Jürg Billeter2019-02-201-2/+5
|\ | | | | | | | | tests/integration/cachedfail.py: Fix test_push_cached_fail See merge request BuildStream/buildstream!1167
| * tests/integration/cachedfail.py: Fix test_push_cached_failJürg Billeter2019-02-201-2/+5
|/ | | | | | | | Ensure that a unique cache key is used for different test variants. This revealed that the test actually fails with --on-error=quit. Marking that test variant as expected failure until this is fixed. https://gitlab.com/BuildStream/buildstream/issues/534
* Merge branch 'aevri/doc_arch_tweaks' into 'master'Jürg Billeter2019-02-201-15/+16
|\ | | | | | | | | doc/../arch_data_model: minor tweaks See merge request BuildStream/buildstream!1166
| * doc/./arch_data_model:edit comp stages for clarityAngelos Evripiotis2019-02-201-3/+4
| |
| * doc/./arch_data_model: add some missing full-stopsAngelos Evripiotis2019-02-201-11/+11
| |
| * doc/./arch_data_model: fixup affect/effectAngelos Evripiotis2019-02-201-3/+3
|/
* Merge branch 'raoul/870-root-cache-dir' into 'master'Jürg Billeter2019-02-1927-434/+499
|\ | | | | | | | | | | | | root cache directory Closes #870 See merge request BuildStream/buildstream!1100
| * CASQuota: Move cache check methods into new Classraoul/870-root-cache-dirRaoul Hidalgo Charman2019-02-1911-304/+339
| | | | | | | | | | | | | | | | | | This sits in Context allowing artifact cache to check the cas quota while not being used for CASServer. A lot of code that checks cache quota has been touched. Part of #870
| * context: remove artifactdirRaoul Hidalgo Charman2019-02-1912-53/+58
| | | | | | | | | | | | | | Will check and move old artifact directory if it exists, and create symlink linking old directory to new. Part of #870
| * cachedir: add new dir option that's default root to other dirsRaoul Hidalgo Charman2019-02-1915-91/+116
|/ | | | | | Makes artifactdir and builddir obsolete. Fixes #870
* Merge branch 'phil/additional-linting-excludes' into 'master'Phil Dawson2019-02-192-1/+4
|\ | | | | | | | | setup.cfg: exclude tmp/**, .eggs/** and build/** from pycodestyle linting See merge request BuildStream/buildstream!1165
| * .gitignore: ignore the build output directoryphil/additional-linting-excludesDor Askayo2019-02-191-0/+3
| |
| * setup.cfg: exclude .eggs/**, build/** and tmp/** from pycodestyle lintingDor Askayo2019-02-191-1/+1
|/
* Merge branch 'juerg/shell-test' into 'master'Jürg Billeter2019-02-191-0/+3
|\ | | | | | | | | tests/integration/shell.py: Improve test_isolated_no_mount See merge request BuildStream/buildstream!1163
| * tests/integration/shell.py: More asserts in test_isolated_no_mountjuerg/shell-testJürg Billeter2019-02-191-0/+2
| | | | | | | | This verifies that the command fails with the right error.
| * tests/integration/shell.py: Skip test_isolated_no_mount without sandboxJürg Billeter2019-02-191-0/+1
|/ | | | | | | This test passes without a sandbox but only because the exit code is also non-zero in that case. It didn't actually perform the desired test. This test is very slow on WSL, so let's skip it if there is no sandbox.
* Merge branch 'juerg/artifact-test' into 'master'Jürg Billeter2019-02-192-34/+64
|\ | | | | | | | | tests: Don't use integration test for artifact log See merge request BuildStream/buildstream!1162
| * tests: Don't use integration test for artifact logJürg Billeter2019-02-192-34/+64
|/ | | | | A non-integration test works just as well for this and is a lot quicker, especially on WSL.
* Merge branch 'adamjones/labels' into 'master'Tom Pollard2019-02-192-0/+4
|\ | | | | | | | | Add a link to the label descriptions in the issue templates See merge request BuildStream/buildstream!913
| * Add a link to the label descriptions in the issue templatesAdam Jones2019-02-192-0/+4
|/
* Merge branch 'valentindavid/absolute-whitelist' into 'master'Jürg Billeter2019-02-195-6/+9
|\ | | | | | | | | | | | | Allow absolute paths in whitelist Closes #721 See merge request BuildStream/buildstream!968
| * element.py: Expect absolute paths in overlap whitelistsValentin David2019-02-195-6/+9
|/ | | | | | | This allows use of variables such as %{prefix} and matches the documentation. This is a breaking change. Fixes #721
* Merge branch 'gokcennurlu/dont_cache_if_stage_fails' into 'master'Jürg Billeter2019-02-191-5/+5
|\ | | | | | | | | | | | | Prevent caching when Element.stage() fails Closes #791 See merge request BuildStream/buildstream!1012
| * Prevent caching when Element.stage() failsgokcennurlu/dont_cache_if_stage_failsGökçen Nurlu2019-02-191-5/+5
|/ | | | | | | That step is not actually part of the build phase should not be cached and causes hard to find bugs. Fixes #791