Commit graph

171 commits

Author SHA1 Message Date
Michael J. Sullivan
cfa3729307
Fix some postgres submodule check issues (#6717) 2024-01-20 12:15:06 -08:00
Aljaž Mur Eržen
18c7f69445
GH job to check that postgres/ has not been unintentianally changed, take 2 (#6715) 2024-01-19 09:36:44 +01:00
Aljaž Mur Eržen
a8e2933dc2
GH job to check that postgres/ has not been unintentianally changed (#6710) 2024-01-19 08:20:40 +01:00
Michael J. Sullivan
d5fcce58f0
Retry download-artifacts when it fails (#6522)
For now, I've only made the change when doing "Download shared
artifacts", which is the place where we have observed flakiness.

We do this using https://github.com/marketplace/actions/retry-action

Fixes #6429.

Co-authored-by: Fantix King <fantix.king@gmail.com>
2023-11-28 07:51:34 -08:00
Michael J. Sullivan
3b4cd480af
Enable CI testing of patches to the auth extension (#6406)
Have the patches testing script populate httpextauth with the
appropriate extensions, so that patching installed extensions will be
tested.

This required some adjusting of the test suite to make happen, since
BaseHttpExtensionTest would unconditionally create the extensions, but
we need to skip that if they already exist. It turns out that the base
DatabaseTestCase *also* has an EXTENSIONS property, and it populates
the extensions using a migration, which fits what we want perfectly.
Just ditch the whole `get_extension_name` bit.
2023-10-31 15:23:36 -07:00
Michael J. Sullivan
12b446166a
Try running HA tets on postgres 14 again (#6370)
Until #6332 is fixed, at least.
2023-10-26 15:04:28 -07:00
Aljaž Mur Eržen
4c7e6b5d51
Fix GA dryrun workflow (#6330) 2023-10-24 09:18:08 +02:00
Aljaž Mur Eržen
b268316530
Update bundled Postgres to 16 (#6325) 2023-10-23 20:13:03 +02:00
Michael J. Sullivan
be09351a3d
Update bundled Postgres to 15.4 (#6321)
We should do 16 soon too.
2023-10-19 16:25:34 -07:00
Michael J. Sullivan
2d7ff2e556
Switch actions workflows to use releases/ instead of stable/ (#6320) 2023-10-19 15:21:23 -07:00
Fantix King
5ddabdbd33
Drop support of PostgreSQL 13 (#6237) 2023-10-05 16:03:31 -05:00
Elvis Pranskevichus
6757849e19
Add dry run package build workflow variant (#6192)
Identical to the nightly workflow, but does not do any publishing, just
builds and tests.
2023-09-28 16:39:44 -07:00
Devon Campbell
96b77905aa
Skip notification job if event is PR (#6180)
* Skip notification job if event is PR

* Pin 3rd-party notification workflow to full SHA
2023-09-27 18:19:01 -04:00
Michael J. Sullivan
18b3c5250a
Populate one of the test databases to be able to catch migration errors (#6066) 2023-09-14 00:52:21 -07:00
Michael J. Sullivan
00fc9fc6d9
Move the patch testing scripts into standalone files (#6061)
This makes it less of a pain to test them locally
2023-09-13 17:30:23 -07:00
Robert Blumen
f10086624a
removed targets that maco does not support' (#6046) 2023-09-12 16:11:07 -07:00
Fantix King
a63397ec4c
Fix nightly/release CI for slack notification (#6051) 2023-09-12 11:55:22 -05:00
Devon Campbell
faabbc392a
Run workflow notification only on failure (#6049) 2023-09-12 11:49:13 -04:00
Devon Campbell
890d809db0
Add failure notification (#5995) 2023-09-11 07:37:19 -04:00
Robert Blumen
5cde69bbd1
Point package server to new infra in builds (#6034) 2023-09-08 08:55:42 -07:00
Elvis Pranskevichus
17fc2e2a2d
workflows: Specify upload server destination as a full SFTP URL (#6023) 2023-09-05 17:23:44 -05:00
Elvis Pranskevichus
da26278044
Don't publish to beta genrepo (#6011)
There seem to be SSH host key verification issues, so disable this for
now.
2023-09-01 11:18:09 -07:00
Robert Blumen
9d85a41010
Add publish-beta jobs (#5971)
* Added server port to server name for the publications
2023-08-30 20:12:17 -05:00
Fantix King
620a9b02fd
Add multi-tenant support (#5882)
Includes #5830 #5833 #5869 #5881 #5889 and some other commits in #5882
2023-08-10 09:23:41 -05:00
Scott Trinh
c434a05e5f
Initial HTTP server for auth extension (#5891)
Co-authored-by: Yury Selivanov <yury@edgedb.com>
2023-08-04 16:17:16 -04:00
Fantix King
ea9abc0947
Pin Python version in CI (#5811) 2023-07-19 16:29:07 -07:00
Fantix King
e8a1093245
Support pgvector in CI for different pg versions (#5660) 2023-07-14 12:16:08 -05:00
Elvis Pranskevichus
c05bceb552
Push Docker images to ghcr.io also (#5700)
Closes: #5699
2023-06-27 14:30:08 -07:00
Michael J. Sullivan
3315b538a5
Support patching in new config settings (#5658)
* Support patching in new config settings

* Remove the version_key2 hack
2023-06-15 16:33:30 -07:00
Elvis Pranskevichus
47dc6a0a04
Add Debian 12 and RHEL 9 (via RockyLinux) to build targets (#5587)
Fixes: #4852
Fixes: #5536
2023-06-08 10:24:26 -07:00
Michael J. Sullivan
4c5c3b2ed5
Support doing patch tests against beta/rc branches (#5613) 2023-06-06 20:08:08 -07:00
Elvis Pranskevichus
5a76897b57
Fix tests on PostgreSQL 15 (#5541)
Fixes: #5231
2023-05-24 14:50:16 -07:00
Michael J. Sullivan
020b349d71
Always disable the metapkg git cache (#5432)
I am losing my mind.
2023-05-05 13:22:19 -07:00
Michael J. Sullivan
b74f43b7f2
Try to make the NOCREATEDB test suite pass (#5424)
Refresh the connection to avoid a state mismatch after restoring from dump.

Fix the explain tests to not depend on a bunch of cost numbers that can't be relied on
(though that just came up on heroku, not in non-heroku NOCREATEDB).

Skip the SQL pg_dump tests.
2023-05-04 18:57:50 -07:00
Fantix King
31f04a19f6
Parameterize schema for pg extension (uuid-ossp) (#5413)
This supports the latest Heroku where extensions must be created under
the schema "heroku_ext" instead of our preferred "edgedbext".

Co-authored-by: Elvis Pranskevichus <elvis@edgedb.com>
2023-05-04 09:37:07 -07:00
Elvis Pranskevichus
f565e8d71e
release: Remove Debian Stretch and Ubuntu Xenial (#5406)
These reached EOL upstream and are no longer supported.
2023-05-02 16:10:33 -07:00
Lars Gohr
bb780763b6
Updated elgohr/Publish-Docker-Github-Action to a supported version (v5) (#5262) 2023-04-25 12:21:21 -07:00
Fantix King
4d6e157901
CI: Fix tests on different versions of Postgres (#5117)
* Run pg tests on 14 by default
* Drop pre-1.0 dump tests
* Skip single-db tests as we can't support that for now
* Add Postgres 15 to the matrix
* Fix dump test: run dump/restore subprocess in threads

The issue was because a blocked main thread cannot detect that the
connnection is closed by the server due to being idle for 60s, and the
following raw_transaction.start passes ensure_connected() by mistake and
fails at execute().
2023-03-22 12:23:02 -05:00
Fantix King
80f40d0ba0
CI: Add support to wait until all is ready to publish (#5116)
Applied on production and testing releases.
2023-03-01 13:09:00 -06:00
Michael J. Sullivan
d18a7a372b
Fix parser build step (#5058)
Properly manage the output directory situation

I think --inplace must have previously implicitly populated build/lib?
2023-02-17 18:36:18 -08:00
Elvis Pranskevichus
9526dba9d5
workflows: Exclude pre-releases from version sort consideration
When determining whether a release is "latest", i.e. should be tagged as
such on Docker Hub, exclude possible pre-releases of the next major
version.

Issue: #4901
2023-01-18 16:13:31 -08:00
Fantix King
9168395bbd Clear CLI build cache 2022-12-29 10:48:11 -05:00
Fantix King
c9f2909098
Revert "Pin the CLI to the last working version" (#4847)
* Revert "Pin the CLI to the last working version (#4838)"

This reverts commit c651190890.

* Clear CLI build cache
2022-12-22 10:54:13 -08:00
Elvis Pranskevichus
d985f50867
workflows: Disable metapkg git cache explicitly 2022-12-01 18:23:19 -08:00
Devon Campbell
17635ac3a8
Update issue templates (#4700)
* Add CLI version field

* Add instructions for getting versions

* Add Elvis's one-liner for EdgeDB version

* Apply suggestions from code review

Co-authored-by: Elvis Pranskevichus <elvis@edgedb.com>

Co-authored-by: Elvis Pranskevichus <elvis@edgedb.com>
2022-11-21 14:22:09 -08:00
Elvis Pranskevichus
f0f77c6e07
workflows: Don't fail when there are no container version tags pushed 2022-11-20 10:14:02 -08:00
Elvis Pranskevichus
a41fbc3a2f
Avoid pushing the "latest" Docker tag when building non-stable channels 2022-11-17 21:17:04 -08:00
Elvis Pranskevichus
8ecb9aeb94
Add a workflow for the new testing channel 2022-11-17 21:09:42 -08:00
Elvis Pranskevichus
a07dc739c0
Use a common template for nightly and release build workflows 2022-11-17 21:09:42 -08:00
Elvis Pranskevichus
121609a722
Bump actions in workflows (#4684)
Use latest versions of standard actions in workflows.
2022-11-17 13:55:10 -08:00