Commits on Source 43
-
Tiago Gomes authored
The CAS uses a temp directory while manipulating the cache, temporary files can be added and removed while adding artifacts to the cache here. Since calculation of the cache size happens in parallel to artifact cache additions, this causes race conditions in the size calculation job, as we end up calling `stat` on temporary files which are being removed in parallel. Handle this by moving the temporary directory out of the way, and avoid considering the tmp directory when calculating the cache size
-
Tiago Gomes authored
Fix race condition when calculating disk usage See merge request !600
-
Valentin David authored
When open(2) is used with flags O_CREAT|O_RDWR, the file descriptor must be readable. Unfortunately O_RDWR was not passed which made read fail with EBADF and mmap to signal SIGBUS. This issue happened with man-db for example. Fixes #143.
-
Valentin David authored
Keep original flags for create in SafeHardlinks. Closes #143 See merge request !624
-
Javier Jardón authored
Multiprocessing with n_jobs given by multiprocessing.cpu_count() is not optimal for systems where not all CPU can be used (in particular, Docker, CI etc). As suggested in the multiprocessing docs (http://docs.python.org/3/library/multiprocessing.html#multiprocessing.cpu_count) using len(os.sched_getaffinity(0)) might be better.
-
Javier Jardón authored
even if the machine have mores cores available Patch taken from YBD: https://gitlab.com/baserock/ybd/blob/master/ybd/app.py#L227
-
Javier Jardón authored
buildstream/_project.py: Restrict max-jobs See merge request !620
-
Jim MacArthur authored
-
Tristan Van Berkom authored
Pin ruamel.yaml version to <= 0.15 See merge request !630
-
Phillip Smyth authored
This fixes #191 A note has been added to NEWS explaining backwards compatibility issues
-
Phillip Smyth authored
Patch for issue #191 support relative workspaces Closes #191 See merge request !504
-
Fixes #498
-
Valentin David authored
Set environment in bwrap command line instead of its environment Closes #498 See merge request !565
-
Chandan Singh authored
In some cases, such as when working inside a virtual environment, it can be desirable to install all dependencies for running tests using `pip`. This is currently not possible since setuptools does not support installing these dependencies in a virtual environment (by design). (See https://stackoverflow.com/a/21003259.) To circumvent this issue, move such requirements to `dev-requirements.txt` file that can be used easily with `pip install -r`. This also enables tests to be run directly using `pytest`, which can be more convenient than `-addopts` approach when one needs to add multiple options. This will also be useful in creating better testuite images, and fix some of the issues noticed in buildstream-docker-images!56.
-
Javier Jardón authored
Move development reqirements to dev-requirements.txt See merge request !637
-
Chandan Singh authored
-
Chandan Singh authored
Fix typo in dev-requirements.txt See merge request !641
-
-
Javier Jardón authored
.gitlab-ci-yml: Add ubuntu 18.04 test See merge request !523
-
Javier Jardón authored
-
Javier Jardón authored
-
Javier Jardón authored
This also fixes an error with pylint in setup.py: setup.py:226:19: R1718: Consider using a set comprehension (consider-using-set-comprehension)
-
Javier Jardón authored
Add job to run tests in fedora 28 See merge request !643
-
Instead of copying metadata on files staged by local, we manually set mode to 0755 or 0644 depending on whether user execution was enabled on source file. This makes file modes deterministic independently on the way source was distributed. Non-deterministic mode copying all metadata can still be enabled by disable 'deterministic' Boolean configuration on the plugin. Fixes #527.
-
Staging could end-up with file with different rights depending on the umask. The extracted files need to get their access rights fixed.
-
-
-
`python3-arpy` package is not available on Fedora so it has to be installed using `pip`. Update instructions accordingly. For reference, here is a pipeline that failed when trying to install `arpy` using current instructions: https://gitlab.com/BuildStream/buildstream-docker-images/-/jobs/88553245.
-
Javier Jardón authored
doc: Fix install instructions for Fedora See merge request !640
-
Chandan Singh authored
Add cachekey tests for the recently added `remote` source plugin to ensure that future changes do not break API compatibility.
-
Tristan Van Berkom authored
remote source: Add cachekey test See merge request !636
-
Stream._load() now returns early without resolving build pipeline when only tracking. Resolving track pipelines does not require to fully load project configurations when when elements to track are only junctions. However build pipelines require to fully load project configurations. This might not be possible in the case a project configuration includes a file from a junction that yet needs to be tracked. Fixes #565.
-
Tristan Van Berkom authored
Fix tracking of junctions used in project.conf Closes #565 See merge request !619
-
Jim MacArthur authored
-
Jim MacArthur authored
-
Jim MacArthur authored
-
Jim MacArthur authored
-
Jim MacArthur authored
-
Jim MacArthur authored
-
Jim MacArthur authored
-
Jim MacArthur authored