renovate[bot] and Wolfgang Walther
324be09c2b
chore(deps): update actions/download-artifact action to v4.3.0
2025-05-07 16:24:08 +00:00
steve-chavez
58237be608
test: add loadtest for async purge of JWT cache
2025-04-20 15:11:41 -05:00
renovate[bot] and Wolfgang Walther
86be19e674
chore(deps): update haskell-actions/setup action to v2.7.11
2025-04-20 09:15:44 +00:00
renovate[bot] and Wolfgang Walther
a17a73e17b
chore(deps): update codecov/codecov-action action to v5.4.2
2025-04-20 09:15:26 +00:00
steve-chavez
58b5dff188
Revert "nix: add loadtest with unique JWTs"
2025-04-18 17:43:10 -05:00
steve-chavez
51743016fd
ci: github report for jwt loadtest
2025-04-18 13:05:14 -05:00
steve-chavez
608f7ca45a
nix: add loadtest with unique JWTs
...
This loadtests the jwt decoding logic. For this it adds an optional
`-k`(kind) parameter to `postgrest-loadtest` and
`postgrest-loadtest-against`.
Old kind (default):
```
postgrest-loadtest -k mixed
postgrest-loadtest-against -k mixed
```
New kind:
```
postgrest-loadtest -k jwt
postgrest-loadtest-against -k jwt
```
Internally it uses a dynamically generated targets file using python
which looks like:
```
GET http://postgrest/authors_only
Authorization: Bearer <jwt>
GET http://postgrest/authors_only
Authorization: Bearer <another-jwt>
...
```
Then this is used to run vegeta with the `-lazy` option.
2025-04-17 23:11:33 -05:00
renovate[bot] and Wolfgang Walther
2811d6f997
chore(deps): update peter-evans/dockerhub-description action to v4.0.2
2025-04-03 12:09:22 +00:00
renovate[bot] and Wolfgang Walther
20f1fdd35c
chore(deps): update peter-evans/dockerhub-description action to v4.0.1
2025-04-01 19:50:34 +00:00
Wolfgang Walther
95e36fdad9
nix: avoid rebuilding memory tests when entering nix-shell
...
The memory tests are now run in the same way as the regular tests.
2025-03-30 18:57:39 +00:00
Wolfgang Walther
144b0c46ca
nix: add basic flake.nix
...
This just exposes the PostgREST package, not more.
The goal is to avoid duplication, so we're re-using only exports from
default.nix.
Resolves #3026
Supersedes #3105
2025-03-28 09:22:34 +00:00
renovate[bot] and Wolfgang Walther
fc01a72f4e
chore(deps): update cachix/cachix-action action to v16
2025-03-26 18:02:59 +00:00
renovate[bot] and Wolfgang Walther
02590f2e55
chore(deps): update docker/setup-buildx-action action to v3.10.0
2025-03-25 18:55:39 +00:00
renovate[bot] and Wolfgang Walther
ab2d9945fa
chore(deps): update docker/login-action action to v3.4.0
2025-03-25 18:20:14 +00:00
renovate[bot] and Wolfgang Walther
67573f4f10
chore(deps): update codecov/codecov-action action to v5.4.0
2025-03-25 17:50:47 +00:00
renovate[bot] and Wolfgang Walther
d284e9acea
chore(deps): update actions/download-artifact action to v4.2.1
2025-03-24 16:27:45 +00:00
renovate[bot] and Wolfgang Walther
62150aaf53
chore(deps): update nixbuild/nix-quick-install-action action to v30
2025-03-24 16:24:24 +00:00
renovate[bot] and Wolfgang Walther
48f4b6d77d
chore(deps): update haskell-actions/setup action to v2.7.10
2025-03-24 16:13:17 +00:00
renovate[bot] and Wolfgang Walther
09ba7c0d28
chore(deps): update actions/upload-artifact action to v4.6.2
2025-03-24 11:36:06 +00:00
renovate[bot] and Wolfgang Walther
1887c9b5b2
chore(deps): update actions/cache action to v4.2.3
2025-03-24 08:34:34 +00:00
Wolfgang Walther
359e5fbf75
ci: Add MacOS x86-64 binaries to release
...
The supported architectures for each GitHub Actions runner image can be
seen here:
https://github.com/actions/runner-images?tab=readme-ov-file#available-images
Resolves #3937
2025-03-09 13:39:33 +00:00
Wolfgang Walther
749e2996f3
chore: Add new issue type to issue templates
2025-01-31 19:25:16 +01:00
renovate[bot] and Wolfgang Walther
e7cc8fedc0
chore(deps): update codecov/codecov-action action to v5.3.1
2025-01-25 12:01:13 +01:00
renovate[bot] and Wolfgang Walther
a2b5af0861
chore(deps): update codecov/codecov-action action to v5.3.0
2025-01-25 11:12:54 +01:00
Wolfgang Walther
9ae8854867
Revert "ci: Remove brew install libpq for macos-14 stack build"
...
This partially reverts commit 53164453d8 .
2025-01-18 19:01:01 +01:00
Wolfgang Walther
4ad78235dc
chore: Update renovate config for new haskell-cabal manager
...
This manager was recently introduced to renovate and is now creating PRs
for upper version bounds of our haskell dependencies. We still need to
figure out how to deal with those in the best way, but some basic
configuration can already be done. Here, we:
- disallow any of those updates on the backbranches.
- group GHC-provided dependencies together.
- group packages from the hasql ecosystem together.
- the fuzzyset dependency must be restricted to <0.3 - we know that
already and did that on purpose.
2025-01-18 18:21:26 +01:00
Wolfgang Walther
14449bc882
ci: Fix stack cache on Windows
...
Apparently the STACK_ROOT has been moved to C:\sr - for unknown reasons,
at least to me.
This should enable caching again and make the stack on windows builds
much faster than recently.
2025-01-18 18:01:35 +01:00
Wolfgang Walther
5c567600cd
ci: Split ci into ci and release workflows
...
This is now possible, after we moved to the ARM build to the GitHub
runners.
2025-01-18 18:01:35 +01:00
Wolfgang Walther
75788cff05
ci: Remove left-over permissions setting from tag job
...
This has been replaced by using the SSH key.
2025-01-18 18:01:35 +01:00
Wolfgang Walther
9a86ff6029
ci: Display loadtest results in step summary
...
Much easier to implement and should be easier to find, too.
2025-01-18 18:01:35 +01:00
Wolfgang Walther
06aebfaaaf
ci: Build the ubuntu-aarch64 binary with new ARM runners
...
The new GitHub arm runners are available, so we can use them to build
the ubuntu aarch64 binary instead of our custom machine.
2025-01-18 18:01:35 +01:00
Wolfgang Walther
6858709866
ci: Skip cachix push when no cachix token is set
...
This happens in forks.
2025-01-18 18:01:35 +01:00
Wolfgang Walther
53164453d8
ci: Remove brew install libpq for macos-14 stack build
...
When macos-14 was rolled out libpq was not installed, but by now it is
by default. Thus, we don't need to do that, it only creates a warning
annotation right now.
2025-01-18 18:01:35 +01:00
Wolfgang Walther
ee6bac4e49
ci: Fix release name of x86-64 binaries
...
This should have been x86-64, only x64 is not a thing.
2025-01-18 18:01:35 +01:00
Wolfgang Walther
cbe7d8e1dd
ci: Fix release name of macos binary
...
This is built on macos-14, which is running on new arm based hardware,
not the old x86_64 ones.
2025-01-18 18:01:35 +01:00
Wolfgang Walther
48a9a3540e
ci: Update stack builder to ubuntu 24.04
...
Renovate doesn't seem to pick this up, because it's in a matrix
specification.
2025-01-18 18:01:35 +01:00
renovate[bot] and Wolfgang Walther
972bc80664
chore(deps): update actions/upload-artifact action to v4.6.0
2025-01-17 20:59:10 +01:00
renovate[bot] and Wolfgang Walther
c7ac1db07f
chore(deps): update haskell-actions/setup action to v2.7.9
2025-01-17 20:58:06 +01:00
renovate[bot] and Wolfgang Walther
ce27425f7c
chore(deps): update haskell-actions/setup action to v2.7.8
2024-12-30 16:32:00 +01:00
renovate[bot] and Wolfgang Walther
f5f64ac7da
chore(deps): update codecov/codecov-action action to v5.1.2
2024-12-20 20:00:22 +01:00
renovate[bot] and Wolfgang Walther
b5645b969a
chore(deps): update haskell-actions/setup action to v2.7.7
2024-12-20 19:59:55 +01:00
renovate[bot] and Wolfgang Walther
a1769d17be
chore(deps): update actions/upload-artifact action to v4.5.0
2024-12-18 12:56:17 +01:00
renovate[bot] and Wolfgang Walther
2df167637d
chore(deps): update codecov/codecov-action action to v5.1.1
2024-12-06 09:48:06 +01:00
renovate[bot] and Wolfgang Walther
82f43a567c
chore(deps): update actions/cache action to v4.2.0
2024-12-06 09:47:55 +01:00
renovate[bot] and Wolfgang Walther
366d6321f0
chore(deps): update ubuntu:noble docker digest to 80dd3c3
2024-12-04 08:45:07 +01:00
renovate[bot] and Wolfgang Walther
d78877cc65
chore(deps): update codecov/codecov-action action to v5.0.7
2024-11-21 21:26:09 +01:00
renovate[bot] and Wolfgang Walther
b85e28c007
chore(deps): update codecov/codecov-action action to v5.0.5
2024-11-20 19:36:35 +01:00
renovate[bot] and Wolfgang Walther
e929834f82
chore(deps): update ubuntu:noble docker digest to 278628f
2024-11-16 22:40:48 +01:00
renovate[bot] and Wolfgang Walther
4d3883ea2e
chore(deps): update codecov/codecov-action action to v5.0.2
2024-11-15 18:54:17 +01:00
renovate[bot] and Wolfgang Walther
313f52d3fa
chore(deps): update codecov/codecov-action action to v5
2024-11-14 20:57:31 +01:00