Commit Graph

30 Commits

Author SHA1 Message Date
ananya-2410
f93eed713f ci: update ubuntu image to focal-20230412
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8805
GitOrigin-RevId: 3d4e0dfca555e4f709e94e6658eacb213bcb1750
2023-04-19 07:28:10 +00:00
ananya-2410
ff759bfbe1 ci: update base image of graphql-engine to focal-20230308
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8592
GitOrigin-RevId: ae36c41a7c0f012845d4d782ffa25aef566ae000
2023-04-03 07:01:40 +00:00
Divi
d03f5d78e0 ci: update base image
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8193
GitOrigin-RevId: d270c4453c5ab122e3e47a686fca256799ec7b17
2023-03-15 11:52:21 +00:00
ananya-2410
4a24e7d962 ci: add jobs to scan images
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7965
Co-authored-by: Divi <32202683+imperfect-fourth@users.noreply.github.com>
GitOrigin-RevId: 5fe28e133c6f578d8cf3e62559e331d0f770884d
2023-02-23 08:20:28 +00:00
Samir Talwar
d1ddf27159 packaging/cli-migrations: Clean up curl containers.
We don't want to leave these curl containers lying around.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8002
GitOrigin-RevId: 5ceabc1cbe0a07fe4831b4752b6f71e79444a346
2023-02-16 19:56:10 +00:00
Manas Agarwal
fc4a86f6d8 Adding curl and healthcheck directive to HGE image
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7717
GitOrigin-RevId: 42bf2f85bf198d654017c892bd810ba267df9d50
2023-01-31 07:32:57 +00:00
Vishnu Bharathi
a6f81a7208 ci: update graphql-engine-base image to use latest ubuntu focal
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7626
GitOrigin-RevId: 0bceaf98f9f84066a2f130bf17688010ccd88c4b
2023-01-23 10:57:12 +00:00
hasura-bot
24a117787b install manifests: update to Postgres 14
GITHUB_PR_NUMBER: 8754
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/8754

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5367
Co-authored-by: arjunyel <11153289+arjunyel@users.noreply.github.com>
GitOrigin-RevId: ed4eff00c5a35f115c390fc44ac50b16f95d7fb4
2022-12-01 04:45:04 +00:00
nandhithakamal
fee4de93fc ci: do not build debian-based images
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6729
GitOrigin-RevId: 882fd6e000fbca928f04e2b7bf169c3c205a0f0d
2022-11-04 10:05:25 +00:00
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
hasura-bot
49cbca45d2 cli-migrations: update docker-entrypoint.sh to stop overwriting the PORT env var (fix #8770)
GITHUB_PR_NUMBER: 8772
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/8772

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5425
Co-authored-by: George Czabania <1140167+stayradiated@users.noreply.github.com>
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: 16fe43d0358f3eb2c0fee7abacd58c3590a20e95
2022-08-23 06:18:30 +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
Divi
ddbfcf5aa3 ci: use pro image as base image for pro cli migration images
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5027
GitOrigin-RevId: 0e5aec72331e06e7a529f65814bb61f92c76e2a3
2022-08-09 12:11:30 +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
Lyndon Maydwell
3c33996e7d Data-Connectors SDK
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4332
GitOrigin-RevId: aa93b65e266d73c3b7b80fafd4e36da74428add4
2022-06-27 09:32:12 +00:00
Vishnu Bharathi
66105d6741 ci: build and publish multitenant docker image in cloud release pipeline
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4709
GitOrigin-RevId: 78c3a41fab37c20c674b55d8f5bd8a0a1f478115
2022-06-24 15:34:04 +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
Aravind K P
cde3ab7612 cli: add support for multiple admin secrets in pro cli migrations image
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4604
GitOrigin-RevId: 70ff26a72f55007aa04a083c3506b4f4a957b240
2022-06-14 11:14:56 +00:00
Brandon Simmons
6e8da71ece server: migrate to aeson-2 in preparation for ghc 9.2 upgrade
(Work here originally done by awjchen, rebased and fixed up for merge by
jberryman)

This is part of a merge train towards GHC 9.2 compatibility. The main
issue is the use of the new abstract `KeyMap` in 2.0. See:
https://hackage.haskell.org/package/aeson-2.0.3.0/changelog

Alex's original work is here:
#4305

BEHAVIOR CHANGE NOTE: This change causes a different arbitrary ordering
of serialized Json, for example during metadata export. CLI users care
about this in particular, and so we need to call it out as a _behavior
change_ as we did in v2.5.0. The good news though is that after this
change ordering should be more stable (alphabetical key order).

See: https://hasurahq.slack.com/archives/C01M20G1YRW/p1654012632634389

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4611
Co-authored-by: awjchen <13142944+awjchen@users.noreply.github.com>
GitOrigin-RevId: 700265162c782739b2bb88300ee3cda3819b2e87
2022-06-08 15:32:27 +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