Commit graph

64 commits

Author SHA1 Message Date
Salvador Girones Gil
998b263517
[iam] RBAC and multiple root users (#2176)
Co-authored-by: Przemyslaw Hugh Kaznowski <hughkaznowski@protonmail.com>
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2023-07-29 18:47:25 +00:00
Rushmore Mushambi
d39c02a8e3
Don't skip running Nix on main (#2336) 2023-07-25 21:36:31 +00:00
Rushmore Mushambi
ed21a28086
Run Github Actions on ubuntu-latest (#2310) 2023-07-25 11:37:43 +00:00
Tobie Morgan Hitchcock
4969e7c969
Attempt to fix Windows release builds (#2311) 2023-07-21 23:21:10 +01:00
Salvador Girones Gil
53702c247a
[metrics] HTTP Layer + move to Axum (#2237) 2023-07-19 14:35:56 +00:00
Emmanuel Keller
484571361d
Add code coverage to CI (#2177) 2023-06-23 19:21:02 +00:00
Emmanuel Keller
be3e2637b9
Install cache on ci.yml (#2173) 2023-06-23 11:58:15 +00:00
Nrishinghananda Roy
5485883d3c
Fix multiple Clippy Lints (#2159) 2023-06-20 12:48:20 +01:00
Tobie Morgan Hitchcock
a1b1fead7b
Ensure formatting and linting are properly checked (#2154) 2023-06-19 22:35:19 +00:00
Rushmore Mushambi
6f79f1556a
Test FoundationDB (#1889) 2023-06-13 20:55:38 +00:00
Tobie Morgan Hitchcock
a6e1bacee0
Add more tests for all key-value storage engines (#2124) 2023-06-10 20:30:37 +00:00
Tobie Morgan Hitchcock
c490005007
Fix nightly and release builds (#2121) 2023-06-09 15:19:26 +00:00
Tobie Morgan Hitchcock
3900bfa737
Add SpeeDB storage engine implementation (#2076) 2023-05-31 12:35:41 +00:00
Tobie Morgan Hitchcock
d56a574467
Improve continuous integration checks (#2070) 2023-05-30 19:44:47 +01:00
Finn Bear
0a0031e9e2
Testing - don't test server outside CI. (#2047) 2023-05-26 11:34:57 +01:00
Finn Bear
94a376adc5
Testing - Add CPU profiling to microbenchmarks (#2000) 2023-05-16 23:31:30 +01:00
Rushmore Mushambi
3dd0b6d5e8
Fix building the HTTP feature on Wasm (#1928) 2023-05-05 19:14:36 +01:00
Finn Bear
d0e76e64a9
Testing & Bugfix - Ensure consistency of functions. (#1919) 2023-05-05 00:05:51 +01:00
Finn Bear
a31784495f
Testing - Preserve microbenchmark baseline around actions/checkout@v3. (#1897) 2023-05-02 09:28:36 +01:00
Finn Bear
46c5b4d7f1
Testing - Add microbenchmarks for query parsing and execution. (#1878) 2023-05-01 18:15:42 +01:00
Rushmore Mushambi
ed20048358
Improve GitHub Actions CI run time (#1569) 2023-04-17 14:27:32 +01:00
Rushmore Mushambi
6d2f325b46
Update lock file (#1791) 2023-04-11 20:23:45 +01:00
Tobie Morgan Hitchcock
8089d1f2ed Ensure Docker tag works correctly with metadata 2023-04-02 18:56:45 +01:00
Tobie Morgan Hitchcock
34a1ae588f Don’t use macos-12-xl runners in CI 2023-04-01 00:55:33 +01:00
Tobie Morgan Hitchcock
d106d36dbb Fix tests in release build 2023-04-01 00:27:48 +01:00
Tobie Morgan Hitchcock
1cb05c7b0a Use larger macos instances for releases in CI 2023-03-31 23:49:52 +01:00
Tobie Morgan Hitchcock
e1c2ade163 Ensure protocol buffers compiler is installed in CI 2023-03-31 20:12:10 +01:00
Tobie Morgan Hitchcock
dfa55f3a5b Use larger instances for releases in CI 2023-03-31 20:07:32 +01:00
Tobie Morgan Hitchcock
ccdf03c745 Enable nightly GitHub action to be triggered manually 2023-03-31 20:00:21 +01:00
Tobie Morgan Hitchcock
407ff2c96d Revert GitHub Actions environment changes
Reverting GitHub Actions changes made in 56571765 and b2545c08

Closes #1752
2023-03-31 20:00:21 +01:00
Salvador Girones Gil
b2545c087a
Fix the GitHub Actions nightly build and release (#1745) 2023-03-30 21:14:06 +01:00
Rushmore Mushambi
3e80aa9914
Implement to_value for sql::Value (#1659)
`sql::Value` is an integral part of `surrealdb`. It's the internal type used by our storage layer. Because of this, we do a lot of converting between this type and native Rust types. Currently this conversion is done through `JSON` using the `serde_json` crate because we do not have our own custom data format implementation. This works because `SQL` is a superset of `JSON`.  This, however, means that this conversion is lossy and can cause surprises in some cases. For example expecting record IDs to be deserialized into a `String` instead of its corresponding Rust native type.

This change implements a custom data format around `sql::Value` and introduces a `to_value` function that facilitates that conversion.
2023-03-30 11:41:44 +01:00
Salvador Girones Gil
565717659a
Add functionality for open telemetry tracing (#1727) 2023-03-29 19:16:18 +01:00
Rushmore Mushambi
6ff82d5b5f
Upgrade install-nix-action (#1692) 2023-03-08 10:41:34 +00:00
Rushmore Mushambi
312e89a5a9
Fix release builds (#1616) 2023-01-29 12:35:47 +00:00
Rushmore Mushambi
538a4a8100
Disable caching cargo assets (#1582) 2023-01-07 08:03:25 +00:00
Tobie Morgan Hitchcock
5d4cb3bbbf Fix continuous integration tests and build 2023-01-02 09:10:04 +00:00
Tobie Morgan Hitchcock
4ffeefb537 Simplify continuous integration workflows 2023-01-01 12:24:00 +00:00
Rushmore Mushambi
c2dce39f91
Integrate client library into surrealdb crate (#1514) 2022-12-30 08:23:19 +00:00
Rushmore Mushambi
90bfbfd654
Fix more CI warnings (#1554)
* Switch `aws-actions/configure-aws-credentials` to `v1-node16`

* Pin `macOS` to v11

`macos-latest` will soon point to `macos-12` and that will bring
GCC 11 which would break the nightly and release builds again.
2022-12-27 12:55:00 +00:00
Rushmore Mushambi
b64b6b1c8c
Upgrade Github Actions versions (#1551) 2022-12-26 14:14:05 +00:00
Rushmore Mushambi
34bfb67ab4
Pin Ubuntu to 20.04 to fix nightly builds (#1539) 2022-12-21 11:42:43 +00:00
Yt
407df0ebc3
Fix Darwin build on NixOS (#1521) 2022-12-17 15:08:07 +00:00
Rushmore Mushambi
9d359b9596
Test the library with --no-default-features (#1511) 2022-12-08 16:31:47 +00:00
Rushmore Mushambi
0467b7f04a
Add NixOS build and simplify building from source (#100) 2022-10-04 17:32:44 +01:00
Tobie Morgan Hitchcock
5313d0cfab Update workflow name 2022-09-22 15:07:37 +01:00
Tobie Morgan Hitchcock
252e7d2b29 Add general and nightly release builds 2022-09-22 14:56:36 +01:00
Tobie Morgan Hitchcock
9dabae1887 Ensure Windows build requires no dynamic dependencies 2022-09-01 15:05:55 +01:00
Tobie Morgan Hitchcock
32cacb5595 Don’t add FoundationDB feature to x86_64-linux build 2022-08-29 19:38:20 +01:00
Tobie Morgan Hitchcock
0bedaec6bb Ensure RocksDB storage builds correctly on aarch64-linux 2022-08-29 02:48:09 +01:00