Commit graph

417 commits

Author SHA1 Message Date
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
2ee90bf462
component/web: Add 'HTTPSMETHOD'
This commit sets the 'HTTPSMETHOD' variable on the 'web' component for
when https is or is not enabled.
2022-09-11 13:04:15 +02:00
Tom Wiesing
e1ee569629
embed: Begin refactor to use clearer paths 2022-09-11 12:47:00 +02:00
Tom Wiesing
e75dc29de1
wdcli: Update handling of templates
This commit updates the handling of expanding of templates. This is to
prepare embeding templates directly as opposed to embedding a single
resource directory.
2022-09-09 23:20:47 +02:00
Tom Wiesing
2881a5f65c
resolver: Use self-built image
This commit updates the resolver component to use an image that is built
locally.
2022-09-09 18:01:57 +02:00
Tom Wiesing
4b357476a3
Add 'dis' component
This commit adds a new 'dis' component to the distillery that serves a
list of all known instances for the moment.
2022-09-09 17:10:24 +02:00
Tom Wiesing
35bb95c5ca
Show a warning when using wrong executable
This commit updates the 'wdcli' command to show a warning when using the
wrong executable.
2022-09-09 13:35:02 +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
4bffc9e92a
backup: Prune old backups
This commit updates the backup command to prune old backups.
2022-09-08 14:39:05 +02:00
Tom Wiesing
fc3b9170a6
wdcli: Implement backup & snapshot
This commit implements command backup and snapshot.
2022-09-08 14:39:05 +02:00
Tom Wiesing
d818cb93a5
Rename backups => snapshot 2022-09-08 14:39:05 +02:00
Tom Wiesing
bb73a73f57
backup: Move taking snapshot to separate function
This commit moves taking a snapshot of a running instance to a separate
function.
2022-09-08 14:39:05 +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
a64c02cd78
internal: Improve error message consistency 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