Commit Graph

979 Commits

Author SHA1 Message Date
Alex Auvolat 533afcf4e1 simplify 2022-12-11 18:17:08 +01:00
Alex Auvolat 5ea5fd2130 Always return 200 OK on /v0/health, reinstate admin api doc as draft and complete it 2022-12-11 18:11:28 +01:00
Alex Auvolat d7868c48a4 Separate /health (simple text answer) and /v0/health (full json answer, authenticated) 2022-12-05 15:38:32 +01:00
Alex Auvolat 280d1be7b1 Refactor health check and add ability to return it in json 2022-12-05 15:28:57 +01:00
Alex Auvolat 2065f011ca Implement /health admin API endpoint to check node health 2022-12-05 14:59:15 +01:00
Alex 243b7c9a1c Merge pull request 'Fix spelling mistake in docs' (#438) from tompearson/garage:fix-typo into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/438
2022-12-05 12:27:14 +00:00
tompearson a3afc761b6 Update 'doc/book/design/goals.md' 2022-12-04 16:27:46 +00:00
Alex 19bdd1c799 Merge pull request 'Fix logs appearing twice' (#435) from fix-logs into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/435
2022-11-29 21:30:39 +00:00
Alex 448dcc5cf4 Merge pull request 'Make repository into a Nix flake' (#424) from nix-remove-system into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/424
2022-11-29 21:26:41 +00:00
Alex Auvolat 26121bb619 Fix logs appearing twice 2022-11-29 22:23:27 +01:00
Alex 280330ac72 Merge pull request 'Add talk to the Capitole du Libre 2022' (#434) from CdL_talk into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/434
2022-11-27 13:38:13 +00:00
vincent 4d7b4d9d20 Add talk to the Capitole du Libre 2022 2022-11-27 11:36:01 +01:00
Alex fc450ec13a Merge pull request 'Fix #432: documentation issue' (#433) from fix-432 into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/433
2022-11-24 14:36:53 +00:00
Alex Auvolat 379b2049f5 Fix #432: documentation issue 2022-11-24 15:33:33 +01:00
Alex 293139a94a Merge pull request 'Tentative fix #414' (#429) from try-fix-414 into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/429
2022-11-21 21:45:17 +00:00
Alex Auvolat 54e800ef8d Tentative fix for issue #414 2022-11-21 17:13:41 +01:00
Alex 1e40c93fd0 Merge pull request 'Changes for v0.8.0' (#428) from v0.8.0-tmp into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/428
v0.8.0
2022-11-21 13:55:50 +00:00
Alex Auvolat 0cfb56d33e update cargo.nix 2022-11-21 14:47:18 +01:00
Alex Auvolat c1fb65194c Add sled default in garage_model also 2022-11-21 14:25:54 +01:00
Alex Auvolat 67941000ee put sled as default feature in garage_db 2022-11-21 14:08:21 +01:00
Alex Auvolat 60c26fbc62 Inject last modified date as git_version; flake cache uploading 2022-11-16 23:47:10 +01:00
Alex Auvolat e76dba9561 Make repository into a Nix flake 2022-11-16 23:25:34 +01:00
Alex 7fafd14a25 Merge pull request 'Documentation updates' (#423) from doc-0.8 into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/423
2022-11-16 20:50:45 +00:00
Alex Auvolat 555a54ec40 doc precisions and fixes 2022-11-16 13:40:49 +01:00
Alex Auvolat fc8f795bba Rename subsections and add docker compose file 2022-11-16 13:33:33 +01:00
Alex Auvolat a7af0c8af9 Add best practices and doc of monitoring (fix #419) 2022-11-16 13:27:24 +01:00
Alex bcc9772470 Merge pull request 'OpenAPI spec for admin API' (#379) from ecosystem/openapi into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/379
2022-11-16 10:51:04 +00:00
Alex c4e4cc1156 Merge pull request 'Move testing strategy to a dedicated doc section (fix #114)' (#415) from doc-testing-strategy into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/415
2022-11-14 12:38:28 +00:00
Alex Auvolat 05547f2ba6 Move testing strategy to a dedicated doc section (fix #114) 2022-11-14 13:34:00 +01:00
Alex 39ac295eb7 Merge pull request 'Improve Nginx reverse proxy example' (#413) from baptiste/garage:nginx_fix into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/413
2022-11-14 12:21:56 +00:00
Quentin Dufour cf23aee183 Add a "build" section, doc for SDK 2022-11-13 16:48:52 +01:00
Quentin Dufour 74ea449f4b Add missing parameter 2022-11-12 23:04:37 +01:00
Quentin Dufour eabb37b53f openapi validate fix 2022-11-12 22:37:42 +01:00
Quentin Dufour e7824faa17 Finalize the specification of the admin API 2022-11-12 18:08:41 +01:00
Baptiste Jonglez 8dfc909759 Improve Nginx reverse proxy example
By default, Nginx does proxy buffering and it may store big replies to a
temporary file up to 1 GB.  It also means that Nginx will read data as
fast as possible from Garage, even if the client downloads slowly.  Both
behaviours are often not wanted, so disable this temporary file in the example.

Ref: https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_buffering

Also add an example of upstream with a "backup" server, which may be
useful to only use remote servers as fallback.
2022-11-11 21:50:08 +01:00
Quentin Dufour 485109ea60 Bucket CRUD is defined 2022-11-11 18:32:35 +01:00
Quentin Dufour ebe8a41f2d Bucket skeleton 2022-11-11 17:10:41 +01:00
Quentin Dufour dc50fa3b34 Fix typo in admin API on BucketInfo 2022-11-11 16:56:56 +01:00
Quentin Dufour a976c9190c Use awscli in the getting started guide 2022-11-11 12:48:52 +01:00
Quentin Dufour 72a0f90070 Make capacity nullable to allow gateway config 2022-11-11 09:22:37 +01:00
Quentin Dufour d814deb806 Error is nullable on AddNode 2022-11-11 09:22:37 +01:00
Quentin Dufour 6a09f16da7 Set required fields in the spec 2022-11-11 09:22:36 +01:00
Quentin Dufour 23207d18a0 Fix case of garage version 2022-11-11 09:22:36 +01:00
Quentin Dufour 3024405a65 Add operationId to entrypoints 2022-11-11 09:22:36 +01:00
Quentin Dufour 5f0928f89c Declare Authorization scheme in OpenAPI 2022-11-11 09:22:36 +01:00
Quentin Dufour 0a01b34e81 Partial OpenAPI spec for admin API with a viewer 2022-11-11 09:22:36 +01:00
Alex 66f2daa025 Merge pull request 'Add documentation to run Mastodon on Garage' (#411) from baptiste/garage:doc_mastodon into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/411
2022-11-06 17:06:07 +00:00
Baptiste Jonglez 26b3295aaa Add documentation to run Mastodon on Garage 2022-11-06 14:07:31 +01:00
Alex 0d279918b7 Merge pull request 'Improvements to CLI' (#410) from cleanup-uploads-command into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/410
2022-11-04 15:51:16 +00:00
Alex Auvolat e03d9062f7 Show a nice message and a backtrace when Garage panics 2022-11-04 16:39:02 +01:00