Commit Graph

52 Commits

Author SHA1 Message Date
ashwiniag
7602629741 ci: tag release v2.44.0-beta.1
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/11027
GitOrigin-RevId: 935bd1ad87729507d82033118b1319fb8452b215
2024-09-18 06:13:13 +00:00
Vishnu Bharathi
12df40020b build: update ubi base image
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/11017
GitOrigin-RevId: 031d5c0baf449ccb43003b1b932be74c3ae063b7
2024-09-05 11:54:53 +00:00
Brandon Martin
cbf2f774d1 Update graphql-engine base images
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/11002
Co-authored-by: Vishnu Bharathi <4211715+scriptnull@users.noreply.github.com>
GitOrigin-RevId: 9e3fbe7ca7ee42461ce989d04d81dbb6461391d8
2024-08-19 05:00:07 +00:00
ashwiniag
268fdc835a ci: catalogue updates v2.42.0-beta.1 and update ubuntu base image
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10969
GitOrigin-RevId: d6a85368cbcd0564fd90cc2518f578e043bafd58
2024-07-31 11:47:13 +00:00
Samir Talwar
b2ac4d82bc Remove the version from Docker Compose files.
Recent versions of Docker Compose no longer support this, instead just printing a warning.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10937
GitOrigin-RevId: 97a82968c48f5c09d6cbe74d8ea7386979e46e7a
2024-07-17 13:49:05 +00:00
Vishnu Bharathi
540ff2289e ci: tag release v2.36.5 and update ubuntu base image
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10859
GitOrigin-RevId: 0431a98d0649e9358d5c9aba48635b5a30e1c47d
2024-06-10 09:56:02 +00:00
ashwiniag
152f6017b3 ci: release v2.36.4
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10837
GitOrigin-RevId: cb8ae91a1709022904bf66346e903654eb10ef20
2024-05-27 14:43:06 +00:00
ashwiniag
8d596f639e ci: tag release v2.39.0-beta.1 and updates base image
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10779
GitOrigin-RevId: 97e0de3147e9b79c1048c0449181d697c6ea3f5a
2024-04-25 15:14:48 +00:00
Divi
b08997c79b ci: update ubi base image
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10762
GitOrigin-RevId: 7e00d6a2f44b5e2698edde3af7e12e51b8742d51
2024-04-02 06:02:45 +00:00
Vishnu Bharathi
801e423fbb ci: tag release v2.38.0-beta.1 and update base image
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10721
GitOrigin-RevId: 8d4ee4fd86814890eb103b7416b819e7e64d1a3b
2024-03-13 13:55:57 +00:00
Vishnu Bharathi
fed4371f84 ci: tag release v2.36.3 and update base image
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10641
GitOrigin-RevId: 3fd82399241442ae1d071dbb3a50c13c6bbebbd2
2024-01-23 09:01:03 +00:00
Ananya Mohanty
72f578c777 fix TEMP_PROJECT_DIR var in cli-migrations/v3
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10612
GitOrigin-RevId: dd35138226ef3c0b0b014170588d1a1f023bb4db
2024-01-12 06:05:39 +00:00
Vishnu Bharathi
3a0b39ce79 build: update base images of graphql-engine
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10580
GitOrigin-RevId: d16a12368dac21b1e39046c2fad4cdcdf6cf2790
2023-12-22 07:32:16 +00:00
Divi
95f088a0d6 ci :add ubi9 based grapqhl-engine images
adds UBI based images(CE, EE, & cli-migrations) for amd64 and arm64
https://hasurahq.atlassian.net/browse/INFRA-1115

trivy scan for UBI based EE image:
20 Low vulns, and 11 medium. (none of the vulns have any available fix)
![image](https://github.com/hasura/graphql-engine-mono/assets/32202683/c965284b-771a-467f-a2e3-81558a8bdc72)

## Changelog

- Add a changelog entry (in the "Changelog entry" section below) if the changes in this PR have any user-facing impact. See [changelog guide](https://github.com/hasura/graphql-engine-mono/wiki/Changelog-Guide).
- If no changelog is required ignore/remove this section and add a `no-changelog-required` label to the PR.

### Component
_(Select only one. In case of multiple components, choose the most appropriate)_
- [ ] server
- [] console
- [ ] cli
- [ ] data-connector
- [x] build

### Product
_(Select all products this will be available in)_
- [x] community-edition
- [] cloud
- [x] enterprise-edition
- [] enterprise-edition-classic

### Type

_(Select only one. In case of multiple, choose the most appropriate)_
- [x] highlight
- [ ] enhancement
- [ ] bugfix
- [ ] behaviour-change
- [ ] performance-enhancement
- [ ] security-fix

### Changelog entry

release RedHat UBI-based graphql-engine docker images

---

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10499
GitOrigin-RevId: 01c6caaf1a96f68f5ef42d00cecec72a942880d5
2023-11-27 12:40:56 +00:00
Samir Talwar
250b1d4709 Upgrade pg_dump to v16.
This makes it work with PostgreSQL 16 databases.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10495
GitOrigin-RevId: ae4c25391f309106606f21d6870b2acb4c6c55e1
2023-11-20 14:09:23 +00:00
Rob Dominguez
120a9470ee docs: update cli migrations page
[DOCS-1094]: https://hasurahq.atlassian.net/browse/DOCS-1094?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10434
GitOrigin-RevId: ce6432073dd686a83a26b96d58f69553cac61c33
2023-11-07 11:12:41 +00:00
Vishnu Bharathi
0bad596067 build: update graphql-engine-base with latest base image
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10447
GitOrigin-RevId: d550d69e9772af5c0c407b4953b121485b5eed8d
2023-11-02 09:20:20 +00:00
Vishnu Bharathi
464191b3d9 build: fix vulnerabilities in main for the upcoming v2.30 release
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9839
GitOrigin-RevId: 291e54131bf4f3796a86558b7dcced621c23a95a
2023-07-12 10:18:32 +00:00
Samir Talwar
a394510252 packaging: Use Ubuntu Jammy for the server builder and base images.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9531
Co-authored-by: Vishnu Bharathi <4211715+scriptnull@users.noreply.github.com>
GitOrigin-RevId: ac2121710324ee939c13b8e9239e54a088a525c3
2023-06-20 09:35:23 +00:00
hasura-bot
d4263d286a Use COPY --chmod to remove duplicated layer.
GITHUB_PR_NUMBER: 9687
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/9687

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9407
Co-authored-by: Greg Schofield <3594838+gscho@users.noreply.github.com>
GitOrigin-RevId: 1d3a402cce66d01c2c85ee3b0b46ac6b4ce793c7
2023-06-07 22:55:45 +00:00
Samir Talwar
092be72ac1 CI: Upgrade ci-util to use the latest Ubuntu and Docker patches.
It's been a while.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9440
GitOrigin-RevId: 15d3dabd23ae640ea1d6afeea2be9d59176c19e7
2023-06-07 15:17:04 +00:00
Samir Talwar
bc8c7406df Remove native MySQL dependencies and code wherever I found it.
This includes:

  - CI scripts
  - Cabal dependency lists
  - Dockerfiles
  - Docker Compose files
  - server test harness code

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9066
GitOrigin-RevId: 509d7931693c4755509d5b8e5bcf50b42cc24769
2023-05-05 22:20:55 +00:00
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