| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
Windows checks out symlinks as a file with content is the path of the
symlink. This makes it impossible to mount the buildstream folder in
a docker container and run the tests.
This removes the symlink, and creates it on the fly for tests that use
it, which fixes the problem.
|
|\
| |
| |
| |
| |
| |
| | |
Defer workspace source commits
Closes #1159
See merge request BuildStream/buildstream!1628
|
|/
|
|
|
|
|
|
|
| |
Remove XFAIL mark from test_workspace_visible and remove the explicit
SourceCache.commit() in the workspace source plugin. Allow buildstream
to handle the commit logic.
Add handling for non-cached workspace sources in
`source.Source._generate_keys()`.
|
|\
| |
| |
| |
| | |
setup.cfg: Fix xdg env vars to not affect the host
See merge request BuildStream/buildstream!1627
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A fix was made in
https://gitlab.com/BuildStream/buildstream/merge_requests/1244
in order to set xdg_* env variables inside of the test's directory
to avoid importing data from the host.
There was however still two problems:
- When a variable was not set, it was set with a relative path, which
would create a configuration for BuildStream that is invalid.
- When a variable was set and running with pytest directly, we would
still use the variable's value, which would be the host one.
This ensure this can never happen, by not relying on the same variable's
name and always overriding them.
|
|\
| |
| |
| |
| | |
cli.py: no fcntl on Windows
See merge request BuildStream/buildstream!1623
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
Work around the fact that we can't import 'fcntl' on Windows, and
confine the workaround to as small a scope as we can.
This enables us to run at least these commands on Windows:
bst help
bst init
We can't run any commands that require a Platform object though, which
is most commands.
|
|\
| |
| |
| |
| |
| |
| | |
Propagate buildstream's log level to buildbox-casd
Closes #1155
See merge request BuildStream/buildstream!1621
|
|/
|
|
|
|
|
|
|
|
| |
This changes how we instantiate the CASCache by reusing the log level
parameters from BuildStream and forward them to buildbox-casd.
By default, buildbox-casd will now have '--log-level warning', and
--verbose will enable 'info' and --debug will enable 'trace'.
This way, we can easily tweak buildbox-casd's verbosity
|
|\
| |
| |
| |
| |
| |
| | |
Fix incorrectly displaying bst output in docs
Closes #1141
See merge request BuildStream/buildstream!1626
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
element.py: remove call to _source_cached()
Closes #1150 and #1143
See merge request BuildStream/buildstream!1612
|
| |
| |
| |
| |
| |
| |
| | |
Remove call to Element._source_cached() in _calculate_cache_key and
do not recalculate workspace keys.
tests: shell browsing of workspaces is currently broken
|
|/
|
|
|
|
|
| |
Workspace keys are determined by contained files at time of opening and
are not forcibly reset
tests: workspaces have keys when they're opened and are not recalculated
|
|\
| |
| |
| |
| |
| |
| | |
Better SIGINT handling for CASD
Closes #1120
See merge request BuildStream/buildstream!1625
|
| |
| |
| |
| |
| |
| | |
We don't want this process to be killed if someones CTRL+C BuildStream
and the continues the build. We can therefore just ignore SIGINT
there.
|
|/
|
|
|
|
| |
We don't want SIGINT to be forwarded to the buildbox-casd process,
otherwise it would get killed if someone CTRL+C the BuildStream
process and then continues the build, which would make everything fail.
|
|\
| |
| |
| |
| | |
_scheduler/jobs/job.py: sort imports
See merge request BuildStream/buildstream!1622
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
cascache.py: Save casd logs in a file for retrieval
Closes #1156
See merge request BuildStream/buildstream!1616
|
| | |
|
|/
|
|
|
| |
Save all casd logs in a log file under its cas/ directory, and
keep only the last 10 of them.
|
|\
| |
| |
| |
| | |
Revert ".gitlab-ci.yml: overnigth tests need buildbox-casd"
See merge request BuildStream/buildstream!1619
|
|/
|
|
|
|
|
| |
The docker image already have this, see commit
23c66d2bd397b84c8905fa16027e0ba163d1b4cd
This reverts commit 99b0117a7d5d4b053c91d00f6e7117b007e4f72e.
|
|\
| |
| |
| |
| | |
.gitlab-ci.yml: overnigth tests need buildbox-casd
See merge request BuildStream/buildstream!1618
|
|/ |
|
|\
| |
| |
| |
| | |
.gitlab-ci.yml: Use latest fdsdk patches and bst-plugins-experimental for overnigth tests
See merge request BuildStream/buildstream!1617
|
|/
|
|
|
|
| |
This will not fix the CI but at least we can see what is the actual
error when trying to build (Rigth now It doesn't build at all because
the format version is not compatible)
|
|\
| |
| |
| |
| | |
Report when Buildbox-casd is not alive at the end of a run
See merge request BuildStream/buildstream!1605
|
| |
| |
| |
| |
| |
| |
| | |
This adds messages in the various mis-termination of Buildbox-casd, to
notify users that something might have gone wrong there.
It also adds a few tests to validate the various behaviors.
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
Do not check for casd in bash completion
Closes #1149
See merge request BuildStream/buildstream!1615
|
|/
|
|
|
|
|
|
|
| |
This caused stacktraces when a user didn't have buildbox-casd
installed, even though it wasn't required for completion, even for
artifacts.
It does add a slightly ugly parameter to Context, long-term it might
make sense to create a special slimmed-down context for completion.
|
|\
| |
| |
| |
| |
| |
| | |
Use buildbox-casd CaptureTree() to import directories
Closes #1132
See merge request BuildStream/buildstream!1611
|
| | |
|
| |
| |
| |
| |
| | |
This allows import of a whole directory tree with a single gRPC call to
buildbox-casd CaptureTree() instead of importing files one at a time.
|
|/ |
|
|\
| |
| |
| |
| | |
NEWS: Minor fixups
See merge request BuildStream/buildstream!1614
|
| |
| |
| |
| | |
Add a placeholder section to hold newsworthy items for the next release.
|
|/
|
|
|
| |
Since we decided to release the snapshot version '1.91.0', this patch
updates the version information in the NEWS entry accordingly.
|
|\
| |
| |
| |
| | |
_context.py: Remove duplicated log_message_lines assign
See merge request BuildStream/buildstream!1610
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
workspaces via sourcecache 1
Closes #1088
See merge request BuildStream/buildstream!1563
|
| |
| |
| |
| | |
Workspace changes are now detectable when using BuildBox as the sandbox
|
| |
| |
| |
| |
| | |
Opening and building workspaces when buildbox is the sandbox is now
supported.
|