Commit graph

191 commits

Author SHA1 Message Date
कारतोफ्फेलस्क्रिप्ट™ dbfd617ace
ci: Dry-run publishing to avoid partial publishing (no-changelog) (#7859) 2023-11-29 12:03:19 +01:00
कारतोफ्फेलस्क्रिप्ट™ 2f8cb419df
ci: Fix editor tests when coverage is enabled (no-changelog) (#7827)
[Test run
](https://github.com/n8n-io/n8n/actions/runs/7021272455/job/19103012704)
2023-11-28 18:04:30 +01:00
कारतोफ्फेलस्क्रिप्ट™ b3a3f16bc2 ci: Fix "Release: Create Pull Request" workflow 2023-11-17 14:59:01 +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
कारतोफ्फेलस्क्रिप्ट™ 6300ee342c
ci: Push to Channel workflow should update the tags on GCR as well (no-changelog) (#7727) 2023-11-15 22:09:35 +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
कारतोफ्फेलस्क्रिप्ट™ 000e76e3b4
ci(core): Reduce memory usage in tests (part-2) (no-changelog) (#7671)
This also gets rid of `Db.collection`, which was another source of
circular dependencies.
2023-11-10 15:04:26 +01:00
कारतोफ्फेलस्क्रिप्ट™ 2f665683fc
ci: Improve CI performance (no-changelog) (#7637)
1. Split backend and frontend tests to avoid them running in parallel
2. Enable coverage only on `master`
2023-11-07 14:19:39 +01:00
Omar Ajoue 869a58e158 refactor: Change to pnpm 8.9 (no-changelog) 2023-11-02 13:17:23 +01:00
Alex Grozav 721a36637c
feat(editor): Handle pin data edge cases and unify validation (no-changelog) (#6685)
Github issue / Community forum post (link here to close automatically):
2023-11-02 10:43:02 +02:00
Iván Ovejero 27f37091c8
ci: Remove PR checklist action (no-changelog) (#7577)
https://linear.app/n8n/issue/PAY-961
2023-11-02 09:27:46 +01:00
Iván Ovejero bfa28b9532
refactor: Upgrade to pnpm 8.10 (no-changelog) (#7548)
https://github.com/pnpm/pnpm/releases/tag/v8.10.0
2023-10-30 09:34:59 +01:00
Milorad FIlipović 1fb5166376
ci: Fix wrong ref in PR workflows which broke external builds (#7431)
Github issue / Community forum post (link here to close automatically):
#7423

This PR updates reference passed to the `checkout` action by the
`cy-pull-request.ym`. This should fix three existing issues:
- Failing unit tests for external pull requests
- Failing e2e tests for external PRs
- Passing empty `ref` to `lint` job which makes linter run on a wrong
branch
2023-10-13 10:44:26 +02:00
कारतोफ्फेलस्क्रिप्ट™ c77042f2bb
ci: Enable ARM64 builds for beta images (no-changelog) (#7403)
Fixes #7389
2023-10-11 14:06:02 +02:00
Iván Ovejero 5c70704f88
refactor: Upgrade to pnpm 8.9 (no-changelog) (#7393)
https://github.com/pnpm/pnpm/releases/tag/v8.9.0
2023-10-10 12:07:13 +02:00
कारतोफ्फेलस्क्रिप्ट™ 6b078239eb ci: Identify NPM releases as stable (no-changelog) 2023-10-10 11:44:35 +02:00
कारतोफ्फेलस्क्रिप्ट™ bc9fa10b06 ci: Remove scheduled build for beta, and fix the inputs (no-changelog) 2023-10-03 21:45:13 +02:00
Jan Oberhauser 04632ef1b8
build(core): Change used branch + use different Docker tag (#7338)
Github issue / Community forum post (link here to close automatically):
2023-10-03 20:59:37 +02:00
कारतोफ्फेलस्क्रिप्ट™ 101255d186
ci: Make builds release-channel aware. Add support for scheduled beta builds (#7323)
ADO-1121

---------

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2023-10-03 20:49:04 +02: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
कारतोफ्फेलस्क्रिप्ट™ c18ba370d5
ci: Remove eslint diff plugin. Run full linting on PRs (no-changelog) (#7175) 2023-09-14 16:55:06 +02:00
Milorad FIlipović c11dfbbe00
ci: Add reusable unit test workflow (no-changelog) (#7159)
Github issue / Community forum post (link here to close automatically):

---------

Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-09-13 15:24:02 +02:00
कारतोफ्फेलस्क्रिप्ट™ 6b06890ffe
ci: Fix master build on Nodejs 20 (no-changelog) (#7119)
[`shelljs` is broken on Nodejs
20.6](https://github.com/shelljs/shelljs/issues/1133). Until that is
resolved, we should fix the version to 20.5
2023-09-06 13:16:39 +02:00
Jon c04a996fb4
fix: Change the name for checking issue template content (no-changelog) (#7101)
Github issue / Community forum post (link here to close automatically):
https://github.com/n8n-io/n8n/issues/7100
2023-09-05 10:24:07 +01:00
Iván Ovejero 3323167c91
ci: Test Postgres and MySQL on migration PRs (no-changelog) (#7102) 2023-09-05 10:58:15 +02:00
कारतोफ्फेलस्क्रिप्ट™ a693b29134
ci: Fix prettier auto-formatting (no-changelog) (#7063) 2023-09-01 13:29:31 +02:00
कारतोफ्फेलस्क्रिप्ट™ 1b4247498b ci: Trim FE package.json files before publishing (no-changelog) 2023-08-31 14:45:44 +02:00
Iván Ovejero 60c20a4ffd
refactor: Upgrade to pnpm 8.7 (no-changelog) (#7025)
https://github.com/pnpm/pnpm/releases/tag/v8.7.0
2023-08-28 10:10:59 +02:00
कारतोफ्फेलस्क्रिप्ट™ 9e3e298aca
ci: Fix versions of all external Github actions (no-changelog) (#6984) 2023-08-22 11:21:16 +02:00
Iván Ovejero 7ce5d8fd90
refactor: Upgrade to Prettier 3 (no-changelog) (#6947)
Supersedes https://github.com/n8n-io/n8n/pull/6937

Excluding fixtures and test workflow JSONs to avoid having to update
tests.
2023-08-16 17:13:57 +02:00
Iván Ovejero f93270abd5
ci: Parallelize ci-master (no-changelog) (#6819)
* ci: Parallelize `ci-master` (no-changelog)

* ci: Move notify-on-failure to own job

* ci: Fix syntax

* ci: Dry run by adding branch

* ci: Fix job reference

* ci: Ensure full lint

* ci: Restore `CI_LINT_MASTER`

* ci: Remove env from top level

* ci: Add matrix strategy

* ci: Remove excess quotes

* ci: Remove excess key

* ci: Try with `run_install`

* Revert "ci: Try with `run_install`"

This reverts commit e5778c5735.

* ci: Add missing strategy

* ci: Remove temp branch

* test: Comment out test (from other PR)
2023-08-02 17:38:35 +02:00
कारतोफ्फेलस्क्रिप्ट™ 5b99f1e177 ci: Update changelog generation to work with node 18 2023-07-26 10:28:54 +02:00
कारतोफ्फेलस्क्रिप्ट™ cc29c4da74
ci: Fix test workflows (no-changelog) (#6698)
* ci: Fix test workflows (no-changelog)

We removed `pdf-parse` in #6640, so we need to get these test PDF files from the `test-workflows` repo instead ([which has been updated to include these files](0f6ef1c804))

* remove `\n` from ids and skipList text files
2023-07-19 14:15:38 +02:00
Iván Ovejero 2a6cd26def
ci: Fix test checker glob (no changelog) (#6682)
ci: Fix test checker glob
2023-07-18 12:54:05 +02:00
कारतोफ्फेलस्क्रिप्ट™ 9daf944ba5
fix(core): Upgrade semver to address CVE-2022-25883 (#6689)
* fix(core): Upgrade semver to address CVE-2022-25883

[GH Advisory](https://github.com/advisories/GHSA-c2qf-rxjj-qqgw)

* enforce the patched version of semver everywhere in the dev setup
2023-07-18 12:43:49 +02:00
कारतोफ्फेलस्क्रिप्ट™ b701dcb8ef
ci!: Drop support for Node.js 16. Add initial support for Node.js 20 (#6649)
We need to drop 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).

`0.236.x` releases will continue to support Node.js 16 for another two months, and `1.x.x` releases will only support Node.js 18 for now.
2023-07-12 15:03:23 +02:00
कारतोफ्फेलस्क्रिप्ट™ ad581566ae
ci: Run checklist job as a separate workflow (no-changelog) (#6645) 2023-07-12 12:51:51 +02:00
कारतोफ्फेलस्क्रिप्ट™ e33cc2c27c Merge remote-tracking branch 'origin/master' into release/1.0.1 2023-07-05 20:01:24 +02:00
Csaba Tuncsik 3ca66be380
fix(editor): Show retry information in execution list only when it exists (#6587)
* fix(editor): Show retry information in execution list only when it exists

* build: Fix checking for test files
2023-07-04 09:42:58 +02:00
agobrech 7a8b85ab11
ci: Add Github Action to enforce template to issues (#5295)
Add workflow template for enforcing issue template
2023-06-30 11:07:37 +02:00
कारतोफ्फेलस्क्रिप्ट™ 48a32e384a ci: Update release process to support major releases (no-changelog) (#6552) 2023-06-27 16:16:18 +02:00
कारतोफ्फेलस्क्रिप्ट™ 5b5f30fd33
ci: Update release process to support major releases (no-changelog) (#6552) 2023-06-27 16:15:29 +02:00
कारतोफ्फेलस्क्रिप्ट™ 5b3c6829f4 ci: Automate no-changelog removal in generated changelog (no-changelog) (#6511) 2023-06-27 10:33:21 +02:00
कारतोफ्फेलस्क्रिप्ट™ e239730715
ci: Automate no-changelog removal in generated changelog (no-changelog) (#6511) 2023-06-26 12:04:21 +02:00
कारतोफ्फेलस्क्रिप्ट™ 0e071724ee
ci: Refactor e2e tests to delete boilerplate code (no-changelog) (#6524) 2023-06-23 00:38:12 +02:00
कारतोफ्फेलस्क्रिप्ट™ f024d8be5a ci!: Update docker images for v1 release (#6365)
* ci: Remove debian and rhel7 images

* include libc6-compat in all alpine images

* run all n8n docker containers as the user `node` instead of `root`

* upgrade the default version of npm bundled in all containers

* consolidate docker entrypoints
2023-06-22 19:57:59 +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
Csaba Tuncsik 58e4e56302
build: Check test files (#6455)
* build: Check test files

* build: update test file checker glob pattern

* build: ignore changed files in test folders

* build: fix  gh workflow

* build: update gh events in workflow

* build: fix gh workflow

* build: fix gh workflow action script path

* build: fix gh workflow script

* build: fix gh workflow script

* build: fix gh workflow script

* build: fix gh workflow script

* build: fix gh workflow script

* build: update gh actions

* build: update gh actions

* build: test change file without test

* Revert "build: test change file without test"

This reverts commit 73f5c544c5.

* build: test change file that already has test

* build: fix action script

* Revert "build: test change file that already has test"

This reverts commit 21be611abf.

* build: update script

* build: test checking with test file change

* Revert "build: test checking with test file change"

This reverts commit 995b64f6ba.

* build: change file with no testable content

* build: use typescript to traverse a file

* Revert "build: change file with no testable content"

This reverts commit 05974b67c7.

* build: change file with no testable content

* Revert "build: change file with no testable content"

This reverts commit 187cc57291.

* build: change file with testable content

* Revert "build: change file with testable content"

This reverts commit ce716119b7.

* build: add vue file without test

* Revert "build: add vue file without test"

This reverts commit 756f28a373.

* build: add vue file with test

* Revert "build: add vue file with test"

This reverts commit 8022b112fc.

* build: gather all missing tests at once

* build: allow job to fail

* build: update error message
2023-06-20 13:35:04 +02:00