Commit Graph

56 Commits

Author SHA1 Message Date
Declan Carroll
b0180450bc ci: Improve DB integration tests (#19597) 2025-09-17 07:36:12 +01:00
Daria
12f12da288 feat(core): Add mysql pool size and increase it for CI (no-changelog) (#19347) 2025-09-11 11:14:02 +03:00
Iván Ovejero
1e58e24400 ci: Drop MySQL 8.0.13 (#18759) 2025-08-26 10:03:53 +02:00
Iván Ovejero
0a4c3c3b53 ci: Increase timeout for MariaDB and MySQL tests again (#18732) 2025-08-25 13:01:29 +02:00
Eugene
3386047321 fix: Also run DB tests in CI when any test inside CLI package have changes (#18527) 2025-08-19 10:08:05 +02:00
Iván Ovejero
78c556e875 ci: Run Postgres and MySQL tests on changes to module entities and repositories (#18526) 2025-08-19 09:54:27 +02:00
shortstacked
53d272c251 ci: Adjust memory usage and build/test steps (#17743) 2025-07-28 13:31:43 +01:00
shortstacked
49a52a1150 ci: Update Turbo config and GH actions (#17595) 2025-07-28 10:07:28 +01:00
Iván Ovejero
aa1c3e497e ci: Prevent cancelling in-progress Postgres and MySQL tests (#16179) 2025-06-10 13:33:56 +02:00
कारतोफ्फेलस्क्रिप्ट™
52a9d4b3d9 ci: Use node.js 22 by default. Add initial support for node.js 24 (#16018) 2025-06-04 17:49:31 +02:00
shortstacked
7ae67f016d ci: Add Trivy Scan as notification to release/nightly (no-changelog) (#15868) 2025-06-02 12:24:50 +01:00
Iván Ovejero
38137d8bc3 chore(core): Update all refs from cli/src/databases to @n8n/db (#15708) 2025-05-27 11:41:27 +02:00
shortstacked
fea5b1633a feat: Expand DB tests to relevant paths (no-changelog) (#15419) 2025-05-15 15:50:49 +02:00
Iván Ovejero
cc723a12e8 ci: Increase timeout for MariaDB and MySQL tests (#14961) 2025-04-29 14:48:50 +02:00
कारतोफ्फेलस्क्रिप्ट™
9f752016cd ci: Fix DB tests (no-changelog) (#14435) 2025-04-07 11:10:21 +02:00
Danny Martini
7fb6eb1488 ci: Also run MySQL and PG tests when modules have changes in repos or entities (#14170) 2025-03-25 16:41:48 +01:00
कारतोफ्फेलस्क्रिप्ट™
43e14b23b0 ci: Pin all workflow actions (#13984) 2025-03-18 13:25:17 +01:00
कारतोफ्फेलस्क्रिप्ट™
d2dd1796a8 chore: Lintfix and format (no-changelog) (#13705) 2025-03-05 16:50:43 +01:00
Eugene
d0968a10d5 fix(core): Fix DB migrations for MySQL (#13261) 2025-02-18 13:16:46 +01:00
Iván Ovejero
f03e5e7d22 build: Upgrade actions/cache to fix CI (#13197) 2025-02-11 17:27:12 +01:00
कारतोफ्फेलस्क्रिप्ट™
18b6867785 ci: Update corepack before enabling it (no-changelog) (#13004) 2025-02-03 11:16:18 +01:00
कारतोफ्फेलस्क्रिप्ट™
1fe6a2786c ci: Temporarily increase MySQL tests timeout (#12403) 2024-12-30 14:49:42 +01:00
कारतोफ्फेलस्क्रिप्ट™
e1dacb4d57 ci: Fix mysql tests (no-changelog) (#11799) 2024-11-20 09:56:14 +01:00
Tomi Turtiainen
7d35ebc61e ci: Ignore certain paths for e2e tests for PRs (no-changelog) (#10533) 2024-09-16 21:09:44 +03:00
कारतोफ्फेलस्क्रिप्ट™
c8ab9b1f84 ci: Automate more of the release process (no-changelog) (#10416) 2024-08-22 11:41:53 +02:00
कारतोफ्फेलस्क्रिप्ट™
b910ed6847 ci: Use turbo for build cache (no-changelog) (#9696) 2024-07-05 17:43:52 +02:00
कारतोफ्फेलस्क्रिप्ट™
6ea8607716 ci: Switch to Node.js 20 by default. Add initial support for Node.js 22 (#9501) 2024-05-24 12:32:50 +02:00
कारतोफ्फेलस्क्रिप्ट™
3094f1b886 fix(core): Detect DB connection aquisition deadlocks (no-changelog) (#9485)
Co-authored-by: Danny Martini <danny@n8n.io>
2024-05-22 14:53:23 +02:00
Danny Martini
ece60449b9 ci: Increase timeout of MySQL tests (#9332) 2024-05-08 11:00:20 +02:00
कारतोफ्फेलस्क्रिप्ट™
eab01876ab ci: Update isbang/compose-action and postgres in DB tests (no-changelog) (#9165) 2024-04-18 16:35:19 +02:00
कारतोफ्फेलस्क्रिप्ट™
c4c319d7cf feat(core): Add support for SQLite connection pooling (#8722) 2024-03-14 13:45:16 +01:00
कारतोफ्फेलस्क्रिप्ट™
d4607381ed ci: Replace pnpm/action-setup action with corepack (no-changelog) (#8504) 2024-02-02 09:47:58 +01:00
कारतोफ्फेलस्क्रिप्ट™
e5514793f6 ci: Update GH actions (no-changelog) (#8453) 2024-01-26 11:26:30 +01:00
Iván Ovejero
97aa38e783 ci: Fix Postgres and MySQL tests (no-changelog) (#8106)
This role query works for sqlite but [fails for Postgres and
MySQL](https://github.com/n8n-io/n8n/actions/runs/7269009778/job/19805986017),
so generalize by adding alias and accounting for count possibly being
`string` in the resulting rows.

Run in progress: https://github.com/n8n-io/n8n/actions/runs/7275986797
2023-12-20 15:14:31 +01:00
कारतोफ्फेलस्क्रिप्ट™
19e88ec8a1 ci: Fix the concurrency group for db tests (no-changelog) (#7998)
The CI concurrency group was incorrectly named in
https://github.com/n8n-io/n8n/pull/7656.
This PR fixes that.
2023-12-12 10:32:13 +01:00
कारतोफ्फेलस्क्रिप्ट™
abe36691ab ci: Fix DB tests and Workflow tests (no-changelog) (#7741)
[Workflow Tests](https://github.com/n8n-io/n8n/actions/runs/6901672210)
[DB Tests](https://github.com/n8n-io/n8n/actions/runs/6901673148)
2023-11-17 10:07:19 +01:00
Iván Ovejero
3dfabc37d8 ci: Rename build alerts channel (no-changelog) (#7695)
Please do not merge until renamed in Slack.
2023-11-13 13:35:21 +01:00
कारतोफ्फेलस्क्रिप्ट™
32ddb4d04b ci: Auto-cancel redundant CI jobs (no-changelog) (#7656)
This should help us reduce the load on CI workers to some extend.
2023-11-10 15:26:42 +01:00
कारतोफ्फेलस्क्रिप्ट™
cf5a0ca456 ci: Refactor DB tests (no-changelog) (#7292)
[DB tests](https://github.com/n8n-io/n8n/actions/runs/6340094467)
2023-09-28 16:53:05 +02:00
Iván Ovejero
251abe9240 ci: Adjust Postgres/MySQL failure notification (no-changelog) (#7262)
Prevent DB test runs on PRs from spamming the build alerts channel.

Ref: https://github.com/n8n-io/n8n/actions/runs/6298825743
2023-09-26 18:00:00 +02:00
Iván Ovejero
3323167c91 ci: Test Postgres and MySQL on migration PRs (no-changelog) (#7102) 2023-09-05 10:58:15 +02:00
कारतोफ्फेलस्क्रिप्ट™
9e3e298aca ci: Fix versions of all external Github actions (no-changelog) (#6984) 2023-08-22 11:21:16 +02:00
Omar Ajoue
044c710a8e fix: Make MySQL migration for nano id change compatible with version 5.7 (#6498)
* fix: Make migration for MySQL compatible with version 5.7

* fix: Correct syntax

* fix: Syntax for primary key creation

* fix: Remove unnecessary constraint statement

* fix: Name columns for sqlite migration to prevent issues

* ci: Always run DB tests with table-prefix and alt-schema

* add tablePrefix to migrations (mysql not fixed)

* fix character_set on mysql migrations

* fix mysql collation version difference

* cater for mariadb collations

---------

Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
Co-authored-by: Michael Auerswald <michael.auerswald@gmail.com>
2023-06-21 17:10:47 +02:00
कारतोफ्फेलस्क्रिप्ट™
968b733fd6 ci: Add support for Node.js 18 (#5793)
* ci: Start supporting Node.js 18

Node.js 18 became the active LTS on 2022-10-25, and Node.js 16 went into maintenance mode.
https://github.com/nodejs/Release#release-schedule

We should also slowly deprecate node 16 support, [as support for it is ends much earlier now, due to support for openssl 1.1.1 ending](https://nodejs.org/en/blog/announcements/nodejs16-eol).

* Remove hashing algorithms that are not available in newer node.js/openssl

- RSA-MD4
- RSA-MDC2
- md4
- md4WithRSAEncryption
- mdc2
- mdc2WithRSA

* in e2e tests, resolve `localhost` to ipv4 instead of ipv6
2023-06-02 15:23:28 +02:00
कारतोफ्फेलस्क्रिप्ट™
e1aa654835 ci: Revert "Set up Turborepo cache for GitHub actions runner" (#6364) (no-changelog)
Revert "ci: Set up Turborepo cache for GitHub actions runner (no-changelog) (#6335)"

This reverts commit 9dfc11037b.
2023-06-02 12:11:36 +02:00
Iván Ovejero
9dfc11037b ci: Set up Turborepo cache for GitHub actions runner (no-changelog) (#6335) 2023-06-02 10:57:53 +02:00
कारतोफ्फेलस्क्रिप्ट™
a1b1f24ddf feat(core): Replace client-oauth2 with an in-repo package (#6266)
Co-authored-by: Marcus <marcus@n8n.io>
2023-05-17 16:40:53 +02:00
कारतोफ्फेलस्क्रिप्ट™
1b1dc0e655 ci: Increase timeout for DB tests (no-changelog) (#6221) 2023-05-10 16:16:33 +02:00
कारतोफ्फेलस्क्रिप्ट™
e4796c169b ci: Run db tests with a table-prefix as well (no-changelog) (#5818) 2023-03-30 15:09:13 +02:00
Iván Ovejero
a0c5232aa5 fix: Build cli to fix Postgres and MySQL test runs (#5171) 2023-01-16 11:12:09 +01:00