| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
Use the one from bst-plugins-experimental instead
|
|
|
|
|
|
| |
This introduces a `pytest.mark.plugins` marker that signifies that
a test requires external plugins to run, and will only run them if
specifying `--plugins` on the pytest invocation.
|
|\
| |
| |
| |
| | |
Process options in includes files with the options of their junction
See merge request BuildStream/buildstream!1851
|
|/
|
|
|
|
|
|
|
| |
Unfortunately the options from main project cannot always be processed
in the include processing since project configuration might load
option declarations from a separate file. For that reason the result
of `Include.process` should still be passed through the option
processor. But all options files included from junctioned are already
evaluated.
|
|\
| |
| |
| |
| | |
Improve sandbox configuration handling
See merge request BuildStream/buildstream!1845
|
| |
| |
| |
| |
| |
| | |
This allows builds where the host OS or architecture doesn't match the
build OS or architecture, if the buildbox-run implementation supports
it. E.g., this allows x86-32 builds on x86-64 systems.
|
| |
| |
| |
| |
| |
| | |
Class data is not pickled and thus, class variables set by
`check_available()` are not set when `check_sandbox_config()` is called
by a job subprocess.
|
| |
| |
| |
| |
| | |
This allows `bst show` and other commands that don't require a sandbox
to work with elements that are not supported by the current sandbox.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Allowing builds without affecting the cache key but disallowing push,
when the sandbox configuration is not fully compatible, results in an
inconsistent user experience and may lead to unexpected build issues.
Especially as push is allowed or disallowed based on the sandbox
available at the time of push, not at the time of build.
The previous commit making build-uid and build-gid configuration
optional allows each project to decide whether the sandbox is required
to support UID/GID configuration or not.
|
| |
| |
| |
| |
| | |
This allows use of sandbox implementations that don't support
configuring sandbox UID/GID such as buildbox-run-userchroot.
|
|/ |
|
|\
| |
| |
| |
| | |
doc/source/main_glossary.rst: Fix docs build errors
See merge request BuildStream/buildstream!1863
|
|/
|
|
|
| |
Some of the referenced terms within the glossary were not
using the capitalization for which the term was declared.
|
|\
| |
| |
| |
| | |
Fix SIGTERM handling in job processes
See merge request BuildStream/buildstream!1861
|
| |
| |
| |
| |
| |
| |
| | |
The scheduler timeout for `SIGTERM` of job processes is 20s. The timeout
in the sandbox backend should be shorter to allow graceful termination
of the job process even when `buildbox-run` fails to terminate
gracefully.
|
| |
| |
| |
| |
| |
| | |
`Sandbox` subclasses use `_signals.terminator()` to gracefully terminate
the running command and cleanup the sandbox. Setting a `SIGTERM` handler
in `job.py` breaks this.
|
|/
|
|
| |
Use exit code from the `SystemExit` exception raised by `os.exit()`.
|
|\
| |
| |
| |
| |
| |
| | |
Revert ".gitlab-ci.yml: Allow WSL test to fail"
Closes #1277
See merge request BuildStream/buildstream!1860
|
|/
|
|
| |
This reverts commit edcd52f8f0d9e062bb9a4d089799b47625c37ab6.
|
|\
| |
| |
| |
| |
| |
| | |
Fix expiry of public data of artifact
Closes #1264
See merge request BuildStream/buildstream!1837
|
| |
| |
| |
| | |
this lets buildbox-casd know it is needed and not delete it when pruning
|
|/
|
|
| |
Part of #1264
|
|\
| |
| |
| |
| | |
.gitlab-ci.yml: Don't run win32 and wsl tests in scheduled pipelines
See merge request BuildStream/buildstream!1859
|
|/
|
|
|
|
| |
We already run these tests on master after each merge. There is no need
to run them in the scheduled pipelines as well. This is in line with the
Linux tests (see `.tests-template`).
|
|\
| |
| |
| |
| | |
Improve Directory.export_to_tar()
See merge request BuildStream/buildstream!1858
|
| | |
|
| |
| |
| |
| | |
We want to ensure the output is deterministic.
|
| |
| |
| |
| | |
We want to ensure the output is deterministic.
|
| |
| |
| |
| |
| |
| | |
Bitwise-and of a boolean and `stat.S_IXUSR` is always 0.
Also, `is_executable` only applies to regular files, not symlinks.
|
| |
| |
| |
| | |
Python doesn't ignore `encoding` for binary files, it must be `None`.
|
|/
|
|
| |
Python doesn't ignore `encoding` for binary files, it must be `None`.
|
|\
| |
| |
| |
| | |
.gitlab-ci.yml: Allow WSL tests to fail
See merge request BuildStream/buildstream!1844
|
|/
|
|
| |
Current WSL runners are not reachable
|
|\
| |
| |
| |
| | |
_project.py: resolve options before running the final assertions
See merge request BuildStream/buildstream!1835
|
|/
|
|
|
|
| |
otherwise, having an optional list append in theh configuration wouldn't work
This also avoids special casing for element and source overrides
|
|\
| |
| |
| |
| | |
Update BuildBox components to 0.0.7
See merge request BuildStream/buildstream!1852
|
| |
| |
| |
| | |
buildbox-fuse now supports SubtreeReadOnly.
|
| |
| |
| |
| | |
buildbox-run-bubblewrap now supports custom uid/gid.
|
|/ |
|
|\
| |
| |
| |
| | |
Require Python >= 3.6
See merge request BuildStream/buildstream!1850
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
|/
|
|
|
| |
Debian 9 uses Python 3.5. As part of dropping support for Python 3.5,
drop the CI job for Debian 9.
|
|\
| |
| |
| |
| | |
_sandboxbuildboxrun.py: Check for buildbox-run initialization errors
See merge request BuildStream/buildstream!1848
|
|/
|
|
|
|
| |
If `buildbox-run --capabilities` reports an error, we should consider
the sandbox to be unavailable, forwarding the error message from
buildbox-run.
|