Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | build with rust 1.82.0 | Alex Auvolat | 6 days | 1 | -1/+1 |
| | |||||
* | nix, ci: build with Crane | Alex Auvolat | 6 days | 3 | -98/+152 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | nix CI: reduce redundant work | Alex Auvolat | 13 days | 1 | -0/+1 |
| | |||||
* | nix build: remove clippy build env that doesn't work | Alex Auvolat | 2025-01-12 | 1 | -88/+7 |
| | |||||
* | nix build: update rustc to v1.78 | Alex Auvolat | 2025-01-12 | 1 | -1/+1 |
| | |||||
* | use rust 1.77 in nix/compile.nixrust-1.77 | Alex Auvolat | 2024-08-26 | 1 | -1/+1 |
| | |||||
* | Merge branch 'main' into next-0.10 | Alex Auvolat | 2024-03-26 | 1 | -0/+1 |
|\ | |||||
| * | [syslog] Add support to logging to syslog | Alex Auvolat | 2024-03-20 | 1 | -0/+1 |
| | | | | | | | | Original patch by Jakub Jirutka for Alpine Linux port. | ||||
* | | Merge branch 'main' into next-0.10 | Alex Auvolat | 2024-03-18 | 1 | -3/+1 |
|\| | |||||
| * | [sqlite-r2d2] run integration test with all db enginessqlite-r2d2 | Alex Auvolat | 2024-03-18 | 1 | -3/+1 |
| | | |||||
* | | [rm-sled] Remove the Sled database engine | Alex Auvolat | 2024-03-08 | 1 | -1/+1 |
|/ | |||||
* | [nix-improvements] use kaniko and manifest-tools from nixpkgs, simplify | Alex Auvolat | 2024-02-09 | 3 | -59/+0 |
| | |||||
* | [nix-improvements] modernize Nix infrastructure | Alex Auvolat | 2024-02-09 | 1 | -0/+1 |
| | |||||
* | [oxalica-toolchain-only] remove obsolete comment on toolchains | Alex Auvolat | 2024-02-08 | 1 | -11/+0 |
| | |||||
* | [oxalica-toolchain-only] remove custom toolchains from toolchains.nix | Alex Auvolat | 2024-02-08 | 1 | -21/+1 |
| | |||||
* | [oxalica-toolchain-only] remove use of nixos rust toolchainoxalica-toolchain-only | Alex Auvolat | 2024-02-08 | 1 | -11/+1 |
| | |||||
* | [dep-upgrade-202402] update rustc to 1.73 | Alex Auvolat | 2024-02-08 | 1 | -1/+1 |
| | |||||
* | Merge branch 'main' into nextv0.9.0-beta1 | Alex Auvolat | 2023-08-29 | 1 | -9/+12 |
|\ | |||||
| * | nix/common.nix: use pattern from nix-community/flake-compat | Florian Klink | 2023-07-16 | 1 | -9/+12 |
| | | | | | | | | | | | | This is still a bit confusing, as normally the flake.defaultNix attrset gets exposed via a top-level default.nix, but at least it brings us closer to that. | ||||
* | | Add LMDB to debug builds | Alex Auvolat | 2023-06-09 | 1 | -1/+1 |
|/ | |||||
* | Update rust toolchain to 1.68 and simplify Nix stuffnix-update-simplify | Alex Auvolat | 2023-04-25 | 3 | -18/+13 |
| | |||||
* | Apply nixfmt to all .nix files; fix devshell and add it to cache | Alex Auvolat | 2023-01-26 | 7 | -346/+393 |
| | |||||
* | Make repository into a Nix flake | Alex Auvolat | 2022-11-16 | 1 | -13/+20 |
| | |||||
* | Add TLS support for Consul discovery + refactoring | Alex Auvolat | 2022-10-18 | 1 | -0/+1 |
| | |||||
* | Cleanup nix scripts | Alex Auvolat | 2022-10-18 | 2 | -11/+4 |
| | |||||
* | Fix cargo2nix feature discovery | Alex Auvolat | 2022-10-18 | 1 | -1/+1 |
| | |||||
* | Fix i386 build with custom toolchain (armv6 unknown state) | Alex Auvolat | 2022-10-14 | 3 | -36/+30 |
| | |||||
* | cargo2nix unstable (patched), rust 1.63.0, nixpkgs 22.05 (32-bit builds are ↵ | Alex Auvolat | 2022-10-14 | 3 | -71/+65 |
| | | | | broken) | ||||
* | Merge pull request 'Add step to generate multi-arch Docker container in CI' ↵v0.8.0-rc1 | Alex | 2022-09-27 | 1 | -0/+23 |
|\ | | | | | | | | | | | (#393) from multi-arch-container into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/393 | ||||
| * | Add step to generate multi-arch Docker container in CImulti-arch-container | Alex Auvolat | 2022-09-26 | 1 | -0/+23 |
| | | |||||
* | | Enable k2v feature flag in CIrm | Alex Auvolat | 2022-09-20 | 1 | -1/+1 |
|/ | |||||
* | Initialize metrics exporter earlier (fix #389)fix-metrics | Alex Auvolat | 2022-09-20 | 1 | -2/+2 |
| | |||||
* | Merge branch 'lx-perf-improvements' into netapp-stream-body | Alex Auvolat | 2022-09-08 | 1 | -14/+32 |
|\ | |||||
| * | Inject GIT_VERSION even later | Alex Auvolat | 2022-09-07 | 1 | -10/+10 |
| | | |||||
| * | Move GIT_VERSION injection later in build chain to reduce build times | Alex Auvolat | 2022-09-07 | 1 | -10/+10 |
| | | |||||
| * | Update Nix files with optional db engines | Alex Auvolat | 2022-09-06 | 1 | -3/+2 |
| | | |||||
| * | Force disable pkg-config for libsodum-sys and libzstd-sys | Alex Auvolat | 2022-09-06 | 1 | -0/+18 |
| | | |||||
| * | Update .nix files | Alex Auvolat | 2022-09-06 | 1 | -3/+4 |
| | | |||||
* | | cargo2nix fix to fetchCrateGit | Alex Auvolat | 2022-08-29 | 1 | -4/+4 |
|/ | |||||
* | Configure structopt to report the right versionv0.7.2_ci-test-2bug/reported-version | Quentin Dufour | 2022-08-11 | 1 | -11/+10 |
| | | | | | | | | | | By default, structopt reports the value provided by the env var CARGO_PKG_VERSION, feeded by Cargo when reading Cargo.toml. However for Garage we use a versioning based on git, so we often report a version that is behind the real version. In this commit, we create garage_util::version::garage() that reports the right version and configure all structopt subcommands to call this function instead of using the env var. | ||||
* | Run clippy in nix, leveraging nix caching ability | Quentin Dufour | 2022-07-26 | 3 | -37/+122 |
| | |||||
* | Refactor default.nix to follow Nix Flakes patterns | Quentin Dufour | 2022-07-26 | 2 | -0/+142 |
| | |||||
* | Bump Nix image to 22.05 | Quentin Dufour | 2022-07-26 | 1 | -0/+2 |
| | |||||
* | Put log-lines in nix.conf | Quentin Dufour | 2022-07-26 | 1 | -0/+1 |
| | |||||
* | Patch cargo2nix openssl overrideci/arm_openssl | Quentin Dufour | 2022-03-17 | 1 | -3/+3 |
| | |||||
* | Test WinSCPtest/winscp | Quentin Dufour | 2022-03-03 | 2 | -0/+30 |
| | |||||
* | Add integration tests to Drone | Quentin Dufour | 2022-02-10 | 1 | -1/+3 |
| | |||||
* | Upgrade cargo2nix | Quentin Dufour | 2022-02-10 | 1 | -1/+2 |
| | |||||
* | Generate and upload a JSON result | Quentin Dufour | 2022-02-05 | 1 | -4/+6 |
| | |||||
* | Add URL field to JSON builds | Alex Auvolat | 2022-02-05 | 1 | -1/+1 |
| |