Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-11-02 | just-mr fetch: Add handling of --fetch-absent option | Paul Cristian Sarbu | |
2023-11-02 | test: Add simple check that 'just serve' resolves symlinks as expected | Paul Cristian Sarbu | |
2023-11-02 | serve test runner: Fix style and missing counter increment | Paul Cristian Sarbu | |
2023-11-02 | Add end-to-end test for fetching absent archives | Klaus Aehlig | |
Includes check to ensure we do not cache subtrees unnecessarily. Co-authored-by: Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | |||
2023-11-02 | ArchiveOps: Move libarchive utilities outside other_tools | Paul Cristian Sarbu | |
This way they can be used by 'just serve'. | |||
2023-10-27 | Add a test for similar but different exports | Klaus Aehlig | |
Export the same target from different repositories, as well as an explicit file reference with the same name and verify that no spourious cache hits occur. | |||
2023-10-20 | with_serve_test_runner.py: terminate serve process at the end | Alberto Sartori | |
2023-09-28 | Avoid conflicts on case-insensitive file systems | Klaus Aehlig | |
... by renaming test/end-to-end/targets. | |||
2023-09-22 | Add regression test that --fetch-absent does not store a subtree | Klaus Aehlig | |
... as tree for the whole commit, and thus pollutes subsequent builds. | |||
2023-09-20 | Add end-to-end test for the absent configuration of just-mr | Klaus Aehlig | |
2023-09-15 | just-mr: ensure that after --fetch-absent a local build is possible | Klaus Aehlig | |
... by also keeping the map of commit to tree locally. | |||
2023-09-15 | Add an end-to-end test for fetching absent roots | Klaus Aehlig | |
2023-09-15 | Add infrastructure for end-to-end tests using just serve | Klaus Aehlig | |
2023-09-15 | just serve: add remote execution endpoint and --fetch-absent option | Paul Cristian Sarbu | |
The serve service will communicate with this endpoint when needed, as well as ensure artifacts it provides are synced with the remote execution CAS, if requested by the client. If just-mr is given the --fetch-absent option, it Always produce present roots irrespective of the 'absent' pragma. For Git repositories marked with the 'absent' pragma, first try to fetch any commit trees provided by the serve endpoint from the execution endpoint CAS, before reverting to a network fetch. Co-authored-by: Klaus Aehlig <klaus.aehlig@huawei.com> Co-authored-by: Alberto Sartori <alberto.sartori@huawei.com> | |||
2023-09-13 | test: Check that just-mr creates correct absent roots | Paul Cristian Sarbu | |
2023-09-01 | add basic test for deduplication | Klaus Aehlig | |
... verifying that deduplication does not modify the analysis result. | |||
2023-08-29 | python: Add type hints and fix style in test scripts | Paul Cristian Sarbu | |
For maximum compatibility, we use the uppercase types from the typing package instead of the built-in types, therefore compliant with PEP 484 and PEP 526. | |||
2023-08-28 | Add end-to-end test that the shell is settable in "generic" | Klaus Aehlig | |
2023-08-25 | test: Check that just-mr interacts correctly with a remote endpoint | Paul Cristian Sarbu | |
The argument --backup-to-remote of just-mr and, thus, also this test can only be run in native mode. | |||
2023-08-24 | test: verify that actions with incompelete outputs are requested | Klaus Aehlig | |
... on next invocation, instead of being taken from cache. | |||
2023-08-17 | ["shell/test", "script"] Rename implicit dependencies | Klaus Aehlig | |
... and document at the appropriate places what can be overwritten by setting those targets. | |||
2023-08-14 | ArchiveOps: reduce verbosity in archive type enum | Paul Cristian Sarbu | |
2023-08-11 | Add basic end-to-end test for build -P | Klaus Aehlig | |
... also verifying that we can look into tree outputs | |||
2023-08-10 | test: Add checks for the 'symlink' built-in rule | Paul Cristian Sarbu | |
2023-08-08 | Add a test verifying the overwrite property of install and install-cas | Klaus Aehlig | |
Verify that install and install-cas do not overwrite and instead replace existing files. This behaviour is less surprising for the user in the presence of hard links. | |||
2023-08-07 | test: Add checks for 'special' pragma in just-mr | Paul Cristian Sarbu | |
Checks that the new 'special' pragma works for all supported repository types. In particular, checks that symlinks get resolved as expected and that resolved trees add their unresolved counterparts to the CAS for 'file' and 'archive' type repositories. Splits install-roots test into a basic check which works with the bootstrappable just-mr, and a new check focusing on the newly introduced 'special' pragma. | |||
2023-08-07 | just-mr: Set ignore-special roots via a pragma... | Paul Cristian Sarbu | |
...instead of a regular field. Also removes the ignore-special logic from distdir repositories, as those will never contain symlinks, so no entries would be ignored. | |||
2023-07-27 | install-cas test: also verify the -P option | Klaus Aehlig | |
2023-07-27 | link install-cas test to test suite | Klaus Aehlig | |
While there, fix a typo in the setup. | |||
2023-07-26 | Add basic test for install-cas | Klaus Aehlig | |
... verifying the consistency of the representation of trees between local and remote CAS. | |||
2023-07-25 | test_server: avoid races | Klaus Aehlig | |
... by creating a file only once the server is ready and waiting for that file instead of waiting a fixed period of time. | |||
2023-07-21 | bugfix: stage symlinks as symlinks when creating an action directory | Alberto Sartori | |
Before this patch, when creating an action directory, symlinks were staged as regular files. | |||
2023-07-11 | test: Extend coverage for symlinks and ignore_special roots | Paul Cristian Sarbu | |
2023-07-10 | test: Extend cas-independent check with .gitignore file | Paul Cristian Sarbu | |
2023-07-05 | Test dispatch functionality of just | Klaus Aehlig | |
2023-07-05 | ["@", "test", "end-to-end", "with remote"] rule: fix documentation | Klaus Aehlig | |
Besides stdout and stderr of the test, the output of the remote-execution server are also artifacts of that rule. | |||
2023-07-05 | ["end-to-end/target-cache", "artifacts-sync"]: add more checks... | Alberto Sartori | |
...that the expected objects are correctly uploaded to the remote cas | |||
2023-07-03 | Simplify artifacts-sync end-to-end test | Sascha Roloff | |
2023-06-22 | Extend action-equality-properties test to also test the generic rule | Klaus Aehlig | |
2023-06-22 | Extend action-equality-timeout test to also test the generic rule | Klaus Aehlig | |
2023-06-15 | Add basic test for properties as part of action equality | Klaus Aehlig | |
2023-06-05 | Add a test verifying that no working directory is needed | Klaus Aehlig | |
2023-05-31 | Add basic test that the timeout is taken into account for action equality | Klaus Aehlig | |
2023-05-30 | tests: Used installed just/just-mr in remote tests | Oliver Reiche | |
... as those binaries might need run-libs. | |||
2023-05-30 | tests: Support run deps for tools-under-test | Oliver Reiche | |
2023-05-24 | Split off tests into a separate logical repository | Klaus Aehlig | |
This allows better separation and, in particular, repositories needed only for tests do not have to be provided for building the tools. This also better documents which dependencies are only needed for testing. | |||
2023-05-09 | end-to-end tests: be independent of the user's home directory | Klaus Aehlig | |
... and, in particular, do not read any rc files for just-mr the user might have. | |||
2023-04-21 | ["test/end-to-end", "with remote"]: allow for the usage of a given remote ↵ | Alberto Sartori | |
endpoint This can be useful, for example, to test if justbuild can successfully communicate with the specified remote execution service. | |||
2023-04-14 | just-mr support -D option | Klaus Aehlig | |
Make just-mr unconditionally support an option -D that collects a configuration overlay and forwards it to the invocation of a just subcommand that supports this option. This syntax-switching facility makes it easy to embedd dynamic parts of the configuration (like the head commit to be part of a version string) as those information can unconditionally be the first argument to just-mr. | |||
2023-04-04 | Add basic test that roots are available via install-cas | Klaus Aehlig | |