| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
|
| |
A subset of the functionality provided by this module is not
available from buildstream._site but is necessary for the templated
source plugin tests.
|
|
|
|
|
| |
Copy tests.testutils.junction into plugintestutils._utils. This is
needed for use by the templated source tests.
|
|
|
|
|
|
|
|
| |
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
|
|\
| |
| |
| |
| | |
.gitlab-ci.yml: master (bst2) should use the new bst-plugins-experimental repo instead bst-external
See merge request BuildStream/buildstream!1275
|
|/
|
|
| |
instead bst-external
|
|\
| |
| |
| |
| | |
Do not fetch file blobs for build-only dependencies with remote execution
See merge request BuildStream/buildstream!1278
|
| |
| |
| |
| |
| | |
Avoid unnecessary copies and use CopyFrom() instead of copying fields
one by one where copies are necessary.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
Let the sandbox know whether the buildtree will be required. This allows
the remote execution sandbox to skip buildtree download when it's not
needed.
|
| |
| |
| |
| | |
This enables conditional output file fetching with remote execution.
|
| |
| |
| |
| |
| | |
This will enable SandboxRemote to download the file blobs of the build
directory only when needed.
|
| |
| |
| |
| |
| | |
Output files need to be downloaded only if they are required in the
local cache or if artifact push remotes need them.
|
| | |
|
| |
| |
| |
| | |
Extracted from remote_missing_blobs_for_directory().
|
| |
| |
| |
| | |
Download them separately as they are not always required.
|
| |
| |
| |
| |
| | |
This allows skipping file download in pull_tree()/_fetch_tree() and is
preparation for conditional output file fetching.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
Ensure required artifact files are available for elements that need them
even if the context does not require artifact files for all elements.
|
| |
| |
| |
| |
| | |
This will be used to allow build sessions with a partial local CAS when
using remote execution.
|
|/
|
|
|
|
| |
Element plugins will be required to support virtual directories before
the next major version. Drop support for fallback from remote to local
execution as this blocks partial CAS.
|
|\
| |
| |
| |
| | |
use uname in a win32-compatible way
See merge request BuildStream/buildstream!1262
|
| |
| |
| |
| |
| |
| | |
platform.uname() returns a namedtuple of "system, node, release,
version, machine, and processor". Use these slightly clearer names
instead of the magic numbers.
|
| |
| |
| |
| |
| |
| | |
On the win32 platform, uname strings can come through in ALLCAPS.
Be case-insensitive by lowercasing the arch before lookup.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The 'platform' module in the standard library provides a more portable
version of uname(), which also works on Windows.
In CPython, the platform version is implemented in terms of the os
version:
https://github.com/python/cpython/blob/60875db2f67815d7d181c552bfac59e8c97619e3/Lib/platform.py#L747
|
|/
|
|
|
|
|
|
|
|
|
| |
Combine the very similar override_uname_arch() and override_uname_os()
in a new helper function, to reduce duplication.
Also use a 'try/finally' block to ensure that the original
os.uname() is restored.
This will make it simpler to adopt platform.uname() instead in later
work.
|
|\
| |
| |
| |
| | |
test: Fix remaining references to bst push/pull
See merge request BuildStream/buildstream!1285
|
| |
| |
| |
| |
| | |
As the `bst push` is now called `bst artifact push`, update the
remaining comments in testsuite that still refer to it as `bst push`.
|
|/
|
|
|
| |
As the `bst pull` is now called `bst artifact pull`, update the
remaining comments in testsuite that still refer to it as `bst pull`.
|
|\
| |
| |
| |
| |
| |
| | |
_project.py: Do not find default targets in .bst directory
Closes #992
See merge request BuildStream/buildstream!1284
|
|/
|
|
|
|
|
|
|
|
| |
In cases where element path is set to `.` and the project has some
junctions, we have to be careful when trying to find the default
targets. We can't simply find all files ending with `.bst`. But, we
first need to ensure that we do not recurse down the `.bst` directory
which is used to store BuildStream internals.
Fixes #992.
|
|\
| |
| |
| |
| | |
cleanupjob: remove unused '_artifacts' member
See merge request BuildStream/buildstream!1283
|
|/ |
|
|\
| |
| |
| |
| | |
{artifact,source,cas}cache: fix one-shot callbacks
See merge request BuildStream/buildstream!1273
|
|/
|
|
|
|
|
|
|
|
|
|
| |
Remove the unintended side-effect of only being able to iterate the
ref_callbacks results once. This would mean that subsequent calls to
clean() were not honoring the required_refs correctly.
Update CasQuota.clean() to call the ref callbacks and iterate over
their results.
When registering ref callbacks; pass the methods, and not the generators
that they return.
|
|\
| |
| |
| |
| |
| |
| | |
Artifact as a Proto: protos and service
Closes #965
See merge request BuildStream/buildstream!1259
|
| |
| |
| |
| | |
Part of #965
|
| |
| |
| |
| | |
Part of #965
|
|/
|
|
| |
Part of #965
|
|\
| |
| |
| |
| | |
Re-enable `key in somenode` construct after YAML new world order
See merge request BuildStream/buildstream!1280
|
| |
| |
| |
| |
| |
| |
| | |
Now that we permit `key in somenode` remove the no longer needed function
to check if a node contains a key.
Signed-off-by: Daniel Silverstone <daniel.silverstone@codethink.co.uk>
|
| |
| |
| |
| |
| |
| |
| | |
Now that we permit `key in somenode` again, remove the unnecessary extra
API of Plugin.node_has_member()
Signed-off-by: Daniel Silverstone <daniel.silverstone@codethink.co.uk>
|
|/
|
|
|
|
| |
Now that we've had the fallout settle, support `key in somenode` again.
Signed-off-by: Daniel Silverstone <daniel.silverstone@codethink.co.uk>
|
|\
| |
| |
| |
| | |
_yaml.py: Add node_keys()
See merge request BuildStream/buildstream!1274
|
|/
|
|
|
|
|
|
| |
There were a number of places where `node_items()` was called and the values
discarded. Since values can be expensive to compute, this replaces any such
places with a `node_keys()` function call instead
Signed-off-by: Daniel Silverstone <daniel.silverstone@codethink.co.uk>
|