awjchen
046da3caca
Combine oss and pro server configuration
...
https://github.com/hasura/graphql-engine-mono/pull/1983
GitOrigin-RevId: 91069bd5d1f9c5a166eae2317cf4435220b472b0
2021-08-11 04:19:27 +00:00
Brandon Simmons
0d4a65f73a
ci: don't build non-release with enable_coverage, so perf is comparable
...
https://github.com/hasura/graphql-engine-mono/pull/1980
GitOrigin-RevId: 76ac1ad91025715d0725d3d586e5ab620e94d77a
2021-08-03 16:13:51 +00:00
Vladimir Ciobanu
281cb771ff
server: add MSSQL support
...
Co-authored-by: Rakesh Emmadi <12475069+rakeshkky@users.noreply.github.com>
Co-authored-by: Antoine Leblanc <1618949+nicuveo@users.noreply.github.com>
Co-authored-by: Vamshi Surabhi <6562944+0x777@users.noreply.github.com>
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: 699c453b9692e1b822f393f23ff5e6db4e010d57
2021-02-23 17:38:36 +00:00
hasura-bot
f6bd354b40
server: hasura on PG v13 ( #125 )
...
GitOrigin-RevId: 00fd91c250bcf3dc7ee638e3b152e0dab7281de7
2020-12-01 12:22:42 +00:00
Tirumarai Selvan
c0d2bc6653
Remote Joins: Create relationships across database and remote schemas ( #2392 )
...
add remote joins: Create relationships across database and remote schemas (#2392 )
Co-authored-by: Aleksandra Sikora <ola.zxcvbnm@gmail.com>
Co-authored-by: Chris Done <chrisdone@gmail.com>
Co-authored-by: Chris Done <github@chrisdone.com>
Co-authored-by: wawhal <rishichandra.wawhal@gmail.com>
Co-authored-by: Aravind Shankar <aravind@hasura.io>
Co-authored-by: Brandon Simmons <brandon.m.simmons@gmail.com>
Co-authored-by: Rishichandra Wawhal <rishi@hasura.io>
Co-authored-by: Brandon Simmons <brandon@hasura.io>
Co-authored-by: nizar-m <19857260+nizar-m@users.noreply.github.com>
Co-authored-by: Praveen Durairaju <praveend.web@gmail.com>
Co-authored-by: rakeshkky <12475069+rakeshkky@users.noreply.github.com>
Co-authored-by: Anon Ray <rayanon004@gmail.com>
Co-authored-by: Shahidh K Muhammed <shahidh@hasura.io>
Co-authored-by: soorajshankar <soorajshankar@users.noreply.github.com>
Co-authored-by: Sooraj Sanker <sooraj@Soorajs-MacBook-Pro.local>
Co-authored-by: Karthikeyan Chinnakonda <karthikeyan@hasura.io>
Co-authored-by: Aleksandra Sikora <ola.zxcvbnm@gmail.com>
2020-05-27 20:32:58 +05:30
Vamshi Surabhi
e84f8b9b58
persist mix files only when coverage is enabled ( #3844 )
2020-02-06 20:09:52 -06:00
Brandon Simmons
1dd63a9386
Switch from stack
to cabal-install
for building server code ( close #3280 ) ( #3558 )
...
Co-authored-by: Alexis King <lexi.lambda@gmail.com>
2020-01-17 16:07:15 -06:00
Tirumarai Selvan
66beb02f7b
remove brotli from packaging and CI images ( #3673 )
...
* Revert "add brotli shared lib to packager image (#2924 )"
This reverts commit 79414cb225
.
* remove unneeded dockerfile
* remove brotli traces in ci images and compression test
Co-authored-by: Rakesh Emmadi <12475069+rakeshkky@users.noreply.github.com>
2020-01-10 15:15:47 -06:00
Alexis King
780857fb19
Switch to a CPS implementation of Rule
...
This is significantly more performance, even without specialization,
which dramatically improves compile times.
2020-01-08 16:45:46 -06:00
Brandon Simmons
1e161d2ed1
Initial benchmarks for caching. Closes #3530
...
These aren't suitable e.g. for running in CI since some take far too
long (and an impossibly long-time when running under criterion's normal
bootstrapping sampling regime.
We might try to improve this ourselves:
https://github.com/bos/criterion/issues/218
An initial summary analysis will be in #3530 .
2019-12-20 10:10:07 -06:00
nizar-m
9faadec005
remove usage of deprecated 'pytest.config' ( #3434 )
...
pytest is now at version 5.3
2019-11-29 10:44:26 +05:30
Shahidh K Muhammed
ba751450be
change pg_dump version to 12 in server makefile ( #3249 )
2019-10-26 12:03:54 -05:00
Rakesh Emmadi
6d92e4f9db
save permissions, relationships and collections in catalog with 'is_system_defined' explicitly ( #3165 )
...
* save permissions, relationships and collections in catalog with 'is_system_defined'
* Use common stanzas in the .cabal file
* Refactor migration code into lib instead of exe
* Add new server test suite that exercises migrations
* Make graphql-engine clean succeed even if the schema does not exist
2019-10-21 11:01:05 -05:00
Rakesh Emmadi
79414cb225
add brotli shared lib to packager image ( #2924 )
...
Add brotli library dependencies to the server docker image.
The compression feature introduced in #2751 requires brotli shared libraries at runtime. In original PR, adding them to server packager image was missing.
2019-09-24 15:52:50 +05:30
Alexis King
d9d47f0062
server: Don’t allow warnings when building in CI ( #2892 )
2019-09-17 00:00:42 -05:00
Vamshi Surabhi
a5a07634a5
Merge branch 'master' into dev-scripts-and-doc-tweaks
2019-08-07 12:08:46 +05:30
Alexis King
84ff3ff01b
Set LANG=C.UTF-8 in the docker container ( fix #2571 ) ( #2647 )
2019-08-01 13:00:07 +05:30
Brandon Simmons
7e0f00a229
Remove obsolete Makefile target for tests removed in 6393aba447
2019-07-26 01:16:17 -04:00
Anon Ray
8f1e7dbc8d
breaking: server logging changes ( close #507 , close #2171 ) ( #1835 )
2019-07-11 05:37:06 +00:00
Rakesh Emmadi
4f9d5952b9
add a make rule to build server docker image locally ( #2410 )
2019-06-27 11:58:26 +05:30
Shahidh K Muhammed
76ceb707f4
bundle console assets into server ( close #516 , close #521 , close #2130 ) ( #2192 )
...
This PR builds console static assets into the server docker image at `/srv/console-assets`. When env var `HASURA_GRAPHQL_CONSOLE_ASSETS_DIR=/srv/console-assets` or flag `--console-assets-dir=/srv/console-assets` is set on the server, the files in this directory are served at `/console/assets/*`.
The console html template will have a variable called `cdnAssets: false` when this flag is set and it loads assets from server itself instead of CDN.
The assets are moved to a new bucket with a new naming scheme:
```
graphql-engine-cdn.hasura.io/console/assets/
/common/{}
/versioned/<version/{}
/channel/<channel>/<version>/{}
```
Console served by CLI will still load assets from CDN - will fix that in the next release.
2019-05-16 13:15:29 +05:30
Shahidh K Muhammed
71cf017197
add an api to dump postgres schema ( close #1939 ) ( #1967 )
2019-04-30 14:04:08 +05:30
Shahidh K Muhammed
de24cfd43a
read version from env var during server build time ( close #1398 ) ( #1897 )
...
* read version from env var at build time (close #1398 )
* remove un-used imports, edit makefile
* edit makefile to add new targets and export variables
* only export VERSION in makefile
* read version by executing the script if env var is absent
2019-04-11 09:41:48 +05:30
Vamshi Surabhi
8e9a6a25a9
bump haskell-docker-packager version ( #1870 )
...
The previous version didn't include libgcc_s.so.1 in rootfs. We never encountered an error before as it was most likely packaged by busybox.
2019-03-26 15:26:15 +05:30
Shahidh K Muhammed
2274e2748b
Revert "reduce server build time on ci ( #1836 )"
...
This reverts commit cbd6bb1f15
.
2019-03-25 09:49:23 +05:30
Anon Ray
cbd6bb1f15
reduce server build time on ci ( #1836 )
...
Due to a misconfiguration in the caching logic, a server was building dependencies on every build. This fixes it to reduce server build time.
2019-03-22 18:11:15 +05:30
Vamshi Surabhi
c7346fd55a
bump stackage to lts 13 and refer to hasura's pg-client-hs ( #1747 )
2019-03-14 20:25:33 +05:30
Igor Pashev
7ccc91ec4f
remove grep from server makefile ( #1614 )
...
awk can do all the job.
2019-02-19 12:20:54 +05:30
Anon Ray
512ee6fb9f
adds basic support for remote schemas/schema stitching ( #952 )
2018-11-23 18:32:46 +05:30
Anon Ray
7d9851b0a9
generate coverage report for server tests ( close #464 ) ( #512 )
2018-10-05 18:07:19 +05:30
Vamshi Surabhi
534f23d1a6
python based tests ( #387 )
2018-09-18 11:51:57 +05:30
Vamshi Surabhi
c901767cd1
update packages ( #251 )
...
* move to stackage 12.4
* upgrade pg-client
* docker build improvements
2018-08-08 13:10:13 +05:30
Anon Ray
c747971f2d
server tests now run across supported postgres versions >= 9.5 ( fix #154 ) ( #199 )
2018-07-26 11:17:21 +05:30
Rakesh Emmadi
ad31f02b51
add ca certificates to packager ( fix #195 ) ( #197 )
2018-07-24 13:17:09 +05:30
Aravind Shankar
5985bf8e9e
deploy script enhancements ( #124 )
2018-07-17 22:30:26 +05:30
Anon Ray
4270529c11
basic test suite ( #78 )
...
* server: basic test setup
* server: use the default transaction mode
* server: basic tests in yaml files
* server: restructure test setup and some more tests
2018-07-11 12:43:07 +05:30
Shahidh K Muhammed
50165fc1ed
circleci integration ( #74 )
2018-07-10 10:01:02 +00:00
Shahidh K Muhammed
98c827449b
build: integrate circleci
...
integration with circleci for various workflows
2018-07-03 22:40:13 +05:30
Anon Ray
9d2d158532
server: build now is multi-stage builds ( fix #29 )
...
- Change the build flow to use docker multi-stage builds
2018-07-02 16:40:13 +00:00
Vamshi Surabhi
e637f3dd7b
server: packaging now works
2018-06-28 13:49:52 +05:30
Vamshi Surabhi
530027cf20
move raven into graphql-engine repo
2018-06-28 00:32:00 +05:30