Commit graph

243 commits

Author SHA1 Message Date
Iván Ovejero 50e416d9ae
ci: Remove master from autocancelling redundant CI jobs (no-changelog) (#7929)
## Summary

Autocancelling redundant CI jobs for `master` makes it harder to track
health of `master`, in exchange for minor savings.

Context:
https://n8nio.slack.com/archives/C03MZF137FV/p1701771923477659?thread_ts=1699522038.290849&cid=C03MZF137FV

...

#### How to test the change:
1. ...


## Issues fixed
Include links to Github issue or Community forum post or **Linear
ticket**:
> Important in order to close automatically and provide context to
reviewers

...


## Review / Merge checklist
- [ ] PR title and summary are descriptive. **Remember, the title
automatically goes into the changelog. Use `(no-changelog)` otherwise.**
([conventions](https://github.com/n8n-io/n8n/blob/master/.github/pull_request_title_conventions.md))
- [ ] [Docs updated](https://github.com/n8n-io/n8n-docs) or follow-up
ticket created.
- [ ] Tests included.
> A bug is not considered fixed, unless a test is added to prevent it
from happening again. A feature is not complete without tests.
  >
> *(internal)* You can use Slack commands to trigger [e2e
tests](https://www.notion.so/n8n/How-to-use-Test-Instances-d65f49dfc51f441ea44367fb6f67eb0a?pvs=4#a39f9e5ba64a48b58a71d81c837e8227)
or [deploy test
instance](https://www.notion.so/n8n/How-to-use-Test-Instances-d65f49dfc51f441ea44367fb6f67eb0a?pvs=4#f6a177d32bde4b57ae2da0b8e454bfce)
or [deploy early access version on
Cloud](https://www.notion.so/n8n/Cloudbot-3dbe779836004972b7057bc989526998?pvs=4#fef2d36ab02247e1a0f65a74f6fb534e).
2023-12-05 12:15:49 +01:00
Mutasem Aldmour 403ba6e9ca
docs: Create PR template (no-changelog) (#7902)
## Summary
Provide details about your pull request and what it adds, fixes, or
changes. Photos and videos are recommended.
Add PR template

#### How to test the change:
1. Create new PR.


## Issues fixed
Include links to Github issue or Community forum post or **Linear
ticket**:
> Important in order to close automatically and provide context to
reviewers

[ADO-1200](https://linear.app/n8n/issue/ADO-1200/tech-debt-checklist)


## Review / Merge checklist
- [X] PR title and summary are descriptive. **Remember, the title
automatically goes into the changelog. Use `(no-changelog)` otherwise.**
([convetions](./blob/master/pull_request_title_conventions.md))
- [ ] [Docs updated](https://github.com/n8n-io/n8n-docs) or follow-up
ticket created.
- [ ] Tests included.
   > A feature is not complete without tests. 
> A bug is not considered fixed, unless a test is added to prevent it
from happening again.
   >
> *(internal)* You can use Slack commands to trigger [e2e
tests](https://www.notion.so/n8n/How-to-use-Test-Instances-d65f49dfc51f441ea44367fb6f67eb0a?pvs=4#a39f9e5ba64a48b58a71d81c837e8227)
or [deploy test
instance](https://www.notion.so/n8n/How-to-use-Test-Instances-d65f49dfc51f441ea44367fb6f67eb0a?pvs=4#f6a177d32bde4b57ae2da0b8e454bfce)
or [deploy early access version on
Cloud](https://www.notion.so/n8n/Cloudbot-3dbe779836004972b7057bc989526998?pvs=4#fef2d36ab02247e1a0f65a74f6fb534e).
2023-12-01 16:27:51 +01:00
कारतोफ्फेलस्क्रिप्ट™ 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
Iván Ovejero 6a7d1aedb1
ci: Prevent e2e failure on commented type review (no-changelog) (#6452) 2023-06-16 12:17:04 +02:00
Csaba Tuncsik 8c562a51cc
build: Update pnpm lock file (no-changelog) (#6395)
* build: Update pnpm lock file

* update pnpm version

---------

Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-06-07 11:01:44 +02:00
agobrech 3a1e96dc6d
ci: Improve Test-worklows messages (#6290)
* Update test-worklows action

* Improve error messages

* Fix output data to slack

* Fix slackmessage

* add github flag

* add slack config

* Add result to github output

* Fix output string

* Remove old comment for oauth2

* Remove console.logs

* Improve message

* Update to different slack action

* update payload

* Fix wrong json

* debugging

* Revert "update payload"

This reverts commit 4ea955c85e.

* Reverted to old slack action

* Update slack config

* Remove fallback value

* Change config name

* tests

* more tests

* tests

* Use single message

* message fixes

* Final fixes

* Correct channel

* delete slack.yml config

* keep unused Export credentials step for later

---------

Co-authored-by: Marcus <marcus@n8n.io>
2023-06-05 11:20:58 +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
कारतोफ्फेलस्क्रिप्ट™ e8b51c8da9
ci: Update the release process for v1 release (#6366)
* release 1.0.0-rc from release-v1 branch.
* allow creating major releases
* disable merging releases back into master
2023-06-02 14:18:32 +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
कारतोफ्फेलस्क्रिप्ट™ b7d30f3eab
fix: Revert "Replace client-oauth2 with an in-repo package" (no-changelog) (#6265)
Revert "feat(core): Replace client-oauth2 with an in-repo package (#6056)"

This reverts commit 77ac953eaf.
2023-05-17 10:53:03 +02:00
कारतोफ्फेलस्क्रिप्ट™ 77ac953eaf
feat(core): Replace client-oauth2 with an in-repo package (#6056)
Co-authored-by: Marcus <marcus@n8n.io>
2023-05-16 16:31:11 +02:00
OlegIvaniv 1626782880
ci: Debug e2e pipeline (no-changelog) (#6240)
* chore: Debug e2e pipeline

* Always fail e2e is PR status is not approved
2023-05-12 17:00:28 +02:00
कारतोफ्फेलस्क्रिप्ट™ 1b1dc0e655
ci: Increase timeout for DB tests (no-changelog) (#6221) 2023-05-10 16:16:33 +02:00
कारतोफ्फेलस्क्रिप्ट™ cbc4256007
ci: Fix v1 docker rc builds (no-changelog) (#6208) 2023-05-09 17:29:59 +02:00
कारतोफ्फेलस्क्रिप्ट™ 0494022ad3
ci: Create a nightly v1 docker image (no-changelog) (#6197)
ci: Create a nightly v1 docker image
2023-05-08 15:03:57 +02:00
OlegIvaniv e4356283a8
ci: Additionally checkout PR head for e2e tests (no-changelog) (#6105)
* ci: Do not force branch for PR e2e smoke tests

* Use commit SHA for smoke test

* Debug: Echo git before running e2e

* Debugging: Create local merge commit

* Use container with git installed

* Debugging: Manual git checkout PR

* Do not skip checkout

* Use container with git installed

* Add breaking test, install git manualyl

* Use sudo

* Use container with git preinstalled

* Remove debugging e2e
2023-04-27 13:09:50 +02:00
Deborah f2cbe89785
ci: Update the release workflow (no-changelog) (#6088) 2023-04-26 16:08:02 +02:00
कारतोफ्फेलस्क्रिप्ट™ 4ba9e3d4b3
ci: Increase the timeout on the release process (no-changelog) (#6078) 2023-04-24 16:08:20 +02:00
OlegIvaniv d17d050a16
ci(editor): Do not run parallel jobs for a single spec (no-changelog) (#6052)
* ci(editor): Do not run parallel jobs for a single spec

* Fix syntax

* Only post e2e success comment on actual e2e success

* Set e2e-reusable output and check all container state
2023-04-21 13:31:39 +02:00
कारतोफ्फेलस्क्रिप्ट™ 0776257490
ci: Add a workflow to push n8n releases to release channels (no-changelog) (#5839)
add a workflow to push n8n releases to release channels
2023-04-14 13:56:12 +02:00
OlegIvaniv ea8c48ad37
ci: Skip e2e tests for community PRs (no-changelog) (#5971)
ci: Skip e2e tests for community PRs
2023-04-13 18:16:24 +02:00
OlegIvaniv 60d28fc761
ci: Prevent skipping of E2E fail job (no-changelog) (#5958)
* ci: Prevent skipping of E2E fail job (no-changelog)

* Set `continue-on-error: true` for e2e-reusable and add fail job

* Always run e2e checks

* Update 1-workflows.cy.ts

---------

Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <netroy@users.noreply.github.com>
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-04-12 14:13:42 +02:00
OlegIvaniv b1e1c5b306
ci(editor): Add final checking step after PR E2E run (no-changelog) (#5914)
* ci(editor): Add final checking step after PR E2E run (no-changelog)

* Fix spacing

* Fix markdown
2023-04-06 10:15:26 +02:00
Alex Grozav dba5be37ae
feat: Add Sentry sourcemap uploading for editor-ui (no-changelog) (#5870)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-04-05 17:14:41 +02:00
Jan Oberhauser bdcfcb2ef7 Merge tag 'n8n@0.222.1' 2023-04-04 17:31:48 +02:00
github-actions[bot] 64fa80fe8a
🚀 Release 0.222.1 (#5897) 2023-04-04 15:36:08 +02:00
OlegIvaniv 5ff3dea7bb
ci: Always run e2e tests on PR approval (no-changelog) (#5900)
ci: Always run e2e tests on PR approval
2023-04-04 12:29:52 +02:00
कारतोफ्फेलस्क्रिप्ट™ e4796c169b
ci: Run db tests with a table-prefix as well (no-changelog) (#5818) 2023-03-30 15:09:13 +02:00
कारतोफ्फेलस्क्रिप्ट™ 9e9003bf13
ci: Drop support for Node.js 14 (#5835)
Node.js 14 goes EOL on 2023-04-30, and support for it should be dropped.
https://github.com/nodejs/Release#release-schedule
2023-03-30 12:23:39 +02:00
कारतोफ्फेलस्क्रिप्ट™ dc7e8c64e7
ci: Upgrade pnpm and turborepo (no-changelog) (#5820)
* ci: Upgrade pnpm to v8 (no-changelog)

* ci: Upgrade turborepo (no-changelog)
2023-03-30 11:54:37 +02:00
कारतोफ्फेलस्क्रिप्ट™ eb3ba83e63
ci: Setup code-coverage reporting for frontend packages (no-changelog) (#5679) 2023-03-14 13:13:21 +01:00
कारतोफ्फेलस्क्रिप्ट™ 3831201aaf
ci: Setup code-coverage reporting (no-changelog) (#5669) 2023-03-10 16:53:05 +01:00
कारतोफ्फेलस्क्रिप्ट™ 69b124fc78 ci: Allow releasing new versions as long as one of the packages is modified (no-changelog) 2023-03-10 13:28:11 +01:00
कारतोफ्फेलस्क्रिप्ट™ edf6313fa5
ci: Fix e2e tests (no-changelog) (#5658)
* ci: Fix e2e tests (no-changelog)

* Fix sign-in cypress command

* Run smoke test against head branch instead of base

---------

Co-authored-by: Oleg Ivaniv <oleg@n8n.io>
2023-03-09 17:08:47 +01:00
Mutasem Aldmour 71c349b071
ci: Add PR checklist (#5628)
* ci: Add PR checklist

* chore: add test change

* ci: add name

* ci: merge into workfow

* test: test action

* ci: add checklist

* ci: test checklist

* ci: remove comment

* ci: test checklist

* ci: add item to check item

* ci: update checklist items

* ci: add checklist item for migraitons

* ci: add hooks checklist item

* chore: remove comment
2023-03-09 12:49:37 +01:00
Mutasem Aldmour 6c1286fadf
ci: Remove second code owners for migrations (#5636)
* ci: Remove second code owners for migrations

* add a new line at the end of the file

---------

Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <netroy@users.noreply.github.com>
2023-03-07 10:58:27 +01:00
Mutasem Aldmour 96142d78de
ci: Add migrations code owners (#5625)
* ci: Add migrations code owners

* ci: add second review

* chore: add comment
2023-03-06 13:32:36 +01:00
कारतोफ्फेलस्क्रिप्ट™ d6357eed8c
ci: Disable provenance attestation on docker images to work around docker/buildx#1533 (#5617)
Fixes https://github.com/n8n-io/n8n/issues/5394
2023-03-06 09:53:50 +01:00
OlegIvaniv ddfa16cf27
refactor(editor): Add spec input to e2e-tests workflow (no-changelog) (#5622)
refactor(editor): Add spec input to e2e-tests workflow to run specific specs
2023-03-06 09:36:05 +01:00
OlegIvaniv 0004dc7ee8
ci(editor): Run e2e tests in parallel and improve build caching (#5445)
* WIP: Cypress parallel CI run test

* Trigger action on branch push

* Change build artifacts path

* Make sure to checkout the repo for testing job

* Use Cypress action for installing

* Lock cypress action userd version

* Skip node install step since we're using cypress node16 container

* Let Cypress handle pnpm install

* Use setup-node action for caching pnpm

* Set CYPRESS_CACHE_FOLDER

* Set CYPRESS_CACHE_FOLDER

* Manually cache pnpm store

* Dont fix pnpm version

* Use caching action also in testing job

* Zip packages dist before uploading the artifacts and change caching key

* Use absolute build paths for zipping job

* Use zip command in action

* Use tar for zipping packages

* Debuggin directory ls

* Debugging caching of modules

* Attempt to fix permissions issue

* Porivde Cypress executable via `CYPRESS_RUN_BINARY`

* Cache /github/home

* Adjust caching keys

* Debug: search for cypress exec

* Debugging: List dirs

* Use pnpm install action to install node_modules

* Do not log /home/runner

* Use node_modules/.bin Cypress binary

* Use absolute path to nodue modules

* Run Cypress via custom command

* Try with patched cypress action

* Revert logging

* Manually specify cypress config file

* Use absolute paths

* Fix cypress config name

* Debug print cypress config

* Remove debugging, increase to 4 containers

* Increase amount of containers

* Add env-version matrix

* Replace node14 with node18 in testing matrix

* Remove debugging and add node 14

* Use just node14

* Use cypress:base and remove browser req

* Give more general timeouts

* Try with node16

* Change cache directive position

* Replace zip artifact upload with cache

* Cache full packages not just dist

* Test with variable inputs

* Add commit info message

* Remove wrongly commited code

* Allow WF API dispatch

* Try Chrome browser again for comparison

* Include Monaco in the build

* Make e2e workflow re-usable

* Comment out invalid reusable workflow args

* Use electron and add node 14 run

* Fix env arg

* Provide custom ci-build-id

* Refactor remaining e2e workflow to use reusable action

* Remove single matrix directive

* Refactor ci-pull-req

* Make lint job dependant on test jobs

* Disable debugging job

* Make containers dynamic

* Cleanup & install git for linting action

* Use regular buntu image for PR linting

* Debugging failing tests

* Remove fixed spec name

* Debug e2e env var

* Do not use realkeypress which crashes electron runner

* Debugging

* chore: remove console

* chore: remove console

* test: remove node 14 tests

* test: replace test branch with master

* test: use tests in current branch

* test: use relative path

* chore: clean up

* test: only trigger on approval

* ci: update test PR

* ci: use curr branch

* ci: only run 14 on schedule, not for slack command

* ci: only run test on approval

* ci: clean up branch, rename step

* ci: rename steps

* ci: clean up cancel

* ci: clean up env var

* ci: set var

* ci: use chromef

* ci: use electron

* chore: add console log

* chore: add console log

* ci: update to string

* ci: set all env options

* test: build

* ci: fix step issue

* Fix failing tests & upgrade to Cypress 12

* Allow WF dispatch of e2e reusable

* Fix wrong naming in e2e-tests workflow

* Redeploy

* Fix tests

* Fix NDV tests and remove skipping of webhooks execution tests

* Fix clipboard read command

* Fix execution failing tests

* Reset before each 15 and 3

* Fix flaky tests

* Cleanup and log envs

* Test fixes

* Default owner spec fixes

* Get rid of CYPRESS_RUN_ENV

* Increase amount of containers, cleanup and add mock for credentials test call

* Cleanup & fix PR tests unit tests

* Wait for WF to loade in sharing spec

* Do linting and unit tests first

* Use frozen lockfile

* Revert back ci pull request jobs order

* Refine credential input selector and move cy.waitForLoad to correct position in 15-scheduler spec

* test: build

* Wait for WF execution instead of arbitraty timeout in WF execution spec, change order of jobs for ci pull request

* Fix flaky 3-default owner spec and wait for execution list to load in 20-workflow-executions

* Use setup node action

* Remove caching for lint/unit tests

* Experiment with parallel test & lint on ci

* Provide cache key dynamically

* Run e2e in parallel on pr

* Only run node14 e2e on daily schedule

* Make sure to generate generate new ci-build-id on re-runs

* Remove debugging prints

* Address PR comments

* Rename custom onBeforeUnload handler

* Make sure 19-execution spec waits for wf to load properly before import fixtures

---------

Co-authored-by: Mutasem <mutdmour@gmail.com>
2023-03-02 16:50:21 +01:00
agobrech 3d82614de2
ci: Fix the PR-title validation action (no-changelog) (#5576) 2023-02-28 11:54:46 +01:00
कारतोफ्फेलस्क्रिप्ट™ 8d84e684cf
ci: Check PR title on all branches, except release branches (no-changelog) (#5545) 2023-02-22 13:14:29 +01:00
कारतोफ्फेलस्क्रिप्ट™ aca94bb995
ci: Merge back released tag to master as Jan (no-changelog) (#5540) 2023-02-21 19:16:51 +01:00
कारतोफ्फेलस्क्रिप्ट™ 35a7856de5
ci: Release process improvements (no-changelog) (#5535)
* ci: Switch release workflows to trigger when releases are published (no-changelog)

* ci: Allow creating releases from tags and commits as well
2023-02-21 16:02:31 +01:00
कारतोफ्फेलस्क्रिप्ट™ 3ae005cafe
ci: Setup a semi-automated release process (no-changelog) (#5504)
* ci: Setup a semi-automated release process (no-changelog)

* create tag/release before deleting the temporary branch
2023-02-21 14:04:35 +01:00
कारतोफ्फेलस्क्रिप्ट™ b25c10a0e1
ci: Update the "Check Documentation URLs" workflow (no-changelog) (#5473)
* ci: Update the "Check Documentation URLs" workflow (no-changelog)

* fix the documentation url for HtmlExtract node
2023-02-14 13:00:15 +01:00
agobrech 309c995364
test: Change workflows to test from safe list to skip list (#5457)
* Remove check by safe list to skip list

* add an option to skip using statistics events

---------

Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-02-10 17:11:06 +01:00
कारतोफ्फेलस्क्रिप्ट™ 172472664d
ci: Upgrade dev tooling (no-changelog) (#5424)
* Typescript
* Jest
* Turborepo
* pnpm
2023-02-09 13:52:41 +01:00
कारतोफ्फेलस्क्रिप्ट™ eda3b8aba0
ci: Re-enable CI jobs on nodejs 14.x (no-changelog) (#5153)
Revert "ci: Disable CI jobs on nodejs 14.x (no-changelog) (#5132)"

This reverts commit b3adcbd813.
2023-01-30 13:09:09 +01:00