WIP: Automatically create node layout, keys and buckets #883

Draft
apapsch wants to merge 6 commits from apapsch/garage:feature/auto-config into main
First-time contributor

Hi! Initial setup of Garage requires quite a few manual steps. I considered cooking up a script, but instead went straight to the Garage source, because it would allow me to keep the small container from scratch that Garage is currently producing. Also, I would rather write a bit of Rust code (and get more familiar with it), than cook up shell code.

The node layout is only applied if all nodes are still unassigned. This is intended to ensure a new Garage cluster is operational as soon as possible. Cluster management beyond that is out of scope. Other resources (keys, buckets and permissions) are always created, if they don't exist already.

I don't have much experience with Rust, so I'm certain there is still some work to do.

Hi! Initial setup of Garage requires quite a few manual steps. I considered cooking up a script, but instead went straight to the Garage source, because it would allow me to keep the small container from scratch that Garage is currently producing. Also, I would rather write a bit of Rust code (and get more familiar with it), than cook up shell code. The node layout is only applied if all nodes are still unassigned. This is intended to ensure a new Garage cluster is operational as soon as possible. Cluster management beyond that is out of scope. Other resources (keys, buckets and permissions) are always created, if they don't exist already. I don't have much experience with Rust, so I'm certain there is still some work to do.
apapsch added 3 commits 2024-09-24 14:24:22 +00:00
apapsch added 1 commit 2024-09-24 14:35:04 +00:00
Run cargo fmt.
Some checks failed
ci/woodpecker/pr/debug Pipeline failed
b185ec2f85
apapsch added 1 commit 2024-09-24 14:47:40 +00:00
Silence remaining cargo fmt complaints.
All checks were successful
ci/woodpecker/pr/debug Pipeline was successful
c2a6108d29
apapsch added 1 commit 2024-09-26 12:58:25 +00:00
Configure website access.
Some checks failed
ci/woodpecker/pr/debug Pipeline failed
7af19649bb
Some checks failed
ci/woodpecker/pr/debug Pipeline failed
Required
Details
This pull request is marked as a work in progress.
This branch is out-of-date with the base branch
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u feature/auto-config:apapsch-feature/auto-config
git checkout apapsch-feature/auto-config
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Deuxfleurs/garage#883
No description provided.