David Heinemeier Hansson
98a14f6173
Add cmd args for roles
2023-03-09 11:01:06 +01:00
David Heinemeier Hansson
487fcd4cea
Only used for traefik
2023-03-09 11:00:52 +01:00
David Heinemeier Hansson
c8badea6dd
Extract argumentization for cmd and add proper escaping
2023-03-09 10:54:53 +01:00
David Heinemeier Hansson
5a3ea24c6b
Merge pull request #77 from calmyournerves/dockerfile-context-build-options
...
Allow setting the Dockerfile and the Docker build context when building
2023-03-09 08:32:57 +00:00
David Heinemeier Hansson
0431bb5f97
Extract named constant and method
2023-03-09 09:29:56 +01:00
Samuel Sieg
2b95cdf8d0
Merge branch 'main' into dockerfile-context-build-options
2023-03-09 08:54:23 +01:00
Rasmus
eacdf34540
fix: mrsk deploy fails when traefik config is empty
2023-03-08 18:55:04 +01:00
David Heinemeier Hansson
7f0e6f1f13
Merge pull request #85 from clowder/traefik-host-port
...
Customizable Traefik host port
2023-03-08 17:06:51 +00:00
David Heinemeier Hansson
2e9d877185
Merge pull request #88 from simonrand/ensure-curl-is-available
...
Ensure curl is installed on hosts during bootstrapping
2023-03-08 17:05:40 +00:00
David Heinemeier Hansson
3457c3f606
Style
2023-03-08 18:05:00 +01:00
David Heinemeier Hansson
155384472a
Allow primary host even when a specific role has been set
2023-03-08 18:00:13 +01:00
David Heinemeier Hansson
b809a971e2
One purpose per method
2023-03-08 17:43:23 +01:00
Rasmus
f531874be4
Allow registry username to be a reference to secret
2023-03-07 10:13:49 +01:00
Simon Rand
9ae3886b2b
Ensure curl is installed during bootstrapping
2023-03-05 16:51:07 +00:00
Chris Lowder
963b96ff62
Customizable Traefik host port
...
Allow users to free up port 80 on the host machine, without losing
Traefik's Docker routing super-powers.
2023-03-05 13:13:22 +00: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
David Heinemeier Hansson
fcf226f790
Bump version for 0.8.4
2023-02-27 12:59:58 +01:00
David Heinemeier Hansson
701f6ff237
Move sleep note out of host loop, so we only see it once
2023-02-26 11:27:19 +01:00
David Heinemeier Hansson
27279c6c82
Accessories can individually ask for confirmation
2023-02-23 15:41:49 +01:00
David Heinemeier Hansson
08dd468d87
Bump version for 0.8.3
2023-02-23 15:34:18 +01:00
David Heinemeier Hansson
9a4f502cc4
Pass confirmed flag to accessories
2023-02-23 15:31:56 +01:00
David Heinemeier Hansson
bc6963e6bf
Note that rebooting may cause air gap
2023-02-23 12:16:58 +01:00
David Heinemeier Hansson
f4f2b5cb17
Communicate the readiness delay
2023-02-23 12:04:57 +01:00
David Heinemeier Hansson
e12436a1db
Extract readiness_delay to config
2023-02-23 12:02:49 +01:00
David Heinemeier Hansson
b244e919bf
Merge branch 'main' into more-resilient-zero-downtime-deploy
...
* main:
Add option to skip audit broadcasts (useful when testing)
2023-02-23 11:52:45 +01:00
David Heinemeier Hansson
7ad416f029
Add option to skip audit broadcasts (useful when testing)
2023-02-23 10:04:35 +01:00
David Heinemeier Hansson
371f98d67f
Start before stopping and longer timeouts
2023-02-22 19:04:23 +01:00
Jacopo
689b81014b
Print container logs when HealthCheck response_code != 200
...
The Healthcheck container is shut down right after performing the check, this
makes it harder to troubleshoot configuration issues in the healthcheck
endpoint, e.g DNS rebinding error. Printing the container logs helps the troubleshooting.
2023-02-21 11:48:29 +01:00
David Heinemeier Hansson
01a4eecf98
Bump version for 0.8.1
2023-02-20 18:21:05 +01:00
David Heinemeier Hansson
1fccaf60b2
Cleanup escaping logic
2023-02-20 18:20:08 +01:00
David Heinemeier Hansson
9b02a7668d
Merge branch 'main' into pr/53
...
* main:
Bump version for 0.8.0
Remove images of the same name before pulling a new one
Changed to a timeout
Better language
Switch to ruby-based retry
2023-02-20 18:14:47 +01:00
David Heinemeier Hansson
f6ea287e66
Bump version for 0.8.0
2023-02-20 18:06:56 +01:00
David Heinemeier Hansson
42b343436d
Remove images of the same name before pulling a new one
...
Or you'll end up with untagged dupes.
2023-02-20 18:06:16 +01:00
David Heinemeier Hansson
c4cc9e690b
Better language
2023-02-20 17:44:55 +01:00
David Heinemeier Hansson
1ccf679ca9
Switch to ruby-based retry
...
Retry connection errors with backoff
2023-02-20 17:42:55 +01:00
Paul Gabriel
f81ba12aa5
fix(escape): Escape double quotes and all other characters reliably
2023-02-20 16:49:47 +01:00
Paul Gabriel
25e8b91569
fix(escape-cli-args): Always use quotes to escape CLI arguments
2023-02-20 15:02:34 +01:00
Paul Gabriel
21c6a1f1ba
chore(rebase): Rebase main
2023-02-20 10:27:51 +01:00
David Heinemeier Hansson
5898fdd8f4
Expand arguments to be more self-explanatory in logs
2023-02-19 18:11:06 +01:00
David Heinemeier Hansson
5299826146
Alphabetical order
2023-02-19 17:43:56 +01:00
David Heinemeier Hansson
28be8dc0f0
Encourage registry password from ENV
2023-02-19 17:42:30 +01:00
David Heinemeier Hansson
11c726858d
Point to where secrets are from
2023-02-19 17:34:49 +01:00
David Heinemeier Hansson
8706fae2b5
Reveal all options in default config
2023-02-19 17:34:06 +01:00
David Heinemeier Hansson
67d6c3acfe
Think we can drop this
...
Now that we rescue at the top level
2023-02-19 17:33:54 +01:00
David Heinemeier Hansson
a5fd4c76ba
No need for invocation
2023-02-19 17:22:03 +01:00
David Heinemeier Hansson
f3a5845501
Remember this
2023-02-19 17:16:14 +01:00
David Heinemeier Hansson
5356f31e2e
Remove also removes accessories but requires confirmation
2023-02-19 17:16:14 +01:00
David Heinemeier Hansson
67cb89b9b9
Remove requires confirmation
2023-02-19 17:16:06 +01:00
David Heinemeier Hansson
0fa70f4688
Stop app before removing it
2023-02-19 17:15:57 +01:00