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
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
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
David Heinemeier Hansson
6bc2def677
No need for invoke
...
No double action possible
2023-02-19 17:15:57 +01:00
David Heinemeier Hansson
42bc691758
CLI doc updates
...
Match word
Language
Suggest what accessories are
There are also accessories
Default already shown
Better example
Warn about secrets being shown
Now also accessories
Wording
Clarifications
Clarify how to see options
General option for all
Options important here too
Hide subcommands
Implied
Simpler as just version
Be concise
Missing word
Wordsmith
Simpler and uniform words are better
Clarify what exactly we're manipulating
Wordsmithing
Implicit
Simpler language
Hide subcommands
Clarify its container management
Just one per server
Simpler
2023-02-19 17:15:44 +01:00
David Heinemeier Hansson
a0d71f3fe4
Protect against missing current version
2023-02-19 09:48:35 +01:00
David Heinemeier Hansson
389ce2f701
Only output if there's a failure
2023-02-19 09:36:04 +01:00
David Heinemeier Hansson
8e918b1906
Output logs when healthcheck fails
2023-02-19 09:33:49 +01:00
David Heinemeier Hansson
933ece35ab
Add healthcheck before deploy
2023-02-18 16:22:08 +01:00
David Heinemeier Hansson
2e06bf59a4
Protect against rolling back to a bad version
2023-02-18 14:33:47 +01:00
David Heinemeier Hansson
854795c2b6
Wording
2023-02-18 12:10:42 +01:00
David Heinemeier Hansson
4fe7fb705a
Use same sentence style as broadcasts for audit log lines
2023-02-18 12:00:15 +01:00
David Heinemeier Hansson
2dcd76b2de
Merge branch 'main' into audit-broadcasts
...
* main:
Remove unnecessary audit recordings
2023-02-18 11:38:34 +01:00
David Heinemeier Hansson
a6eabd0b67
Remove unnecessary audit recordings
2023-02-18 11:36:52 +01:00
David Heinemeier Hansson
fb9357b5ba
Add audit broadcasts
2023-02-18 11:36:30 +01:00
Farah Schüller
03328a998c
Adjust CLI description for prune command to mention 7 days
2023-02-14 17:05:36 +01:00
David Heinemeier Hansson
4f2cb5e184
Shorter
2023-02-11 13:00:22 +01:00
David Heinemeier Hansson
63a065237a
Ensure .env file is only accessible to user
2023-02-11 12:56:57 +01:00
David Heinemeier Hansson
18bdb33de2
Fix issue with removing containers triggering twice, then ensure app stop runs closer to app run on each host
2023-02-07 15:05:58 +01:00
David Heinemeier Hansson
cb9f57356e
Load destination ENV file also
2023-02-05 17:52:57 +01:00
David Heinemeier Hansson
02a5726072
Allow destination specific envifying
2023-02-05 16:35:37 +01:00
David Heinemeier Hansson
e865e823d5
Add envify for managing .env file
2023-02-05 16:30:56 +01:00
David Heinemeier Hansson
10cad5c459
Create binstub without bundler, document it all agnostically
...
You can use MRSK with something other than Rails.
2023-02-05 16:23:34 +01:00
David Heinemeier Hansson
6f1a3f5524
Don't need this, just use containers
2023-02-04 10:16:24 +01:00
David Heinemeier Hansson
7077da5a64
Spacing
2023-02-04 10:15:43 +01:00
Xavier Noria
539752e9bd
Load with Zeitwerk
2023-02-03 22:45:12 +01:00
David Heinemeier Hansson
3daecf696a
Extract proper auditor and audit everything
2023-02-03 20:45:32 +01:00
David Heinemeier Hansson
497c57e3e5
Style
2023-02-03 20:44:43 +01:00
David Heinemeier Hansson
b964e04f93
Bring accessory execution in line with app
2023-02-03 17:24:36 +01:00
David Heinemeier Hansson
1fb2c71f65
Follow same dot style
2023-02-03 17:22:55 +01:00
David Heinemeier Hansson
3c1053fedd
Clarify exec modes and drop tailored versions
2023-02-03 16:07:25 +01:00
David Heinemeier Hansson
a3d998508b
Proper versioning for console and bash
2023-02-03 15:16:40 +01:00
David Heinemeier Hansson
3d71ecdf80
Only say if you're going to do it
2023-02-03 15:16:30 +01:00
David Heinemeier Hansson
7621784235
Bring back regular version with narration
2023-02-03 15:05:34 +01:00
David Heinemeier Hansson
687b8c9def
Rely on shared --version
2023-02-03 14:41:39 +01:00
David Heinemeier Hansson
13d4eb4017
Narrate multi-stage actions
2023-02-03 14:41:30 +01:00
David Heinemeier Hansson
78f0be9c76
Only multi-stage actions should talk
2023-02-03 14:33:49 +01:00
David Heinemeier Hansson
839a0df40e
Boot now does its own stopping
2023-02-03 14:31:56 +01:00
David Heinemeier Hansson
74c493def4
Don't actually need reboot now that boot can do that
2023-02-03 14:31:11 +01:00