Donal McBreen
dc5af03593
Update tests to match single quotes
2024-03-06 16:04:31 +00:00
Krzysztof Adamski
1c2a45817a
Supports Passing SSH Args to Build Options
2024-02-15 14:20:20 +01:00
dhh
5a09aa12ba
Allow local builds using a different arch than native
2024-01-10 13:00:48 -08:00
Donal McBreen
66291a2aea
Validate the build image
...
Kamal needs images to have the service label so it can track them for
pruning. Images built by Kamal will have the label, but externally built
ones may not.
Without it images will build up over time. The worst case is an outage
if all the hosts disks fill up at the same time.
We'll add a check for the label and halt if it is not there.
2023-09-12 10:45:01 +01:00
David Heinemeier Hansson
c4a203e648
Rename to Kamal
2023-08-22 08:24:31 -07:00
Igor Alexandrov
aa28ee0f3e
Inroduce Native::Cached builder
2023-06-18 22:45:04 +04:00
Josh Soref
8e94c21729
spelling: with
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2023-05-29 20:46:34 -04:00
Jberczel
bfb70b2118
Add local dependencies check
...
Add checks for:
* Docker installed locally
* Docker buildx plugin installed locally
* Dockerfile exists
If checks fail, it will halt deployment and provide more specific error messages.
Also adds a cli subcommand:
`mrsk build dependencies`
Fixes : #109 and #237
2023-05-01 16:32:41 -04:00
Tobias Bühlmann
078d68b170
Push <image>:latest in addition to <image>:<git-ref>
2023-03-27 12:52:11 +02:00
Samuel Sieg
ff88ee0b22
Allow setting the build context used for building
2023-03-04 10:59:52 +01:00
Samuel Sieg
b6934b0f41
Allow configuring the Dockerfile used for building
2023-03-04 10:59:23 +01:00
Paul Gabriel
25e8b91569
fix(escape-cli-args): Always use quotes to escape CLI arguments
2023-02-20 15:02:34 +01:00
David Heinemeier Hansson
b2875ad056
More readable tests
2023-02-15 13:47:16 +01:00
David Heinemeier Hansson
8ec94f105c
Tag images with service label so we can prune exclusively
2023-02-15 13:41:03 +01:00
David Heinemeier Hansson
c29a177a7a
DRY the use of build options into one call
2023-02-15 13:23:14 +01:00
David Heinemeier Hansson
0433619518
Tag new builds with latest
2023-02-08 14:08:36 +01:00
Tobias Bühlmann
554a3558ab
Move image tag to proper position
2023-02-05 18:39:52 +01:00
Xavier Noria
539752e9bd
Load with Zeitwerk
2023-02-03 22:45:12 +01:00
David Heinemeier Hansson
2213739156
Fix tests
2023-01-22 15:43:47 +01:00
David Heinemeier Hansson
287798ad57
Add option for remote building of single-arch
2023-01-22 10:06:04 +01:00
David Heinemeier Hansson
3bf56c2fdb
Allow custom version to be passed in via CLI
2023-01-20 17:46:09 +01:00
David Heinemeier Hansson
8e69514b78
Actually use the build secrets!
2023-01-20 14:05:31 +01:00
Nathan Anderson
e516f427cd
Enable docker secrets in the builder as a more secure alternative to build args.
2023-01-18 17:35:36 -05:00
David Heinemeier Hansson
98af1d3d96
Naming
2023-01-17 13:34:59 +01:00