aboutsummaryrefslogtreecommitdiff
path: root/Cargo.nix
Commit message (Collapse)AuthorAgeFilesLines
* nix, ci: build with CraneAlex Auvolat31 hours1-7046/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* fix testsAlex Auvolat4 days1-1/+2
|
* cargo defs: simplify and fix descriptionsAlex Auvolat4 days1-5/+2
|
* update cargo.nixAlex Auvolat4 days1-202/+138
|
* Update Cargo.nixAlex Auvolat8 days1-42/+52
|
* nix build: switch to upstream cargo2nix (branch release-0.11.0)nix-updateAlex Auvolat2025-01-121-13/+14
|
* Bump to version 1.0.1v1.0.1rel-v1.0.1Alex Auvolat2024-09-221-69/+69
|
* update crate time (fix #849)Alex Auvolat2024-08-261-11/+11
|
* add rpc_public_addr_subnet config optionFlorian Klink2024-06-051-3/+4
| | | | | | | | | | In case `rpc_public_addr` is not set, but autodiscovery is used, this allows filtering the list of automatically discovered IPs to a specific subnet. For example, if nodes should pick *their* IP inside a specific subnet, but you don't want to explicitly write the IP down (as it's dynamic, or you want to share configs across nodes), you can use this option.
* [next-0.10] bump version number to 1.0v1.0.0-rc1Alex Auvolat2024-03-281-69/+69
|
* Merge branch 'main' into next-0.10Alex Auvolat2024-03-261-1/+16
|\
| * [syslog] Add support to logging to syslogAlex Auvolat2024-03-201-1/+16
| | | | | | | | Original patch by Jakub Jirutka for Alpine Linux port.
* | [s3-checksum] implement x-amz-checksum-* headersAlex Auvolat2024-03-261-6/+10
| |
* | Merge branch 'main' into next-0.10Alex Auvolat2024-03-181-50/+93
|\|
| * [sqlite-r2d2] implement connection pooling in sqlite backendAlex Auvolat2024-03-181-50/+91
| |
| * [db-snapshot] implement meta_auto_snapshot_intervalAlex Auvolat2024-03-151-1/+2
| |
| * [db-snapshot] Implement db snapshotting logic in garage_dbAlex Auvolat2024-03-151-0/+1
| |
* | [rm-sled] Remove the Sled database engineAlex Auvolat2024-03-081-64/+1
| |
* | [sse-c] Remove special case for Content-Type headersse-cAlex Auvolat2024-03-071-1/+2
| |
* | [sse-c] Implement SSE-C encryptionAlex Auvolat2024-03-071-1/+132
| |
* | Merge branch 'main' into next-0.10Alex Auvolat2024-03-041-1/+38
|\|
| * [rel-0.9.3] Bump version to 0.9.3v0.9.3Alex Auvolat2024-03-041-69/+69
| |
| * [rel-0.9.2] Bump version to v0.9.2v0.9.2rel-0.9.2Alex Auvolat2024-03-011-69/+69
| |
| * [fix-auth-ct-eq] use argon2 hashing and verification for admin/metrics token ↵Alex Auvolat2024-02-291-1/+38
| | | | | | | | checking
* | Merge branch 'main' into next-0.10Alex Auvolat2024-02-151-80/+148
|\|
| * [import-netapp] fix testsAlex Auvolat2024-02-151-4/+68
| |
| * [import-netapp] import Netapp code into Garage codebaseAlex Auvolat2024-02-151-42/+46
| |
| * [fix-cargo-toml] fix cargo warnings in Cargo.toml filesfix-cargo-tomlAlex Auvolat2024-02-151-36/+36
| |
* | Merge branch 'main' into next-0.10Alex Auvolat2024-02-131-1867/+2405
|\|
| * [dep-upgrade-202402] update toml, kube and k8s-openapiAlex Auvolat2024-02-081-309/+200
| |
| * [lto-nix] enable LTO for release builds using Nixlto-nixAlex Auvolat2024-02-081-1/+1
| |
| * [dep-upgrade-202402] upgrade to http/hyper 1.x for testsAlex Auvolat2024-02-051-2/+132
| |
| * [dep-upgrade-202402] wip: port to http/hyper crates v1Alex Auvolat2024-02-051-45/+134
| |
| * [dep-upgrade-202402] prepare migration to http/hyper 1.0Alex Auvolat2024-02-051-0/+2
| |
| * [dep-upgrade-202402] update aws-sdk dependenciesAlex Auvolat2024-02-051-319/+638
| |
| * [dep-upgrade-202402] upgrade easy dependenciesAlex Auvolat2024-02-051-84/+72
| |
| * [dep-upgrade-202402] refactor dependencies: move all as workspace depsAlex Auvolat2024-02-051-142/+75
| |
| * [dep-upgrade-202402] update dependency minor versions using `cargo update`Alex Auvolat2024-02-051-1309/+1494
| |
| * Bump version to 0.9.1v0.9.1rel-v0.9.1Alex Auvolat2024-01-161-60/+60
| |
| * Merge tag 'v0.8.5' into sync-08-09Alex Auvolat2024-01-161-1/+2
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Garage v0.8.5 This minor release includes the following improvements and fixes: New features: - Configuration: make LMDB's `map_size` configurable and make `block_size` and `sled_cache_capacity` expressable as strings (such as `10M`) (#628, #630) - Add support for binding to Unix sockets for the S3, K2V, Admin and Web API servers (#640) - Move the `convert_db` command into the main Garage binary (#645) - Add support for specifying RPC secret and admin tokens as environment variables (#643) - Add `allow_world_readable_secrets` option to config file (#663, #685) Bug fixes: - Use `statvfs` instead of mount list to determine free space in metadata/data directories (#611, #631) - Add missing casts to fix 32-bit build (#632) - Fix error when none of the HTTP servers (S3/K2V/Admin/Web) is started and fix shutdown hang (#613, #633) - Add missing CORS headers to PostObject response (#609, #656) - Monitoring: finer histogram boundaries in Prometheus exported metrics (#531, #686) Other: - Documentation improvements (#641)
| | * Bump version to 0.8.5Alex Auvolat2024-01-161-60/+60
| | |
| | * config: refactor secret sourcingAlex Auvolat2024-01-151-1/+2
| | |
* | | bump crate versions to 0.10.0v0.10.0-beta1Alex Auvolat2024-01-111-60/+60
|/ /
* | bump version to v0.9.0v0.9.0nextAlex Auvolat2023-10-101-60/+60
| |
* | Merge branch 'main' into nextv0.9.0-rc1Alex Auvolat2023-10-031-1/+21
|\|
| * cargo: add hyperlocal as a dependencynetworkException2023-09-291-1/+21
| |
* | actually update rmp-serde to 1.1.2 for both garage and netapp dependency ↵v0.9.0-beta4Alex Auvolat2023-09-271-13/+13
| | | | | | | | (fix #629)
* | update cargo.nixAlex Auvolat2023-09-181-3/+4
| |
* | Merge branch 'main' into nextAlex Auvolat2023-09-111-20/+19
|\|
| * use statvfs instead of mount list to determine free data/meta space (fix #611)Alex Auvolat2023-09-111-20/+18
| |