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
Axel Gustav
a1596af815
Bump proxy minimum version to 0.8.3
2024-11-26 09:55:21 -04:00
Donal McBreen
69867e2650
Merge pull request #981 from igor-alexandrov/proxy-accessories
...
Proxy for accessories
2024-11-26 09:51:22 +00: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
8a7843cb35
Allow running the CI manually
2024-11-23 21:45:51 +01: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
4d8241ebab
Fixed kamal-proxy remove command
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
aa2906086a
Added host to the expected accessory deploy command result
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
Ali Ismayilov
ac90ee068f
Prefer dasherized notation
2024-11-21 18:54:34 +01:00
Ali Ismayilov
75b44cd328
Capture logs for specific container_id
2024-11-21 18:54:34 +01:00
Ali Ismayilov
183fe9e06e
Follow logs of a specific container
2024-11-21 18:05:56 +01:00
Ali Ismayilov
1da882bb01
Enable logging on app exec new containers
2024-11-21 18:05:55 +01:00
Ali Ismayilov
c662b8d578
Make --detach incompatible with reuse or interactive
2024-11-21 18:05:55 +01:00
Ali Ismayilov
dbe0c3a7f8
Allow running detached app commands
...
this is useful for long running rake tasks or scripts
that can be run without having to keep open connection to the server.
Example:
```
kamal app exec 'bin/rails db:backfill_task' --detach
```
2024-11-21 18:05:55 +01:00
Donal McBreen
b9804a07aa
Merge pull request #1239 from matjack1/output-accessory
...
Add support for exec output in accessories
2024-11-21 16:57:17 +00:00
Donal McBreen
f4d98bb67a
Merge pull request #1225 from matthewbjones/feature/sbom-attestations
...
Adds support for SBOM attestations
2024-11-21 16:21:41 +00:00
Donal McBreen
42c3425411
Merge pull request #1235 from basecamp/support-line-filtering
...
Support line filtering when running tests
2024-11-21 15:26:25 +00:00
Donal McBreen
57e48a33bb
Merge pull request #1141 from justindell/feat-add-aws-secrets-manager-adapter
...
feat: add secrets adapter for aws secrets manager
2024-11-21 15:03:54 +00:00
Donal McBreen
4acb78fff6
Merge pull request #1099 from mrbongiolo/feat-secrets-add-doppler-adapter
...
feat(secrets): add Doppler adapter
2024-11-21 15:03:36 +00:00
Donal McBreen
1a86b3ae6e
Merge pull request #1196 from tiramizoo/role-accessories-msg
...
Improve error on unknown role in accessories config.
2024-11-21 15:02:48 +00:00
Donal McBreen
a4ab34d8d9
Merge pull request #1170 from davidstosik/sto/spaces
...
Remove trailing spaces from deploy.yml template
2024-11-21 14:52:35 +00:00
Donal McBreen
24d03fd60e
Merge pull request #1105 from igor-alexandrov/ruby-version-example
...
Updated deploy.yml template to fetch the Ruby version automatically
2024-11-21 14:50:11 +00:00
Matteo Giaccone
83fd2a051d
Add support for exec output in accessories
...
When running accessory exec now you get the output from the hosts.
Also you can pass commands with arguments and it will work
e.g.: cat yourfilename
2024-11-21 11:06:36 +01:00
Lewis Buckley
72f30774ba
Support line filtering when running tests
2024-11-20 11:56:58 +00:00
Federico
3fa9cd5a41
Make kamal use ssh keys from config when performing commands
2024-11-19 11:38:42 +01:00
Matthew Jones
c970ceebe3
Adds support for SBOM attestations
2024-11-18 13:01:53 -07:00
Ralf Schmitz Bongiolo
8dd864af89
refactor(secrets): adapter/test_optional_account inherit from adapter/test
2024-11-05 14:14:18 -04:00
Wojciech Wnętrzak
e4ab2a0d24
Improve error on unknown role in accessories config.
...
Previously when unknown role (or with typo) was placed in accessories.roles,
this error was thrown: `ERROR (NoMethodError): undefined method `hosts' for nil`.
2024-11-05 14:42:17 +01:00
Ralf Schmitz Bongiolo
3069552315
feat(secrets): update doppler adapter to use --from option and DOPPLER_TOKEN env
2024-11-04 19:00:38 -04:00
Ralf Schmitz Bongiolo
77cd29f5ad
feat(cli): update secrets --account flag as optional depending on adapter
2024-11-04 18:59:37 -04:00
Ralf Schmitz Bongiolo
d0d9dfcba9
Merge branch 'basecamp:main' into main
2024-11-04 16:26:12 -04:00
Justin Dell
b4d395cec9
shell escape account name in cli command
2024-11-04 09:46:45 -06:00
Justin Dell
e266945413
implement check_dependencies!
2024-11-04 09:18:56 -06:00
Justin Dell
c9fff3cb40
rename secretsmanager to secrets manager
2024-11-04 09:14:47 -06:00
Justin Dell
cef1e53f84
Merge branch 'basecamp:main' into feat-add-aws-secrets-manager-adapter
2024-11-04 09:06:04 -06:00
Donal McBreen
9cf8da64c4
Merge pull request #1193 from basecamp/filter-by-no-destination
...
Filter correctly for empty destinations
2024-11-04 11:14:42 +00:00
Donal McBreen
e9ba92386c
Filter correctly for empty destinations
...
An empty destination should only filter container with empty
destination, not pick up all containers.
Fixes: https://github.com/basecamp/kamal/issues/1184
2024-11-04 11:05:24 +00:00