Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | nix, ci: build with Crane | Alex Auvolat | 6 days | 2 | -25/+12 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This removes our dependency on cargo2nix, which was causing us some issues. Whereas cargo2nix creates one Nix derivation per crate, Crane uses only two derivations: 1. Build dependencies only 2. Build the final binary This means that during the second step, no caching can be done. For instance, if we do a change in garage_model, we need to recompile all of the Garage crates including those that do not depend on garage_model. On the upside, this allows all of the Garage crates to be built at once using cargo build logic, which is optimized for high parallelism and better pipelining between all of the steps of the build. All in all, this makes most builds faster than cargo2nix. A few other changes have been made to the build scripts and CI: - Unit tests are now run within a Nix derivation. In fact, we have different derivations to run the tests using LMDB and Sqlite as metadata db engines. - For debug builds, most CI steps now run in parallel (with the notable exception of the smoke test that runs after the build, which is inevitable). - We no longer pass the GIT_VERSION argument when building debug builds and running the tests. This means that dev binaries and test binaries don't know the exact version of Garage they are from. That shouldn't be an issue in most cases. - The not-dynamic.sh scripts has been fixed to fail if the file does not exist. | ||||
* | woodpecker: use parallel nix-build in debug builds | Alex Auvolat | 8 days | 1 | -3/+3 |
| | |||||
* | fix ci for more test cratessplit-garage-api | Alex Auvolat | 9 days | 1 | -1/+4 |
| | |||||
* | nix CI: reduce redundant work | Alex Auvolat | 13 days | 2 | -3/+1 |
| | |||||
* | ci: fix woodpecker definitions to comply with woodpecker 3woodpecker3 | Alex Auvolat | 14 days | 2 | -4/+5 |
| | |||||
* | nix build: remove clippy build env that doesn't work | Alex Auvolat | 2025-01-12 | 1 | -3/+3 |
| | |||||
* | woodpecker: use modern syntax for secrets (removes warning) | Alex Auvolat | 2024-12-23 | 2 | -10/+9 |
| | |||||
* | Merge branch 'main' into next-0.10 | Alex Auvolat | 2024-03-28 | 1 | -0/+1 |
|\ | |||||
| * | [fix-ci] CI: properly cleanup between garage integration tests | Alex Auvolat | 2024-03-28 | 1 | -0/+2 |
| | | |||||
* | | Merge branch 'main' into next-0.10 | Alex Auvolat | 2024-03-18 | 1 | -1/+2 |
|\| | |||||
| * | [sqlite-r2d2] run integration test with all db enginessqlite-r2d2 | Alex Auvolat | 2024-03-18 | 1 | -1/+3 |
| | | |||||
* | | [next-0.10] woodpecker: run debug pipeline on manual trigger | Alex Auvolat | 2024-02-27 | 1 | -0/+1 |
|/ | |||||
* | [nix-improvements] get rid of Drone | Alex Auvolat | 2024-02-09 | 1 | -1/+1 |
| | |||||
* | [nix-improvements] fix kaniko and manifest-tool | Alex Auvolat | 2024-02-09 | 2 | -26/+21 |
| | |||||
* | [nix-improvements] ci: check static as separate step | Alex Auvolat | 2024-02-09 | 1 | -0/+5 |
| | |||||
* | [nix-improvements] adapt woodpecker pipelines | Alex Auvolat | 2024-02-09 | 3 | -9/+9 |
| | |||||
* | [woodpecker] remove upgrade test on i386woodpecker | Alex Auvolat | 2024-02-08 | 1 | -2/+0 |
| | |||||
* | [woodpecker] disable docker image generation as auth is broken for now | Alex Auvolat | 2024-02-08 | 2 | -27/+26 |
| | |||||
* | [woodpecker] convert drone pipelines to woodpecker | Alex Auvolat | 2024-02-08 | 3 | -0/+146 |