Commit Graph

685 Commits

Author SHA1 Message Date
Jappie Klooster
e96c8ae2d3 disable nix for now 2024-06-26 19:19:12 +02:00
Jappie Klooster
3a6ffee79f Fix nix 2024-06-26 19:11:16 +02:00
Jappie Klooster
1ed4f72f0e upgrade pin 2024-06-26 14:44:49 +02:00
Jappie Klooster
5cd3133561 Fix old tar breaking keter
add lower limit for tar to 0.6.0.0, which fixes "FileNotExecutable" bug.
see #291, special thanks to @scheottl for finding and debugging.
2024-06-26 12:48:42 +02:00
Jappie Klooster
de6f3cce86 update keter 2024-06-18 11:41:13 +02:00
Jappie Klooster
8b2925a92d
Merge pull request #290 from snoyberg/cabal-updates
Bumping network
2024-06-18 11:40:11 +02:00
jappeace
ee766c84b9 Bumping 1 dependency
network >=3.1.2 && <3.2 (latest: 3.2.0.0)
2024-04-17 00:29:21 +00:00
Jappie Klooster
4f6f386cae
Merge pull request #289 from snoyberg/set-log-backup-number
fixes #288, set log backup number to 20
2024-03-07 14:43:26 +01:00
Jappie Klooster
5d9b34a4d0 fixes #288, set log backup number to 20
update changelog
2024-03-07 14:22:28 +01:00
Jappie Klooster
28ba9b538b bump versions 2024-02-17 00:48:00 +01:00
Jappie Klooster
63763ad686
Merge pull request #284 from snoyberg/cabal-updates
Bumping tls, warp, zlib
2024-02-14 19:35:18 +01:00
jappeace
3019d191bc Bumping 3 dependencies
tls >=1.5.7 && <2.0 (latest: 2.0.0)
warp >=3.3.20 && <3.4 (latest: 3.4.0)
zlib >=0.6.2 && <0.7 (latest: 0.7.0.0)
2024-02-14 00:29:50 +00:00
Jappie Klooster
3a6110467b
Merge pull request #287 from snoyberg/tar-0.6
resolves #286

this uses the upstream tar.
it also has support for changing ownership of the files unpacked (which the keter implementation also seemed to manage).

this also deletes the stack based ci in favor of a cabal based ci, it broke for some reason and I didn't want to play stack whackamole.
2023-12-28 16:08:50 +01:00
Jappie Klooster
20a33d9276 Add tar 0.6 support
resolves https://github.com/snoyberg/keter/issues/286

this uses the upstream tar.
it also has support for changing ownership of the files unpacked (which the keter implementation also seemed to manage).

this also deletes the stack based ci in favor of a cabal based ci, it broke for some reason and I didn't want to play stack whackamole.

use upstream unpack

bump filepath

forM more

import forM

trash result

don't use a traverse but a fold

update changelog

add extra deps

clear stack

add cabal based action

drop windows support

clear stack based ci

Add note on changing to cabal ci

I just don't want to figure out why this broke.

bump keter
2023-12-28 16:08:01 +01:00
Jappie Klooster
16bd88c1e1 clean description 2023-11-22 17:49:23 +01:00
Jappie Klooster
7c7202d024
Merge pull request #283 from zoominsoftware/feat/healthcheck-endpoint
Add config "healthcheck-path" to respond 200 on
2023-11-10 10:47:49 +01:00
Maksym Ivanov
3e6f209ca1
add changelog entry 2023-11-10 10:32:54 +01:00
Maksym Ivanov
dac66e1688
feat: add config "healthcheck-path" to respond 200 on
AWS LB TG healthcheck cannot currently be made to send any custom Host
header. It always sends the target's (keter's) IP address in there.

Together with vhosting, this makes it impossible to healthcheck
individual webapps running under keter.

Have a partial remedy with a /keter-health endpoint, that if enabled
always responds with status 200.
2023-11-10 10:15:57 +01:00
Jappie Klooster
cbac18cc45
Merge pull request #282 from zoominsoftware/toupstream/fix-confused-config-keys
Fix confused config keys
2023-11-03 17:01:00 +01:00
Maksym Ivanov
afa3d5af11
address Code Review feedback, add changelog 2023-11-03 16:41:51 +01:00
Maksym Ivanov
9a2cfa2672
undo the same mistake I'm fixing, having committed it myself 2023-11-03 15:30:11 +01:00
Maksym Ivanov
709bbc38da
refactor: try doing without Tagged - duplicate constants again 2023-11-03 15:05:52 +01:00
Maksym Ivanov
335e19ed1b
refactor: reimplement Tagged, drop dependency 2023-11-03 11:53:11 +01:00
Maksym Ivanov
5af68c7a89
fix: instead of failing, log warning and use fallback 2023-11-03 08:51:46 +01:00
Maksym Ivanov
2f897977d5
fix: confused "unknown" VS "missing" -host-response-file configs
The fields of KeterConfig were being parsed from Yaml with a "flipped string constants" mistake:

 * kconfigUnknownHostResponse -- from "missing-host-response-file"
 * kconfigMissingHostResponse -- from "unknown-host-response-file"

