Commit Graph

45 Commits

Author SHA1 Message Date
Iván Ovejero
05f8692399 ci: Upgrade task runner launcher to 0.5.0-rc (#11912) 2024-11-27 11:04:45 +02:00
Iván Ovejero
30c6d969bf ci: Upgrade task runner launcher to 0.4.0-rc (#11902) 2024-11-26 21:55:06 +02:00
Tomi Turtiainen
43aa389ea7 refactor(core): Bundle the go based launcher to the n8n docker image (no-changelog) (#11792)
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2024-11-19 23:16:57 +02:00
Tomi Turtiainen
8404282046 feat: Enable running task runners externally (no-changelog) (#11319) 2024-10-22 16:23:59 +03:00
Val
b028d81390 feat: Start Task Runner via Launcher (no-changelog) (#11071) 2024-10-14 14:19:17 +01:00
कारतोफ्फेलस्क्रिप्ट™
9c4e67111c ci: Add opencontainer image spec labels to the release Dockerfile (no-changelog) (#9822)
Co-authored-by: Nikolai T. Jensen <32718507+ch0wm3in@users.noreply.github.com>
2024-06-20 19:29:18 +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
कारतोफ्फेलस्क्रिप्ट™
e1a4fde207 fix(core): Define SHELL env variable on docker images (#8670) 2024-02-19 11:50:20 +01:00
कारतोफ्फेलस्क्रिप्ट™
4f3de9ab3c ci: Skip running postInstall scripts for all packages except sqlite3 (no-changelog) (#8514) 2024-01-31 17:27:46 +01:00
कारतोफ्फेलस्क्रिप्ट™
1db35c18e9 refactor(core): Rebuild docker infrastructure (#8451) 2024-01-26 13:18:49 +01:00
oleg
e4ae11c2ad fix: Remove Tensorflow embeddings node (no-changelog) (#7922)
## Summary
This PR removes `embeddingsTensorFlow` node and reverts our fix to
accommodate the Docker build in #7893 .
The node itself has been extracted as a [community node available from
npm](https://www.npmjs.com/package/n8n-nodes-tensorflow)

---------

Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
2023-12-04 17:48:10 +01:00
oleg
bcd04981ef ci: Fix Docker build and use multi-step approach (no-changelog) (#7893)
Due to new dependencies released in `1.19`, the docker build is failing
due to missing build dependencie. To get around this, we split the build
into two phases. In the building phase, we install the build
dependencies required to compile new module bindings and copy the result
in the second phase.

Github issue / Community forum post (link here to close automatically):

---------

Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
2023-12-01 12:58:55 +01:00
कारतोफ्फेलस्क्रिप्ट™
054c4bacd5 ci: Fix docker build for release process (no-changelog) 2023-11-29 15:54:36 +01:00
कारतोफ्फेलस्क्रिप्ट™
d5762a7539 ci: Fix docker builds for releases (#7865) 2023-11-29 15:25:50 +01: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
कारतोफ्फेलस्क्रिप्ट™
1b4247498b ci: Trim FE package.json files before publishing (no-changelog) 2023-08-31 14:45:44 +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
कारतोफ्फेलस्क्रिप्ट™
f217e1f149 ci: fix docker build for release images (no-changelog) 2023-06-27 17:13:28 +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
कारतोफ्फेलस्क्रिप्ट™
41cb0eec6e feat(API): Set up error tracking using Sentry (#4394)
* feat(cli): Setup error tracking using Sentry

* make error reporting available in the workflows package

* address some of the PR comments

* create a ErrorReporterProxy like LoggerProxy

* remove the `captureError` helper. use ErrorReporterProxy directly

* fix linting issues

* remove ErrorReporterProxy warnings in tests

* check for NODE_ENV === 'production' instead

* IErrorReporter -> ErrorReporter

* ErrorReporterProxy.getInstance() -> ErrorReporter

* allow capturing stacks in warnings as well

* make n8n debugging consistent with `npm start`

* IReportingOptions -> ReportingOptions

* use consistent signature for `error` and `warn`

* use Logger instead of console.log
2022-11-04 17:34:47 +01:00
कारतोफ्फेलस्क्रिप्ट™
aec2489aef fix(docker): n8n docker image needs su-exec (#3993) 2022-09-01 09:48:26 +02:00
कारतोफ्फेलस्क्रिप्ट™
34a99fd089 fix(docker): Revert docker USER and WORKDIR changes (#3992)
Switching from `root` to another user needs a bit more testing, as we need to figure out how to auto-migrate all existing instances of n8n when people upgrade.
2022-09-01 09:40:35 +02:00
कारतोफ्फेलस्क्रिप्ट™
346ebee584 fix(docker): Make the docker images backward compatible (#3987) 2022-08-31 19:34:30 +02:00
कारतोफ्फेलस्क्रिप्ट™
398adb23e8 feat(docker): reduce the size of alpine docker images (#3973)
* reduce redundant code between the two alpine Dockerfiles
* reduce the docker image build times
* reduce the `n8n` image size from 1.17GB to 462MB
* reduce the `n8n-custom` image size from 671MB to 460MB
* reduce the size of npm tree by making all typing packages devDependencies

Partially resolves this ticket: N8N-3252
2022-08-31 15:25:52 +02:00
Alex Grozav
a9fa830bd7 build: Migrate from lerna to turborepo (#3796)
* feat: Added turborepo setup.

* feat: Updated nodes and credentials loading.

* feat: Removed remaining lerna references.

* fix: Updated npm run bootstrap command.

* feat: Added CI step for installing latest npm.

* chore: Removed lerna config.

* feat: Added gulp to global ci packages.

* fix: Set node as moduleResolution target in workflow. Fixed CI.

* fix: Added turborepo installation to the n8n-custom docker image.

* fix: Updated copied docker files for n8n-custom.

* fix: Added git as dependency in n8n-custom dockerfile.

* fix: Changed npm install command in n8n-custom.

* 📦 Update `package-lock.json`

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2022-08-06 22:55:51 +02:00
Jan Oberhauser
c11edb2521 🐳 Fix arm builds 2022-03-08 09:38:53 +01:00
Jan Oberhauser
c45ab96559 🐳 Update Node.js versions of Docker images to 16 2022-03-04 14:46:00 +01:00
Jan Oberhauser
f1b9bb914c Roll back for now to Node.js v14 2022-02-06 11:01:09 +01:00
Iván Ovejero
fc550ecbcb Remove fibers to support Node LTS 16 (#2672)
* 🔥 Remove fibers lib

* 📦 Update package-lock.json

* 📦 Update package-lock.json

* ✏️ Mention recommended version

*  Update node version in Docker images

* ⬆️ bump uuid and flatted

* 📦 Update package-lock.json

Co-authored-by: Ben Hesseldieck <b.hesseldieck@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2022-02-04 19:13:26 +01:00
Carlos Alexandro Becker
a49624a17c 🐳 Improve docker images (#1625)
* feat: docker images

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

* fix: workflow

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

* cleanup to reduce image size

Co-authored-by: ahsan-virani <ahsan.virani@gmail.com>
2021-06-18 22:54:37 +02:00
Jan Oberhauser
10a377a599 🐳 Update Node.js versions of Docker images to 14 2021-02-06 17:52:56 +01:00
Jan Oberhauser
19e2eeadcd 🐳 Add fonts to alpine based docker images 2020-11-18 21:24:51 +01:00
Jan Oberhauser
134c49dfd8 🐳 Update Node.js versions of Docker images 2020-10-26 11:03:40 +01:00
Jan Oberhauser
95068aa132 🐳 Expose port in dockerfile 2020-06-30 16:55:17 +02:00
Frane Bandov
b6b63ed48b Add full-icu to Dockerfiles 2020-03-26 18:05:23 +01:00
Michael Hirschler
fb1424cd4e uses non-root user 2020-02-05 21:28:47 +01:00
Jan Oberhauser
6b2dc25059 🐛 Fix errors with unknown nodeTypes 2020-01-04 22:51:54 -06:00
Jan Oberhauser
1b076a4763 🐳 Set n8n and system timezone separately 2019-10-29 08:27:26 +01:00
Sebastian
0e005675cc Added ca-tools to be able to configure certs from /etc/ssl/certs 2019-10-28 09:43:27 +01:00
Sebastian
83f3363846 Bumping Node version 2019-10-28 09:42:28 +01:00
Alexandre Nizoux
8861cb17c8 Added entrypoint
Setting up TZ and GENERIC_TIMEZONE env vars required to use an entrypoint script
2019-10-26 13:36:15 +02:00
Alexandre Nizoux
de3859bbf6 Add container timezone handling
Allows to change the timezone with the TZ env variable, useful for cron tasks and other things.
2019-10-25 08:34:42 +02:00
Jan Oberhauser
c1777f3c58 🐳 Change Dockerfile to use official node image 2019-09-01 18:37:55 +02:00
Jan Oberhauser
ce69b349cf 🐳 Improve automatic docker build 2019-08-10 00:07:01 +02:00
Jan Oberhauser
9cb9804eee Initial commit to release 2019-06-23 12:35:23 +02:00