David Heinemeier Hansson
f3e3196ce5
Not that --bundle is a Rails 7+ option
2023-04-10 14:22:58 +02:00
Ruslan Gainutdinov
fca5b11682
Update README.md
...
Use docker.io on Ubuntu
2023-04-10 12:26:57 +03:00
Ruslan Gainutdinov
d09cddde8d
Update README.md
...
Add sample commands to bootstrap non-root ssh server.
2023-04-10 12:23:06 +03:00
Arturo Ojeda
3969f56fa6
Improved: configurable max_attempts for healthcheck
2023-04-09 12:07:27 -06:00
Kartikey Tanna
c60cc92dfe
Traefik service name to be derived from role and destination
2023-04-09 13:44:57 +05:30
Arturo Ojeda
cb3c5a53f4
Configurable max_attempts for healthcheck
2023-04-08 19:52:53 -06:00
Nick Hammond
ef04410d77
Add github discussions link to readme
...
I realize that there's a discussions link on github but I didn't realize mrsk actually utilized it until I saw it mentioned on Discord. I was thinking adding it to the readme would help push people there.
2023-04-08 13:33:31 -07:00
Jeremy Daer
bd8f13dd5e
Traefik image config for version pinning, upgrades, and custom images
...
Accounts for the 2.9.10 security release and allows testing Traefik 3 betas.
* Use `image` to configure a specific Traefik Docker image.
* Default to `traefik:v2.9` to track future 2.9.x minor releases rather
than tightly pinning to `v2.9.9`.
* Support images from the configured registry.
References #165
2023-04-07 14:15:25 -07:00
David Heinemeier Hansson
2146f6d0ec
Merge pull request #182 from basecamp/sensitive-args
...
Only redact the non-sensitive bits of build args and env vars.
2023-04-06 16:19:41 +02:00
David Heinemeier Hansson
52d8c112d3
Merge branch 'main' into pr/182
...
* main:
Bump debug to fix missing deps in CI
2023-04-06 16:18:22 +02:00
David Heinemeier Hansson
c9afd66222
Merge pull request #184 from basecamp/fix-ci
2023-04-06 13:21:26 +02:00
Jeremy Daer
36c458407f
Bump debug to fix missing deps in CI
2023-04-05 12:00:15 -07:00
Jeremy Daer
c137b38c87
Only redact the non-sensitive bits of build args and env vars.
...
* `-e [REDACTED]` → `-e SOME_SECRET=[REDACTED]`
* Replaces `Utils.redact` with `Utils.sensitive` to clarify that we're
indicating redactability, not actually performing redaction.
* Redacts from YAML output, including `mrsk config` (fixes #96 )
2023-04-05 09:45:28 -07:00
David Heinemeier Hansson
f851d6528d
Merge pull request #169 from ncreuschling/patch-1
...
improve code sample (traefik configuration)
2023-04-05 16:31:10 +02:00
Dilpreet Singh
12632aa7f9
Enable ssh over proxy command
2023-04-03 17:14:06 +05:30
Nicolai Reuschling
2f97bc488f
improve code sample (traefik configuration)
...
fixed yaml format (code sample traefik configuration)
2023-03-31 11:50:43 +02:00
David Heinemeier Hansson
032266a76a
Bump version for 0.10.1
v0.10.1
2023-03-29 16:23:58 +02:00
David Heinemeier Hansson
33cc6c8bae
Merge pull request #166 from calmyournerves/exit-code
...
Set proper exit code on failure
2023-03-29 16:21:54 +02:00
Samuel Sieg
5638ab8594
Set proper exit code on failure
2023-03-29 13:47:34 +02:00
David Heinemeier Hansson
60916cdac3
Bump version for 0.10.0
v0.10.0
2023-03-28 18:05:46 +02:00
David Heinemeier Hansson
1f83b5f6be
Fix failure to pass on class options to subcommands
2023-03-28 18:04:16 +02:00
David Heinemeier Hansson
070c6e8e75
Merge pull request #165 from basecamp/pin-traefik-version
...
Pin Traefik to v2.9.9
2023-03-28 16:27:49 +02:00
Kevin McConnell
2957388bf6
Pin Traefik to v2.9.9
2023-03-28 14:59:03 +01:00
David Heinemeier Hansson
7f178101f7
Merge pull request #164 from basecamp/accessory-hosts-or-roles
...
Run accessories on multiple hosts or roles
2023-03-28 14:31:24 +02:00
David Heinemeier Hansson
aed345466f
Dropped "all"
2023-03-28 14:28:54 +02:00
Donal McBreen
c06585fef4
Daemon/host/role accessories
...
Allow the hosts for accessories to be specified by host or role, or on
all app hosts by setting `daemon: true`.
```
# Single host
mysql:
host: 1.1.1.1
# Multiple hosts
redis:
hosts:
- 1.1.1.1
- 1.1.1.2
# By role
monitoring:
roles:
- web
- jobs
```
2023-03-28 13:26:27 +01:00
David Heinemeier Hansson
fd5313ec3e
Merge pull request #163 from milk1000cc/rolify-app-logs
...
Rolify app logs cli/command
2023-03-28 14:13:02 +02:00
David Heinemeier Hansson
4184d3204e
Merge pull request #161 from tbuehlmann/push-latest-image
...
Push <image>:latest in addition to <image>:<git-ref>
2023-03-28 14:09:32 +02:00
milk1000cc
15a41d3fd8
Follow web role logs when no roles are specified
2023-03-28 09:02:42 +09:00
milk1000cc
03614bfb79
Rolify app logs cli/command
2023-03-27 23:08:46 +09:00
Tobias Bühlmann
078d68b170
Push <image>:latest in addition to <image>:<git-ref>
2023-03-27 12:52:11 +02:00
David Heinemeier Hansson
cec82ac641
Merge pull request #158 from basecamp/zero-downtime-redeploys
2023-03-24 18:27:29 +01:00
Donal McBreen
05488e4c1e
Zero downtime redeploys
...
When deploying check if there is already a container with the existing
name. If there is rename it to "<version>_<random_hex_string>" to remove
the name clash with the new container we want to boot.
We can then do the normal zero downtime run/wait/stop.
While implementing this I discovered the --filter name=foo does a
substring match for foo, so I've updated those filters to do an exact
match instead.
2023-03-24 17:09:20 +00:00
David Heinemeier Hansson
01a2b678d7
Merge pull request #154 from basecamp/lock-deploys
...
Deploy locks
2023-03-24 15:50:33 +01:00
David Heinemeier Hansson
84540cee7b
Merge branch 'main' into pr/154
...
* main: (32 commits)
Inline default as with other options
Symbols!
Fix tests
test stop with custom stop wait time
No need to replicate Docker default
Describe purpose rather than elements
Style and ordering
Customizable stop wait time
Fix tests
Ensure it also works when configuring just log options without setting a driver
Add accessory test
Undo change
Improve test
Update README
Ensure default log option `max-size=10m`
#142 Allow to customize container options in accessories
Fix flaky test
Fix tests
More resilient tests
Fix other tests
...
2023-03-24 15:43:17 +01:00
David Heinemeier Hansson
5bbb4aeb58
Merge pull request #131 from calmyournerves/global-logging-config
...
Global logging configuration
2023-03-24 15:36:11 +01:00
David Heinemeier Hansson
6a27a46e5f
Inline default as with other options
2023-03-24 15:34:34 +01:00
David Heinemeier Hansson
b5ccc1fa5d
Merge branch 'main' into global-logging-config
2023-03-24 15:32:41 +01:00
David Heinemeier Hansson
e2e5e18af9
Merge pull request #155 from basecamp/gracefully-shut-down-containers
...
Customizable stop wait time
2023-03-24 15:31:14 +01:00
David Heinemeier Hansson
4fa71834ad
Symbols!
2023-03-24 15:27:11 +01:00
David Heinemeier Hansson
65663ae2ea
Merge branch 'main' into pr/155
...
* main:
Describe purpose rather than elements
Style and ordering
#142 Allow to customize container options in accessories
2023-03-24 15:25:45 +01:00
Samuel Sieg
4044abdde1
Fix tests
2023-03-24 15:25:29 +01:00
Samuel Sieg
bc64a07a95
Merge branch 'main' into global-logging-config
2023-03-24 15:24:06 +01:00
David Heinemeier Hansson
fdb2502216
test stop with custom stop wait time
2023-03-24 15:22:34 +01:00
David Heinemeier Hansson
a9bb8d7376
No need to replicate Docker default
2023-03-24 15:18:18 +01:00
David Heinemeier Hansson
53095a053e
Describe purpose rather than elements
2023-03-24 15:16:38 +01:00
David Heinemeier Hansson
4ab5199853
Style and ordering
2023-03-24 15:16:15 +01:00
David Heinemeier Hansson
348f5844d5
Merge pull request #153 from javierav/feature/accessory-options
...
#142 Allow to customize container options in accessories
2023-03-24 15:09:12 +01:00
Jacopo
9b43a6b23b
Customizable stop wait time
...
Configurable via a global `stop_wait_time` option.
The default is `10` which matches Docker defaults.
2023-03-24 15:04:45 +01:00
David Heinemeier Hansson
1f196045a9
Merge pull request #99 from tbuehlmann/role-awareness
...
Role aware container names
2023-03-24 15:01:34 +01:00