Commit Graph

15 Commits

Author SHA1 Message Date
Samir Talwar
c3afa0fdd7 Install and use ODBC Driver 18 for SQL Server (msodbcsql18).
This installs the ODBC Driver 18 for SQL Server in all our shipped Docker images, and update our tests and documentation accordingly.

This version supports arm64, and therefore can run natively (or via Docker) on macOS on aarch64.

`msodbcsql17` is still installed in production-targeted Docker images so that users do not _have_ to migrate to the new driver.

Nix expressions are packaged for the new driver, as it is not yet available in nixpkgs.

In this version, [the default encryption setting was changed from "no" to "yes"](https://techcommunity.microsoft.com/t5/sql-server-blog/odbc-driver-18-0-for-sql-server-released/ba-p/3169228). In addition, "mandatory" and "optional" were added as synonyms for "yes" and "no" respectively.

I have therefore modified all connection strings in tests to specify `Encrypt=optional` (and changed some from `Encrypt=no`). I chose "optional" rather than "no" because I feel it's more honest; these connection strings will work with or without an encrypted connection.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6241
GitOrigin-RevId: 959f88dd1f271ef06a3616bc46b358f364f6cdfd
2022-10-21 16:25:04 +00:00
Samir Talwar
68f4779908 packaging: Rebuild the base images to get PostgreSQL Client 15.
This is required to get the latest version of `pg_dump`, which is used
by a few features (including the CLI command, `hasura seed create`).

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6393
GitOrigin-RevId: 31442fff669af9e5c987128e10c6801f8ed9fb95
2022-10-18 13:27:24 +00:00
Brandon Simmons
d76636a5a3 packaging: partially revert #5604, stay on focal to use libssl1.1. Add libssl explicitly.
Trying to run the image while debugging:  https://github.com/hasura/graphql-engine-mono/pull/6172/ I get:

    $ docker run -it hasura/graphql-engine:dev-b91a92b-jberrymanalexghc92-ci-REBASE10-cherry-.ubuntu.amd64
    graphql-engine: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory

It seems as though the ubuntu image has been broken in some way since
moving to jammy (Which only ships with `libssl.3`), but strangely this
only shows up on main, not in PRs (except on the 9.2 branch…?)

we use this in tests for instance: .buildkite/scripts/test-dc-sdk.sh

Strangely I don't get the error with an image from recent PRs:
https://github.com/hasura/graphql-engine-mono/pull/6148
https://github.com/hasura/graphql-engine-mono/pull/6156 (to latest release)

...although Samir sees it on some he looked at

```
docker run -it hasura/graphql-engine:dev-46eaa39-plcreleasev2.13bq-scalars.ubuntu.amd64 graphql-engine version
Fatal Error: Either of --metadata-database-url or --database-url option expected
```

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6176
Co-authored-by: Samir Talwar <47582+SamirTalwar@users.noreply.github.com>
GitOrigin-RevId: 6eea65f2d1dc7f0d13bcd58f94737810d290cb89
2022-10-05 09:07:26 +00:00
Samir Talwar
000e9c2f24 CI: Upgrade our CI Docker images to the latest stable Debian + Ubuntu versions
This upgrades our Docker images from various Debian versions (mostly
`buster`, a.k.a. `oldstable`) to `bullseye` (a.k.a. `stable`).

`buster`/`oldstable` is still supported but I'm not sure for how long.

It also upgrades our HGE Docker image Ubuntu 20.04 to Ubuntu 22.04.

This will allow us to provide the latest Microsoft SQL Server Driver,
`msodbcsql18`, which is supported on both x86_64 (amd64) and
aarch64 (arm64).

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5604
GitOrigin-RevId: 385d8670476dd343635a4fbc564a6797c8872127
2022-10-03 13:17:23 +00:00
Vishnu Bharathi
c60aed3e36 ci: changes for enabling the release of EE lite
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5528
GitOrigin-RevId: d32439aa921202d88f709df44d1d3ebfba2fff02
2022-08-29 05:20:24 +00:00
Vishnu Bharathi
967bdcc5d5 ci: update ubuntu base to latest focal release
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5562
GitOrigin-RevId: 0a8f8b8dfc3af69766fb426f2af0f6140e6f4809
2022-08-22 15:26:42 +00:00
hasura-bot
08e5b815cb [security] Update Debian base image to debian:buster-20220711-slim
GITHUB_PR_NUMBER: 8737
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/8737

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5302
Co-authored-by: Andrew Louis <996681+andrewlouis93@users.noreply.github.com>
GitOrigin-RevId: 4b1569ae8c543c49ccb0b6a283b4b20e3c9fe293
2022-08-09 10:45:25 +00:00
Vishnu Bharathi
82831a8611 ci: avoid building centos flavour for oss images
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4818
GitOrigin-RevId: c27fe81386cc8bb6767b5319d3b135d3a2efbc2c
2022-07-04 06:24:34 +00:00
Vishnu Bharathi
3458dafca4 ci: update centos image and skip test oss cli with last release job
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4749
GitOrigin-RevId: c4fc317336f7580851711379fc1802eb141e72e8
2022-06-16 08:52:48 +00:00
Vishnu Bharathi
952a3f6481 ci: updates base image for ubuntu and centos flavours
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4502
GitOrigin-RevId: 0897d097b5698f5751b7bfc72801dbfdb19e90c2
2022-06-08 07:07:28 +00:00
Vishnu Bharathi
810db83499 ci: use pg_dump from postgres 14
fixes https://github.com/hasura/graphql-engine/issues/7676

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4254
GitOrigin-RevId: ca27952516bd60605c27254fce7f5267f472d9d5
2022-04-18 06:25:02 +00:00
Vishnu Bharathi
c086cbd982 ci: fix image checking logic in docker build and push script
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4170
GitOrigin-RevId: 2ff56d64a935c6ac22631f973e93b3d7d6e47854
2022-04-07 16:52:43 +00:00
Vishnu Bharathi
7930dc048d ci: patch base images for security updates
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4121
GitOrigin-RevId: e021c22d0647440b5afefa65dbbedf6e201cd17f
2022-03-31 10:47:33 +00:00
Daniel Chambers
5873429e54 console: Improved computed field comment support [CON-94]
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3946
Co-authored-by: Sooraj <8408875+soorajshankar@users.noreply.github.com>
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
Co-authored-by: Vishnu Bharathi <4211715+scriptnull@users.noreply.github.com>
GitOrigin-RevId: dfedf0f76c008b958630f66b58a59530e567a23d
2022-03-29 09:21:28 +00:00
Vishnu Bharathi
fac5e0b2c3 ci: produce ubuntu and centos flavoured graphql-engine images
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3597
GitOrigin-RevId: f1fded72524f28f41433eea6819276932ee0b5cb
2022-03-22 12:03:25 +00:00