Tom Wiesing
8210612198
Lots of internal cleanup
2022-09-12 11:15:52 +02:00
Tom Wiesing
86a4334796
Remove embed package
...
This commit finally removes the embed package in favor of more specific
resource packages
2022-09-11 17:00:34 +02:00
Tom Wiesing
91a088a56a
Merge internal/stack => component
2022-09-11 16:03:13 +02:00
Tom Wiesing
7b2f79bea1
Move code into new component package
...
This commit cleans up the resources in the 'embed' package, and instead
moves them into subpackages of a new 'compose' package. This makes sure
that '.env' templates and docker compose contexts are located in the
same location.
2022-09-11 15:41:11 +02:00
Tom Wiesing
e1ee569629
embed: Begin refactor to use clearer paths
2022-09-11 12:47:00 +02:00
Tom Wiesing
c4de1f2a06
snapshot: Explicitly export Pathbuilders
...
This commit updates the 'wdcli snapshot' command to also export
pathbuilders from the system.
2022-09-09 10:14:27 +02:00
Tom Wiesing
477152814a
env/instances: Guarantee that right 'authorized_keys' file is created
2022-09-08 17:30:28 +02:00
Tom Wiesing
086b359e17
barrel: Rename 'REAL_PATH' => 'DATA_PATH'
2022-09-08 17:26:36 +02:00
Tom Wiesing
09431c4869
env: Move each component into a separate struct
...
This commit cleans up the distillery code by making each component a
distinct struct. Each of these components is also returned by by a new
Component() function that replaces the Stacks() function.
2022-09-08 14:39:04 +02:00
Tom Wiesing
2a14d93d3c
Implement initial 'wdcli backup_instance' command
...
This commit performs an initial implementation of the 'backup_instance'
command.
2022-09-08 14:39:04 +02:00
Tom Wiesing
5d906169f4
internal/stack: Cleanup API
...
This commit cleans up the internal stack API to prepare it for an
eventual move to using a native docker client.
2022-09-08 14:39:04 +02:00
Tom Wiesing
7b38fdd801
Do a large chunk of the move to go
...
This commit moves a huge chunk of the code to go. The TODO.md document
indicates what is left to be done.
2022-09-08 14:39:04 +02:00