Kartikey Tanna
c59eb00dd0
Labels can be added to Traefik
2023-04-12 14:53:48 +05:30
David Heinemeier Hansson
ab54dbdb8b
Merge pull request #206 from tannakartikey/traefik_rule_docs
...
Explained the latest modifications of Traefik container labels
2023-04-11 14:18:31 +02:00
David Heinemeier Hansson
ac3771447a
Merge pull request #203 from matharvard/main
...
Require net-ssh ~> 7.0 for SHA-2 support
2023-04-11 14:17:52 +02:00
David Heinemeier Hansson
daa0c9b5be
Merge pull request #196 from handy-la/main
...
Configurable max_attempts for healthcheck
2023-04-11 14:17:17 +02:00
Kartikey Tanna
d3936363d0
Explained the latest modifications of Traefik container labels
2023-04-11 10:20:16 +05:30
Arturo Ojeda
cfc8fa0590
Remove .idea folder
2023-04-10 22:33:20 -06:00
Arturo Ojeda
161ebe4bc1
Updated README.md with new healthcheck.max_attempts option
2023-04-10 22:26:10 -06:00
Arturo Ojeda
514b2aa243
Fix test case: console output message was not updated to display the current/total attempts
2023-04-10 09:29:19 -06:00
David Heinemeier Hansson
18031bc552
Merge pull request #202 from basecamp/deploy-lock-acquisition
...
Improved deploy lock acquisition
2023-04-10 16:42:03 +02:00
Mat Harvard
d8c61004e4
Require net-ssh ~> 7.0 for SHA-2 support
...
Versions of net-ssh before 7.0 do not support the SHA-2 algorithm and result in mrsk not being able to connect to hosts using keys generated with it. net-ssh is also a dependency of sshkit, however, sshkit has a version requirement of >= 2.8.0 for net-ssh, so is not effective at ensuring mrsk has the version it needs to be the most compatible.
2023-04-10 07:29:07 -07:00
Donal McBreen
c4df440c79
Improved deploy lock acquisition
...
1. Don't raise lock error for non-lock issues during lock acquire
(see https://github.com/mrsked/mrsk/pull/181 )
2. If there is an error while the lock is held, don't release the lock
and send a warning to stderr
2023-04-10 15:23:00 +01:00
David Heinemeier Hansson
fb1718ca6d
Merge pull request #197 from tannakartikey/traefik_rules_with_destination
...
Traefik service name to be derived from role and destination
2023-04-10 15:11:07 +02:00
David Heinemeier Hansson
7d17a6c3b5
Excess CR
2023-04-10 15:10:08 +02:00
David Heinemeier Hansson
f4133de896
Merge pull request #176 from dilpreet92/enable_ssh_over_proxy_command
...
Enable ssh over proxy command
2023-04-10 14:41:45 +02:00
David Heinemeier Hansson
a9488e935d
Style
2023-04-10 14:39:18 +02:00
David Heinemeier Hansson
ac61528dfc
Merge pull request #189 from basecamp/traefik-image
...
Traefik image config for version pinning, upgrades, and custom images
2023-04-10 14:35:30 +02:00
David Heinemeier Hansson
0eb7a8d087
Merge branch 'main' into pr/176
...
* main:
Simpler
Make it explicit, focus on Ubuntu
More explicit
Not that --bundle is a Rails 7+ option
Update README.md
Update README.md
Add github discussions link to readme
Bump debug to fix missing deps in CI
Only redact the non-sensitive bits of build args and env vars.
improve code sample (traefik configuration)
2023-04-10 14:31:43 +02:00
David Heinemeier Hansson
7559f439e9
Merge pull request #195 from nickhammond/patch-1
...
Add github discussions link to readme
2023-04-10 14:28:59 +02:00
David Heinemeier Hansson
54a5b90d8f
Simpler
2023-04-10 14:28:52 +02:00
David Heinemeier Hansson
a245adfad2
Merge pull request #200 from huksley/main
...
Add sample commands to bootstrap non-root ssh server
2023-04-10 14:27:13 +02:00
David Heinemeier Hansson
f386c3bdab
Make it explicit, focus on Ubuntu
2023-04-10 14:26:49 +02:00
David Heinemeier Hansson
2a3e576182
More explicit
2023-04-10 14:24:51 +02:00
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