Taimoor Zaeem and Steve Chavez
dade15acc4
nix(test): add test suite for observability tests
...
- Create separate test suite for observability tests
- Create wrapper script `postgrest-test-observability`
- Add to CI and `postgrest-check`
- Move JWT cache tests under observability tests
Signed-off-by: Taimoor Zaeem <taimoorzaeem@gmail.com >
2026-03-20 09:13:47 -05:00
Wolfgang Walther and Steve Chavez
25e56f32e4
nix: avoid updating cabal on every run
...
Resolves #4206
2025-07-17 11:47:44 -05:00
Wolfgang Walther
f32a8861c5
nix: add system argument to postgrest-push-cachix
...
This allows building aarch64-darwin derivations on a remote builder and
then pushing them to cachix before triggering CI.
2025-07-11 15:53:06 +00:00
steve-chavez
dca09c84b9
nix: add exp support for postgrest-gen-jwt
2024-11-15 14:41:02 -05:00
Wolfgang Walther and Wolfgang Walther
3c95d24d45
nix: update package list from hackage before building
...
This prevents errors in CI after updating the hackage index-state.
2024-11-12 21:13:31 +01:00
steve-chavez
82a43c2767
nix: postgrest-gen-ctags use haskdogs
2024-05-25 15:21:44 -05:00
steve-chavez
05447bae33
nix: add postgrest-gen-jwt/secret for manual tests
...
```
$ postgrest-gen-secret
uMd97XSQzNkA1CWhMZ7u88Pj0RNyhrpo
$ postgrest-gen-jwt postgrest_test_author
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoicG9zdGdyZXN0X3Rlc3RfYXV0aG9yIn0.Xod-F15qsGL0WhdOCr2j3DdKuTw9QJERVgoFD3vGaWA
```
Also modifies postgrest-run to include a default PGRST_JWT_SECRET for
quicker manual tests.
2024-05-13 12:37:08 -05:00
steve-chavez
f9e9740999
nix: add postgrest-ctags command
...
Generates ctags for Haskell and Python code.
2024-05-08 12:27:26 -05:00
steve-chavez
d9a51f23ce
test: sanity tests for primary and replica
...
* new --replica option to `postgrest-with-postgresql-*`
* new command `postgrest-test-replica`
* new sanity tests on test_replica.py
* add postgrest-test-replica to postgrest-check and postgrest-coverage
2024-04-30 18:35:40 -05:00
steve-chavez
4b289b1c97
test: requests wait for schema cache load
...
* nix: add postgrest-test-big-schema command
2024-03-15 06:18:26 -05:00
Wolfgang Walther
c7eb4036a1
nix: Export all tools on each toolbox
...
This allows targeting each tool separately for installs.
2024-02-26 22:06:01 +01:00
Wolfgang Walther
08901323a3
nix: Move parallelCurl to devTools
...
This is not a with-tool, because it doesn't wrap another command.
2024-02-26 22:06:01 +01:00
Wolfgang Walther
ccc386cf38
nix: Add deadnix to postgrest-lint and remove dead nix code
2024-02-24 13:08:04 +01:00
Wolfgang Walther and Wolfgang Walther
e110fdbd2c
nix: Refactor checkedShellScript's inRootDir to workingDir
...
This allows more flexible control over the working directory. Values for workingDir must always start
with a / and will then be relative to the repo root.
2024-02-18 13:10:00 +01:00
Wolfgang Walther
74d8ddec36
nix: Make postgrest-push-cachix more efficient by passing each derivation only once
2024-02-06 10:20:02 +01:00
Robert and GitHub
8f80cd1469
Update nixpkgs, dependencies ( #2612 )
...
* relax upper bounds on HTTP, hspec, lens-aeson, optparse-applicative (fixes #2580 )
* upgrade stackage snapshot to latest LTS, with GHC 9.2.5
* bump nixpkgs to 2023-01-12
* fix complaints due to updated linters
2023-01-16 17:12:54 +01:00
Robert and GitHub
5fd6b3956e
ci: Add workflow to seed cachix ( #2615 )
...
Fixes #2609 .
2023-01-16 16:56:48 +01:00
steve-chavez
781fa592ca
refactor: delete QueryCost, instead use PlanSpec
2022-12-12 13:31:02 -05:00
Wolfgang Walther and Wolfgang Walther
271c329677
nix: Fix postgrest-git-hooks causing merge conflicts when staging files partially
...
Signed-off-by: Wolfgang Walther <walther@technowledgy.de >
2022-01-28 19:26:33 +01:00
Wolfgang Walther and Wolfgang Walther
c63420f0e7
nix: Fix postgrest-git-hooks disable not working
...
Signed-off-by: Wolfgang Walther <walther@technowledgy.de >
2022-01-28 19:26:33 +01:00
Wolfgang Walther and Wolfgang Walther
595c2a5257
nix(feat): Add postgrest-git-hooks to enable pre-commit and pre-push hooks
2021-12-06 10:40:23 +01:00
Wolfgang Walther and Remo
74f6e5225c
nix: Add weeder to postgrest-coverage
...
Removes a bit of dead code from SpecHelper.hs
2021-12-04 11:39:56 +01:00
Wolfgang Walther and Wolfgang Walther
5a8d9b1246
nix(feat): Add bash completion for git references
2021-11-27 10:57:29 +01:00
Wolfgang Walther and Wolfgang Walther
ab90bd24e0
nix(feat): Add postgrest-with-git and postgrest-with-pgrst tools
2021-11-27 10:57:29 +01:00
monacoremo
43c8bde8ce
refactor: Add doctests
2021-11-13 04:07:46 +01:00
monacoremo
2982c5de2e
nix: Fix postgrest-check
2021-09-23 22:36:58 +02:00
Wolfgang Walther and Wolfgang Walther
e5350d2d50
nix(refactor): Split cabalTools from devtools
...
This allows to use `postgrest-build` in CI without pulling in a lot of dependencies.
2021-04-24 15:07:13 +02:00