| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\
| |
| |
| |
| |
| |
| | |
YAML New World Order
Closes #591
See merge request BuildStream/buildstream!1257
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
To more cleanly check if a given string could be a cache key, create
a new _cachekey.is_key() function and use that in _artifactelement's
verify_artifact_ref() function.
Signed-off-by: Daniel Silverstone <daniel.silverstone@codethink.co.uk>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Replace YAML internals with a new Node type, and refactor everything
to use it cleanly.
This work was also by James Ennis <james.ennis@codethink.co.uk>
Signed-off-by: Daniel Silverstone <daniel.silverstone@codethink.co.uk>
|
|/
|
|
|
|
|
| |
The new YAML world order doesn't need the YAML cache, so remove it
before we begin the change.
Signed-off-by: Daniel Silverstone <daniel.silverstone@codethink.co.uk>
|
|\
| |
| |
| |
| | |
Initial partial CAS support for remote execution
See merge request BuildStream/buildstream!1232
|
| | |
|
| | |
|
| |
| |
| |
| | |
push_directory() is unused and will be removed.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If any blobs required for the action are missing both on the remote
execution CAS server and in the local cache, attempt to fetch these
blobs from the configured artifact servers.
Artifacts are currently still guaranteed to be complete in the local
cache. However, this is in preparation for the planned partial CAS
support.
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
Separate fetching of directory objects and fetching of files in
preparation of partial CAS support.
|
| | |
|
| | |
|
| |
| |
| |
| | |
Extracted from _send_directory().
|
| |
| |
| |
| |
| | |
This optionally returns a list of missing blobs instead of raising an
error.
|
| | |
|
|/
|
|
|
|
| |
If upload is not successful, there should be an error. Skip the extra
round trip verifying the upload of the top-level directory object was
successful.
|
|\
| |
| |
| |
| | |
testutils/yaml.py: add copyright notice
See merge request BuildStream/buildstream!1263
|
|/ |
|
|\
| |
| |
| |
| | |
loader: provenance in LoadErrors from _get_loader
See merge request BuildStream/buildstream!1237
|
| |
| |
| |
| | |
Test that we error correctly when we junction-depend on a non-junction.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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'.
|
| |
| |
| |
| |
| |
| | |
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.
|
|/ |
|
|\
| |
| |
| |
| | |
Add remote execution tests to the CI pipeline
See merge request BuildStream/buildstream!1239
|
| |
| |
| |
| | |
https://gitlab.com/BuildStream/buildstream/issues/629
|
| |
| |
| |
| | |
https://gitlab.com/BuildStream/buildstream/issues/629
|
| |
| |
| |
| | |
https://gitlab.com/BuildStream/buildstream/issues/629
|
| |
| |
| |
| | |
https://gitlab.com/BuildStream/buildstream/issues/629
|
|/
|
|
|
|
|
|
| |
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
|
|\
| |
| |
| |
| |
| |
| | |
Remote source cache
Closes #440
See merge request BuildStream/buildstream!1214
|
| |
| |
| |
| |
| |
| | |
Rename to be consistent with SourcePushQueue
Part of #440
|
| |
| |
| |
| |
| |
| |
| | |
Workspaced elements should not push their sources as consistency is
marked as cached even if the sources are not necessarily available.
Part of #440
|
| |
| |
| |
| |
| |
| |
| | |
Adds a plugin build element that always fails. The test tries to build
an element of this kind.
Part of #440
|
| |
| |
| |
| |
| |
| | |
Ensures that remote source cache and artifact caches work fine together.
Part of #440
|
| |
| |
| |
| | |
Part of #440
|
| |
| |
| |
| | |
Part of #440
|
| |
| |
| |
| | |
Part of #440
|
| |
| |
| |
| | |
Part of #440
|
| |
| |
| |
| | |
Part of #440
|
| |
| |
| |
| | |
Part of #440
|
| |
| |
| |
| |
| |
| |
| | |
Updates other queues and widget to have consistent naming and display,
and tests have been updated to reflect this.
Part of #440
|
| |
| |
| |
| | |
Part of #440
|
| |
| |
| |
| | |
Part of #440
|
| |
| |
| |
| | |
Part of #440
|
| |
| |
| |
| |
| |
| |
| | |
Checks buildstream calls fetch method when remote source cache does not
have a source.
Part of #440
|