Commit graph

196 commits

Author SHA1 Message Date
कारतोफ्फेलस्क्रिप्ट™ 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
Mutasem Aldmour 560b549bb5
ci: Update PR template to simplify (no-changelog) (#7996)
## Summary
> Describe what the PR does. And how to test. Photos and videos are
recommended.

Update PR template to simplify and reduce noise.

## Related tickets and issues
> Include links to **Linear ticket** or Github issue or Community forum
post. Important in order to close *automatically* and provide context to
reviewers.

N/A

## Review / Merge checklist
- [x] 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.

---------

Co-authored-by: Tomi Turtiainen <10324676+tomi@users.noreply.github.com>
2023-12-12 10:08:04 +01:00
Iván Ovejero 1747b6e726
ci: Send doc URL check result to #mission-docs (no-changelog) (#7981)
## Summary
Provide details about your pull request and what it adds, fixes, or
changes. Photos and videos are recommended.
https://n8nio.slack.com/archives/C0350564QTG/p1702284519394179
...

#### 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-11 11:08:38 +01:00
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