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
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
Donal McBreen
685312c9f8
Bump version for 2.3.0
v2.3.0
2024-10-31 09:14:29 +00:00
Donal McBreen
ca5e53404b
Merge pull request #1175 from basecamp/proxy-0.8.2
...
Bump proxy minimum version to 0.8.2
2024-10-31 08:13:18 +00:00
Donal McBreen
2c14f48300
Bump proxy minimum version to 0.8.2
...
Detect event-stream content type properly
See: https://github.com/basecamp/kamal-proxy/releases/tag/v0.8.2
2024-10-30 08:06:52 +00:00
dependabot[bot]
cd4e183213
Bump rexml from 3.3.6 to 3.3.9 in the bundler group across 1 directory ( #1173 )
...
Bumps the bundler group with 1 update in the / directory: [rexml](https://github.com/ruby/rexml ).
Updates `rexml` from 3.3.6 to 3.3.9
- [Release notes](https://github.com/ruby/rexml/releases )
- [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md )
- [Commits](https://github.com/ruby/rexml/compare/v3.3.6...v3.3.9 )
---
updated-dependencies:
- dependency-name: rexml
dependency-type: indirect
dependency-group: bundler
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-29 01:39:47 -07:00
David Stosik
7e8a8eb6e5
Remove trailing spaces from deploy.yml template
...
Just a minor cleanup, nothing important.
`git` highlighted these spaces in red in my commit so I thought I'd
remove them.
2024-10-27 23:38:45 +09:00
Donal McBreen
2465681408
Merge pull request #1151 from basecamp/net-ssh-7.3.0
...
Ensure using at least net-ssh 7.3.0
2024-10-25 16:16:18 +01:00
Donal McBreen
b917d7cd40
Merge pull request #1152 from basecamp/skip-log-max-size
...
Allow log max size to not be set
2024-10-25 08:55:18 +01:00
Donal McBreen
1980a79e73
Update lib/kamal/cli/proxy.rb
...
Co-authored-by: Sijawusz Pur Rahnama <sija@sija.pl >
2024-10-25 08:10:25 +01:00
Donal McBreen
347eb69350
Merge pull request #994 from honzasterba/bw_fetch_all_fields
...
[bitwarden] ability to fetch all fields from an item
2024-10-23 16:32:39 +01:00
Donal McBreen
9a8a45015b
Allow log max size to not be set
...
The max-size log opt is not valid for all logging drivers, such as
syslog. Allow the option to be removed from the boot config with:
```
kamal proxy boot_config set --log-max-size=
or
kamal proxy boot_config set --log-max-size=""
```
2024-10-23 15:21:06 +01:00
Donal McBreen
8d0f4903ae
Ensure using at least net-ssh 7.3.0
...
This has support for aes(128|256)gcm ciphers and some fixes for
Ruby 3.3.
2024-10-23 14:58:36 +01:00
Donal McBreen
57d582e3bc
Merge pull request #972 from kohkimakimoto/dev-provenance-flag
...
Add provenance option
2024-10-23 14:07:19 +01:00
Donal McBreen
bf8779cef4
Merge pull request #950 from admtnnr/fix-registry-cache-options
...
builder/cache/options: fix order of build args when using registry
2024-10-23 13:59:59 +01:00
Jan Sterba
7142534e77
[bitwarden] ability to fetch all fields from an item
...
Sometimes a projects has a lot of secrets (more than 10). And its
cumbersome to write $(kama secrets fetch ...) with a lot of field
names.
I want to be able to just fetch all the fields from a given item
and then just use these with $(kamal extract NAME)
2024-10-23 13:28:37 +01:00
Donal McBreen
0f97e0b056
Merge pull request #1114 from alanoliveira/main
...
prevent escape '#' when generating env_file string
2024-10-23 12:35:07 +01:00
Donal McBreen
bd8c35b194
Merge pull request #1020 from igor-alexandrov/network-args
...
Allow to override network
2024-10-23 12:22:36 +01:00
Donal McBreen
35075e2e4d
Merge pull request #1136 from aidanharan/secrets-files-not-found-message
...
Updated secrets error message if secrets files do not exist
2024-10-23 11:14:41 +01:00
Donal McBreen
53dad5f54f
Merge pull request #1121 from kylerippey/adapter-cli-installation-checks
...
Raise meaningful error messages when secret adapter CLIs are not installed
2024-10-23 11:12:50 +01:00
Donal McBreen
66f6e8b576
Merge pull request #1045 from junket/allow-false-env-var-value
...
Allow false env var value
2024-10-23 11:11:43 +01:00
Alan Oliveira
a3f5830728
improve test legibility
2024-10-23 08:06:27 +09:00
Donal McBreen
a3e5505bb2
Merge pull request #1117 from pardeyke/add_proxy_reboot_info
...
Added `kamal proxy reboot` to raised error message
2024-10-22 17:26:36 +01:00
Donal McBreen
fdf8ef1343
Merge pull request #1144 from basecamp/zeitwerk-2.7
...
Require zeitwerk 2.6.18
2024-10-22 15:03:45 +01:00
Donal McBreen
3ee45d7b30
Require zeitwerk 2.6.12
...
We were requiring Zeitwerk 2.5+, but calling eager_load_namespace
which was added in 2.6.2.
Fixes: https://github.com/basecamp/kamal/issues/1109
2024-10-22 13:01:36 +01:00