Ivan Yurchanka
7627f74e45
Handle parentheses in variables in commands
2025-01-08 17:13:10 +01:00
Guillaume Briday
2b9d5c2b19
Fixing log command on role
2025-01-02 22:51:01 +01:00
Pavel Shpak
d59c274208
Fix typo in configuration initializer method.
2024-12-22 04:37:15 +02:00
Pavel Shpak
bd8689c185
Fix bug in role validate_servers.
...
There were typo-bug during `validate_servers!` invocation for role.
It wasn't discovered, because it never met condition. Because role_config wasn't correctly extracted for validation.
Also remove not used anymore `accessories_on`. Leftover from previous changes.
2024-12-22 03:28:12 +02:00
Pavel Shpak
b5aee11a40
[Feature] Add optional accessory registry.
...
Add test cases to cover new option.
2024-12-22 02:50:53 +02:00
Mike Moore
89db5025a0
Configure Thor to "exit on failure".
2024-12-19 09:28:37 -07:00
Piotrek O
c56edba4a9
Boot proxy on server setup
2024-12-18 11:35:57 +01:00
Donal McBreen
1547089da0
Bump version for 2.4.0
2024-12-13 12:38:26 +00:00
Donal McBreen
ae7a4f3411
Update yml files to match doc site changes
2024-12-13 12:27:22 +00:00
Donal McBreen
77c202ebaf
Highlight ssl/forward_headers behaviour
...
Pulled in from: https://github.com/basecamp/kamal-site/pull/141
2024-12-13 12:20:05 +00:00
Donal McBreen
3e4a190173
Fix for Dotenv 3.1.5
...
In Dotenv 3.1.5, `Dotenv.parse` no longer returns values that are
already in the environment.
See https://github.com/bkeepers/dotenv/issues/518
We can get the values though by setting overwrite: true, which works
with both 3.1.4 and 3.1.5.
2024-12-13 10:42:02 +00:00
Donal McBreen
d9c25533e4
Merge pull request #1292 from nickhammond/aws-secrets-manager-simple
...
Aws secrets manager simple strings and error checking
2024-12-13 09:45:52 +00:00
Nick Hammond
84a874e63b
Update secrets manager spec to render multiple errors
2024-12-12 05:15:52 -07:00
Nick Hammond
ba567e0474
Just map the secrets returned from AWS
2024-12-12 05:09:12 -07:00
Nick Hammond
e464177349
Check for errors from AWS secrets manager
2024-12-12 04:58:53 -07:00
Nick Hammond
55983c6431
AWS secrets manager value can be a string
2024-12-12 04:10:48 -07:00
Nick Hammond
b2cf3f33a7
Remove the alias for grep_options, issues processing with thor
2024-12-12 03:47:25 -07:00
Jeremy Daer
16fb3adacb
No need for IO.read for basic file paths
...
References 3cad095 , e1d5182
2024-12-10 16:08:58 -08:00
Jeremy Daer
407c8b834e
Simplify hostname trimming. References #762 .
2024-12-10 15:57:30 -08:00
André Laszlo
8103d68688
Shellescape all interpolated strings in commands
2024-12-06 17:43:47 +01:00
André Laszlo
eb82b4a753
Keep the 'default' prefix for secret items
2024-12-06 17:40:08 +01:00
André Laszlo
19b4359b17
Use a nil session
2024-12-06 17:32:31 +01:00
André Laszlo
ea170fbe5e
Run gcloud auth login if user is not authenticated
2024-12-06 17:22:03 +01:00
André Laszlo
18f2aae936
Simplify parsing by changing account separators
2024-12-06 17:15:22 +01:00
André Laszlo
e314f38bdc
Merge remote-tracking branch 'origin/main' into gcp_secret_manager_adapter
2024-12-06 17:08:26 +01:00
Matthew Croall
1c8a56b8cf
Change invalid publish ip exception class
2024-12-04 10:44:16 +10:30
Matthew Croall
e597ae6155
Add support for multiple publish ip addresses
2024-12-04 10:42:50 +10:30
Omid Andalib
aa9fe4c525
feat: add Bitwarden Secrets Manager adapter
2024-12-03 00:41:16 -08:00
Matthew Croall
0bafa02e7d
Rename proxy bind cli argument to publish_host_ip
2024-12-03 08:13:20 +10:30
Matthew Croall
ffe1ac3483
Refactor proxy_publish_args argument concatenation
2024-12-03 08:11:19 +10:30
Donal McBreen
2386c903ca
Update to proxy version 0.8.4
...
Release: https://github.com/basecamp/kamal-proxy/releases/tag/v0.8.4
- Silence late healthcheck requests
2024-12-02 10:37:07 +00:00
Donal McBreen
fbc4515888
Merge pull request #906 from aliismayilov/detached-run
...
Allow running detached app commands and follow logs by container ID
2024-12-02 10:22:45 +00:00
Donal McBreen
99829092b3
Merge pull request #1229 from matjack1/use-ssh-keys-when-executing-commands
...
[FIX] - Make kamal use ssh keys from config when performing commands
2024-12-02 09:59:03 +00:00
Donal McBreen
084d1d4a1d
Merge pull request #1253 from AxelTheGerman/proxy-0.8.3
...
Bump proxy minimum version to 0.8.3
2024-12-02 09:54:33 +00:00
Matthew Croall
11e4f37409
Add proxy boot_config --publish-ip argument
2024-11-30 11:10:49 +10:30
André Laszlo
b87bcae6a3
Merge remote-tracking branch 'origin/main' into gcp_secret_manager_adapter
2024-11-27 13:42:21 +01:00
André Laszlo
0c9a367efc
Remove overly generic 'secret_manager' alias
2024-11-27 13:33:04 +01:00
Axel Gustav
a1596af815
Bump proxy minimum version to 0.8.3
2024-11-26 09:55:21 -04:00
Igor Alexandrov
eee47d10ee
Added an integration test for proxied accessory using Busybox and netcat
2024-11-26 13:34:51 +04:00
Ali Ismayilov
1cc5406b00
Pipe app container id
2024-11-23 21:37:58 +01:00
Matteo Giaccone
e31b98539c
Avoid string mutation
...
For Ruby 3.4
2024-11-22 09:57:45 +01:00
Igor Alexandrov
f367ca8ea5
Replaced Kamal::Commands::Proxy::Exec with Kamal::Commands::App::Proxy and Kamal::Commands::Accessory::Proxy
2024-11-21 23:08:03 +04:00
Igor Alexandrov
14068b32b1
Added alias to accessories proxy configuration example
2024-11-21 22:38:06 +04:00
Igor Alexandrov
f52826b2d6
Updated accessory proxy to support hosts option
2024-11-21 22:23:56 +04:00
Igor Alexandrov
9204624752
Removed duplicated method
2024-11-21 22:23:56 +04:00
Igor Alexandrov
006fa0de17
Extracted proxy commands to a module
2024-11-21 22:23:56 +04:00
Igor Alexandrov
86657b0172
Fixed kamal-proxy remove command
2024-11-21 22:23:56 +04:00
Igor Alexandrov
f4b7c886fb
Added tests for accessory deploy and remove commands
2024-11-21 22:23:56 +04:00
Igor Alexandrov
4c778de2d9
Added tests for accessory configuration with proxy
2024-11-21 22:23:56 +04:00
Igor Alexandrov
70d2c71734
Added commands to deploy accessory to kamal-proxy
2024-11-21 22:23:56 +04:00