Nick Pezza
a1e40f9fec
Update to be able to run on 3.4 with frozen strings ( #1080 )
...
* Update to be able to run on 3.4 with frozen strings
---------
Co-authored-by: Jeremy Daer <jeremydaer@gmail.com >
Co-authored-by: Sijawusz Pur Rahnama <sija@sija.pl >
2024-10-09 21:11:06 -04:00
Donal McBreen
3654a7e1be
Bump version for 2.2.1
v2.2.1
2024-10-09 14:46:44 -04:00
Donal McBreen
6a7783c979
Merge pull request #1086 from basecamp/proxy-1.8.1
...
Bump proxy to version 0.8.1
2024-10-09 14:46:09 -04:00
Donal McBreen
7dc2609b77
Merge pull request #1082 from graysonchen/patch-1
...
ERROR (ArgumentError): Unknown boot_config subcommand clear
2024-10-09 14:03:07 -04:00
Donal McBreen
74960499c0
Bump proxy to version 0.8.1
...
Fixes issue where incorrect status code may be returned when buffering
responses.
https://github.com/basecamp/kamal-proxy/releases/tag/v0.8.1
2024-10-09 14:00:38 -04:00
Grayson Chen
50c96e36c0
typo clear change to reset
...
kamal proxy boot_config clear
ERROR (ArgumentError): Unknown boot_config subcommand clear
2024-10-09 00:11:54 +08:00
Donal McBreen
7b48648bf2
Bump version for 2.2.0
v2.2.0
2024-10-08 08:59:23 -04:00
Donal McBreen
91df935d05
Merge pull request #1076 from basecamp/active-support-require-for-to-sentence
...
Add Active Support require for to_sentence
2024-10-08 07:46:53 -04:00
Donal McBreen
bbfcbfa94b
Merge pull request #1064 from basecamp/kamal-proxy-0.8.0
...
Update to kamal-proxy 0.8.0
2024-10-08 07:42:48 -04:00
Donal McBreen
440044b900
Merge pull request #1072 from basecamp/proxy-default-10m-logs
...
Default to keeping 10m of proxy logs
2024-10-08 07:35:38 -04:00
Donal McBreen
06419f8749
Add Active Support require for to_sentence
...
Fixes: https://github.com/basecamp/kamal/issues/1061
2024-10-08 07:33:03 -04:00
Donal McBreen
67ce1912f7
Default to keeping 10m of proxy logs
...
Match the defaults for the application containers of 10m of logs.
Allow them to be altered with the proxy boot_config set command.
2024-10-07 16:20:40 -04:00
Donal McBreen
a434b10bfd
Update to kamal-proxy 0.8.0
...
Proxy changes:
- Add option to use custom TLS certificates (#17 )
- Don't buffer SSE responses (#36 )
- Allow routing to wildcard subdomains (#45 )
Custom TLS certificates not supported in Kamal itself yet. Buffering
SSE responses and wildcard subdomains will work without any Kamal
changes.
2024-10-06 13:48:00 -04:00
Donal McBreen
e34031f70c
Bump version for 2.1.2
v2.1.2
2024-10-06 13:40:53 -04:00
Donal McBreen
23898a5197
Merge pull request #1062 from basecamp/skip-proxy-flag-ssl-false
...
Skip setting the proxy flag when ssl is false
2024-10-06 18:32:45 +01:00
Donal McBreen
1e9c9e9103
Skip setting the proxy flag when ssl is false
...
Fixes: https://github.com/basecamp/kamal/issues/1037
2024-10-06 13:22:43 -04:00
David Heinemeier Hansson
4b2c9cdc72
Merge pull request #1026 from ehutzelman/patch-1
...
Update init description for kamal secrets
2024-10-05 01:54:08 +02:00
David Heinemeier Hansson
80191588c2
Merge pull request #1050 from tiramizoo/template-docker-setup
...
Update sample template for docker setup hook.
2024-10-05 01:46:09 +02:00
David Heinemeier Hansson
5ca806f4d3
Merge pull request #1054 from tuladhar/cloudflare-ssl
...
Clarify SSL comment when using Cloudflare
2024-10-04 21:03:23 +02:00
Puru
1d04a6644f
Clarify SSL comment when using Cloudflare
2024-10-05 00:45:04 +05:45
Wojciech Wnętrzak
950624d667
Update sample template for docker setup hook.
...
"kamal" network is already created (in v2.0) so the sample code is
no longer accurate.
2024-10-04 09:27:17 +02:00
David Heinemeier Hansson
81f3508507
Bump version for 2.1.1
v2.1.1
2024-10-03 11:39:56 -07:00
David Heinemeier Hansson
9a16873f21
Merge pull request #1035 from basecamp/fix-kamal-setup-on-accessory-hosts
...
Restore kamal setup to accessory hosts
2024-10-03 19:25:33 +02:00
David Heinemeier Hansson
e5ca53db6e
Use new deploy config so as not to update all other tests
2024-10-02 17:34:13 -07:00
David Heinemeier Hansson
82a436fa02
Rubocop
2024-10-02 17:07:51 -07:00
David Heinemeier Hansson
7be2e7e0ba
Test accessory_hosts with roles and without filtering
2024-10-02 17:03:30 -07:00
David Heinemeier Hansson
4f7ebd73a3
Specifics#accessory_hosts was being filtered out by role host check
2024-10-02 16:30:32 -07:00
Donal McBreen
279bda2770
Bump version for 2.1.0
v2.1.0
2024-10-02 11:35:45 +01:00
Donal McBreen
aa15fa532a
Merge pull request #1024 from jeromedalbert/follow-primary-role
...
Follow logs on primary role by default
2024-10-02 09:29:16 +01:00
Donal McBreen
276b469c2b
Merge pull request #1019 from nickhammond/ENV/destination
...
Set KAMAL_DESTINATION when loading config
2024-10-02 09:28:01 +01:00
Donal McBreen
c10b3fb07a
Merge pull request #908 from basecamp/ignorable-ssh-config
...
SSH: allow setting `config: false` to ignore local user `~/.ssh/config`
2024-10-02 08:28:57 +01:00
Eric Hutzelman
0ff1450a74
Update init description for kamal secrets
...
No longer uses .env stub, replace with secrets stub in .kamal directory.
2024-10-01 18:49:08 -05:00
Jerome Dalbert
f47fd13e5b
Follow logs on primary role by default
...
Do not default `kamal app logs -f` to use the hardcoded “web” role;
instead use the primary role, which can be different from “web”.
2024-10-01 13:51:09 -07:00
Nick Hammond
1d8c40f5d2
Run RC
2024-10-01 08:20:21 -07:00
Nick Hammond
73c78079bc
Set KAMAL_DESTINATION when loading config
2024-10-01 08:16:52 -07:00
Donal McBreen
cd12f95a97
Merge pull request #1018 from basecamp/kamal-proxy-deploy-equals-in-args
...
Use `=` in kamal-proxy deploy command args
2024-10-01 15:51:43 +01:00
Donal McBreen
641e9056b3
Use = in kamal-proxy deploy command args
...
`=` is required for boolean values and works for all values.
2024-10-01 15:42:12 +01:00
Donal McBreen
b4bcf35f78
Merge pull request #1000 from kpumuk/hosts
...
Allow specifying multiple hosts for kamal-proxy via an array
2024-09-30 10:26:15 -04:00
Donal McBreen
7f6095c9eb
Merge pull request #1009 from basecamp/secrets-print
...
Add `kamal secrets print` for secret debugging
2024-09-30 09:55:53 -04:00
Donal McBreen
ef1271df47
Merge pull request #1010 from basecamp/kamal-proxy-0-7-0
...
Added support for ACME `http-01` challenges
2024-09-30 09:55:34 -04:00
Donal McBreen
df1232d90f
Added support for ACME http-01 challenges
...
Update to kamal-proxy 0.7.0 for ACME `http-01` challenge support.
2024-09-30 14:44:28 +01:00
Dmytro Shteflyuk
e75365c8c6
Simplified deploy options for kamal-proxy as it supports multiple --host arguments
2024-09-30 08:09:05 -04:00
Donal McBreen
e441399255
Add kamal secrets print for secret debugging
...
Dotenv's variable substitution doesn't work the same way as commands run
in the shell. It needs values to be escaped.
```sh
$ cat /tmp/env
SECRETS=$(cat /tmp/json)
SECRETS2=$(echo $SECRETS | jq)
$ cat /tmp/json
\{\ \"foo\"\ :\ \"bar\" \}
$ SECRETS=$(cat /tmp/json)
$ SECRETS2=$(echo $SECRETS | jq)
jq: parse error: Invalid numeric literal at line 1, column 2
$ ruby -e 'require "dotenv"; puts Dotenv.parse("/tmp/env")["SECRETS2"]'
{
"foo": "bar"
}
```
Since you then can't use the shell to debug, `kamal secrets print` will
allow you to see what the secrets will be set to.
2024-09-30 12:28:29 +01:00
Donal McBreen
af992ce755
Merge pull request #996 from iximiuz/patch-1
...
Fix git --add safe.directory command in Dockerfile
2024-09-30 04:36:00 -04:00
Donal McBreen
32caf4b148
Merge pull request #995 from honzasterba/bw_nicer_error_message_on_non_field_fetch
...
[bitwarden] default fetch raises NoMethodError
2024-09-30 04:35:48 -04:00
Donal McBreen
28a02262df
Merge pull request #988 from igor-alexandrov/kamal-proxy-remove-no-target
...
Fixed kamal-proxy remove command
2024-09-30 04:18:12 -04:00
Donal McBreen
b11fb93a6c
Merge pull request #971 from igor-alexandrov/add-app-port-example
...
Added app_port example to the proxy section
2024-09-30 04:16:34 -04:00
Dmytro Shteflyuk
67ad7662ab
Simplified proxy hosts validation and documentation, similar to accessory config
2024-09-29 20:56:23 -04:00
Dmytro Shteflyuk
c63ec39f07
Added a test for colliding hosts passed via hosts array
2024-09-29 20:56:23 -04:00
Dmytro Shteflyuk
8df7d7d92d
Do not allow both host and hosts for proxy configuration
2024-09-29 20:43:44 -04:00