Fix that; use a speck of typelevel spice to showcase "how not to" fall victim
to this class of mistakes again, if desired. The Tagged helper is:
 * zero-cost;
 * simple;
 * easy to use;
 * attaches a constant string to a type, and transparently tracks it
   for as long as you allow it to -- e.g. in this case, from KeterConfig
   data-decl all the way until readFile calls.
2023-11-03 08:39:25 +01:00
Maksym Ivanov
5da9713bff
refactor: fix typo unkown -> unknown 2023-11-02 14:15:51 +01:00
Maksym Ivanov
8bd0c4b255
refactor: decopypaste reading *-response-file's 2023-11-02 14:15:48 +01:00
Jappie Klooster
d4908fb917
Merge pull request #281 from snoyberg/cabal-updates
Bumping containers
2023-10-06 00:01:29 +02:00
jappeace
b31b8c0bf0 Bumping 1 dependency
containers >=0.6.4 && <0.7 (latest: 0.7)
2023-10-04 00:27:52 +00:00
Jappie Klooster
faedc34cce add autogen stanza 2023-08-02 17:17:54 -04:00
Jappie Klooster
2ddafb9d7f
Merge pull request #279 from snoyberg/cabal-updates
Bumping aeson, bytestring, mtl, optparse-applicative, transformers, unix, warp-tls
2023-08-02 17:15:21 -04:00
Jappie Klooster
55d9f9f89e bound release 2023-08-02 16:54:16 -04:00
Jappie Klooster
a5ed612128 add missing comma's 2023-08-02 16:50:27 -04:00
Jappie Klooster
99c88c387c fix unix 2023-08-02 16:49:30 -04:00
Jappie Klooster
291f7aa3e8 fix transformers 2023-08-02 16:48:56 -04:00
Jappie Klooster
eb19394409 I guess we need cabal 3.0 2023-08-02 16:42:06 -04:00
Jappie Klooster
3f6943d52d remove range 2023-08-02 16:35:15 -04:00
Jappie Klooster
426766351c upgrade cabal 2023-08-02 16:34:25 -04:00
jappeace
ea7b5840a7 Bumping 7 dependencies
Outdated dependencies:
aeson >=2.0.0 && <2.2 (latest: 2.2.0.0)
bytestring >=0.10.12 && <0.12 (latest: 0.12.0.0)
mtl >=2.2.2 && <2.3 (latest: 2.3.1)
optparse-applicative >=0.16.1 && <0.18 (latest: 0.18.1.0)
transformers >=0.5.6 && <0.6 (latest: 0.6.1.1)
unix >=2.7.2 && <2.8 (latest: 2.8.1.1)
warp-tls >=3.0.3 && <3.4.0 (latest: 3.4.0)
2023-08-02 20:28:19 +00:00
Jappie Klooster
d98c5f3cc6
Merge pull request #278 from snoyberg/add-automated-bounds-action
Add automated bounds action
2023-08-02 16:27:12 -04:00
Jappie Klooster
7217809baa fix times 2023-08-02 16:06:48 -04:00
Jappie Klooster
9559d8a5f5 set to tuesday 2023-08-02 16:06:21 -04:00
Jappie Klooster
7a1d49de03 add automated bounds action 2023-08-02 16:05:36 -04:00
Jappie Klooster
823c9e8ab6
Merge pull request #277 from snoyberg/bump-bounds
apply cabal fmt
2023-06-14 12:07:11 -04:00
Jappie Klooster
8ae895dda2 Fix bounds
re-add resolver field

fix bounds for nightly

fix bounds more
2023-06-14 12:02:17 -04:00
Jappie Klooster
cbce0faea1 drop support for old stackage releases
I don't think it's worth maintining these with the aeson issue

explain drop of support
2023-06-14 10:24:29 -04:00
Jappie Klooster
a0c033cd8f Add note on upperbounds in change log
add note on formatter
2023-06-14 10:17:42 -04:00
Jappie Klooster
570c100a50 apply cabal fmt
re-add fastlogger
2023-06-14 10:15:57 -04:00
Jappie Klooster
89513f220e bump bound unix compat
update version and changelog
2023-06-12 09:06:59 -04:00
Jappie Klooster
735cbcc94d Delete management of logfiles as a keter feature
We pawned this off to fastlogger,
so this is now either done by that library,
or trough stderr by systemd.
2023-04-11 18:21:46 +02:00