aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* cli_v2: implement ListWorkers and GetWorkerInfoAlex Auvolat8 days13-188/+324
|
* admin api: base infrastructure for local endpointsAlex Auvolat8 days17-236/+619
| | | | | | | | | | | | admin api: rename EndpointHandler into RequestHandler to avoid confusion with RPC wip: infrastructure for local api calls admin api: fix things admin api: first local endpoint to work with new scheme admin api: implement SetWorkerVariable
* cli_v2: migrate cleanupincompleteuploads to Admin APIAlex Auvolat8 days8-66/+134
| | | | admin api: add CleanupIncompleteUploads spec
* Merge branch 'main' into next-v2Alex Auvolat8 days15-7865/+1169
|\
| * Merge pull request 'upgrade Rust compiler and Cargo dependencies' (#951) ↵Alex8 days6-556/+898
| |\ | | | | | | | | | | | | | | | from nix-crane into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/951
| | * update all Cargo dependencies except AWS crates and their dependenciesnix-craneAlex Auvolat8 days1-546/+886
| | |
| | * build with rust 1.82.0Alex Auvolat8 days5-10/+12
| | |
| * | Merge pull request 'compile with crane' (#950) from nix-crane into mainAlex8 days16-7316/+280
| |\| | | | | | | | | | Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/950
| | * nix, ci: build with CraneAlex Auvolat8 days16-7316/+280
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Merge branch 'main' into next-v2Alex Auvolat10 days1-3/+3
|\|
| * Merge pull request 'woodpecker: use parallel nix-build in debug builds' ↵Alex10 days1-3/+3
| |\ | | | | | | | | | | | | | | | (#949) from nix-parallel into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/949
| | * woodpecker: use parallel nix-build in debug buildsAlex Auvolat10 days1-3/+3
| |/
* | Merge branch 'main' into next-v2Alex Auvolat10 days77-845/+874
|\|
| * Merge pull request 'split garage_api in garage_api_{common,s3,k2v,admin}' ↵Alex10 days67-819/+841
| |\ | | | | | | | | | | | | | | | (#947) from split-garage-api into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/947
| | * fix ci for more test cratessplit-garage-apiAlex Auvolat11 days1-1/+4
| | |
| | * fix testsAlex Auvolat11 days5-3/+7
| | |
| | * cargo defs: simplify and fix descriptionsAlex Auvolat11 days4-13/+10
| | |
| | * update cargo.nixAlex Auvolat11 days1-202/+138
| | |
| | * use cargo-shear to remove many unused dependencies between cratesAlex Auvolat11 days15-356/+3
| | |
| | * split s3/cors.rs into also common/cors.rsAlex Auvolat11 days11-186/+179
| | |
| | * fix things upAlex Auvolat11 days34-102/+130
| | |
| | * wip: split garage_api into garage_api_{common,s3,k2v,admin}Alex Auvolat11 days52-195/+609
| |/
| * Merge pull request 'table::insert_many: avoid failure with zero items (fix ↵Alex11 days1-0/+4
| |\ | | | | | | | | | | | | | | | #915)' (#946) from fix-915 into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/946
| | * table::insert_many: avoid failure with zero items (fix #915)fix-915Alex Auvolat12 days1-0/+4
| |/
* | Merge pull request 'admin refactoring: refactor CLI to use Admin API ↵Alex12 days19-1414/+1485
|\ \ | | | | | | | | | | | | | | | requests (step 2)' (#943) from refactor-admin into next-v2 Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/943
| * | cli_v2: fix garage statusAlex Auvolat12 days2-56/+41
| | |
| * | cli_v2: merge util.rs into layout.rsAlex Auvolat12 days4-121/+116
| | |
| * | cli_v2: error messagesAlex Auvolat12 days1-6/+6
| | |
| * | convert cli key operations to admin rpcAlex Auvolat12 days7-307/+247
| | |
| * | fix garage status outputAlex Auvolat12 days1-1/+1
| | |
| * | admin api: convert most bucket operationsAlex Auvolat12 days10-640/+581
| | |
| * | cli: migrate layout remove, apply, revertAlex Auvolat13 days3-102/+65
| | |
| * | wip: migrate garage status and garage layout assignAlex Auvolat13 days8-355/+486
| | |
| * | wip: proxy admin api requests through admin rpc, prepare new cliAlex Auvolat13 days6-78/+194
|/ /
* | Merge pull request 'admin API refactoring (step 1)' (#939) from ↵Alex13 days22-1121/+3212
|\ \ | | | | | | | | | | | | | | | refactor-admin into next-v2 Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/939
| * | admin api: remove log messageAlex Auvolat13 days1-2/+0
| | |
| * | admin api: fix panic on GetKeyInfo with no argsAlex Auvolat13 days1-9/+13
| | |
| * | admin api: small fixesAlex Auvolat13 days6-10/+41
| | |
| * | admin api: clearer syntax for AddBucketAlias and RemoveBucketAliasAlex Auvolat13 days7-67/+76
| | |
| * | admin api: merge calls to manage global/local aliasesAlex Auvolat13 days5-222/+86
| | |
| * | admin api: rename allow/deny api calls in api v2Alex Auvolat13 days5-28/+28
| | |
| * | admin api: rename bucket aliasing operationsAlex Auvolat13 days5-58/+58
| | |
| * | fix test_website_check_domainAlex Auvolat13 days2-3/+17
| | |
| * | admin api: fixes to openapi v2 specAlex Auvolat13 days1-16/+8
| | |
| * | admin api: fix CORS to work in browserAlex Auvolat13 days3-6/+15
| | |
| * | admin api: update v2 openapi specAlex Auvolat13 days2-112/+143
| | |
| * | admin api: initialize v2 openapi spec from v1Alex Auvolat13 days1-0/+1362
| | |
| * | admin api: make all requests and responses (de)serializableAlex Auvolat13 days3-60/+79
| | |
| * | admin api: update semantics of some endpoints, and update docAlex Auvolat13 days6-58/+122
| | |
| * | admin api: add compatibility from v1/ to v2/Alex Auvolat13 days4-68/+115
| | |