Samuel Sieg
46dad1ee6c
Add tests for main CLI commands
2023-03-14 15:58:12 +01:00
Samuel Sieg
5010850b86
Merge branch 'main' into deploy-without-build-push
2023-03-13 16:10:31 +01:00
Samuel Sieg
c29d1ddeba
Fix
2023-03-13 16:05:21 +01:00
Samuel Sieg
cb15800d25
Move option to deploy/redeploy, rename to skip-push
2023-03-13 16:02:24 +01:00
Samuel Sieg
47af6d9483
Is a global option better?
2023-03-12 10:53:29 +01:00
Samuel Sieg
ff0170076e
Simplify
2023-03-12 10:44:33 +01:00
Samuel Sieg
9b39f2f3ab
Keep it simple for the proposal
2023-03-12 10:41:04 +01:00
Chris Lowder
f26beeaa9f
Update accessory remove description and warning
...
Make it clear the accessory's data directory will also be removed.
2023-03-10 20:51:14 +00:00
Samuel Sieg
4bf77ccd1b
Allow deploy/deliver without building and pushing the image
2023-03-10 11:26:35 +01:00
David Heinemeier Hansson
3026a92c98
Merge pull request #71 from tbuehlmann/destination-awareness
...
Destination aware container names
2023-03-09 13:25:49 +00:00
Martin Bjeldbak Madsen
96180f9bd0
Fix syntax error in docker install exec
2023-03-09 22:34:11 +11:00
David Heinemeier Hansson
3457c3f606
Style
2023-03-08 18:05:00 +01:00
Tobias Bühlmann
8b913068de
Add destination to healthcheck containers names
2023-03-06 16:54:13 +01:00
Simon Rand
9ae3886b2b
Ensure curl is installed during bootstrapping
2023-03-05 16:51:07 +00: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
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
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