Commit graph

178 commits

Author SHA1 Message Date
Omar Ajoue 1e551a202f
🚨 Add Workflow testing framework (#1814)
* Added flag to simplify output to execute command and created executeAll

Also created a command that lists workflows so it can be used by
other applications that wish to interact with n8n via CLI.

* Added compare funcionality that helps us identify possible breaking changes

*  Add JSON flag to output execution result in json format

* Add execution time to execution result

* Add --output flag to save JSON formated results

* Fix typos

* Adding usage examples and warning message

* Changing command to always output JSON information

*  Add concurrency to executeAll command

*  Add IDs filter to executeAll command

* ✏️ Fix typos

* Fix lint issues

* Improvements to execute all

* Added colors and beautified execute all command output

* Improving premature termination of execute all command

* Refactored output

* Added detection for warnings instead of errors for a few cases

* Fixed linting

* Improved process finishing

* Added encryption key init, removed messages from non-debug run and created sample github actions file

* Updated test command to use correct encryption key

* Correcting paths

* Changed command name and changed concurrency to be slot based

* Added the retry functionality

* Improved typing and fixed executions filtering

* Updated test description

* Added concurrency

* Added skip list and concurrency

* Fixed termination behavior, removed unnecessary code and added main mode to executions

* Added special edge cases handling

* Added safe debug flag for non tty terminals

* Removed comparison and retries for testing

* Changed the way we run commands to add more debug info

* Test adding concurrency

* Testing with regular testing procedure without comparison

* Adding compare flag

* Fixing short output command

* Upgraded concurrency to 16, fixed short output and covered nodes count

* Fixed short output condition

* Correcting short output information

* Correcting the output for short output

* Added a string to possible warnings list

* Added example usages with more arguments

* Improvements to code made by Ivan

* Removed colorize output setting (always use colors), moved execution timeout to become static and removed node list from executions

* Moving types to a separate file on execute batch command

* Changed interfaces file extension to prevent oclif warnings

* Updated workflow pdf files

*  Change rule when tests run + minor formatting fixes

Co-authored-by: dali <servfrdali@yahoo.fr>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-07-01 09:04:24 +02:00
Jan Oberhauser 7ed616c7ef 🔀 Merge branch 'images' of https://github.com/caarlos0/n8n into caarlos0-images 2021-06-17 14:36:02 +02:00
Omar Ajoue 7bc79c879d
📝 Add database type and execution mode to issues template (#1762)
* Added database type and execution mode to issues template

* Bump n8n version suggestion

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>

* Bump node.js version as suggested

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2021-05-11 23:13:39 -05:00
Iván Ovejero 0de62eae30
🔥 Remove Node 12 CI tests (#1748) 2021-05-06 12:33:24 -05:00
Carlos Alexandro Becker 061e990d87 fix: workflow
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-04-05 10:22:04 -03:00
Carlos Alexandro Becker 4d3ff091aa feat: docker images
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-04-05 09:21:58 -03:00
Jan Oberhauser be83c240ba 🐳 Allow manual rpi docker image build 2021-03-25 15:16:38 +01:00
Jan Oberhauser 8d9555bf52 👷 No longer run tests in Node.js v10 2021-03-12 11:50:26 +01:00
Jan Oberhauser 24f4d6e277 🐳 Create and push docker image "latest-debian" 2021-02-12 00:28:59 +01:00
Jan Oberhauser b68377b74f 🐳 Run nightly build one hour earlier 2020-12-31 12:17:46 +01:00
Jan Oberhauser ad2909a8a6 🐳 Fix automatic nightly build 2020-12-31 12:17:00 +01:00
Jan Oberhauser b0e17453f4 🐳 Add support to choose branch and tag for custom build 2020-12-29 20:27:48 +01:00
Jan Oberhauser 8136474233 🐳 Add automatic nightly docker build of master 2020-12-29 15:00:57 +01:00
mjysci ba07ec61f3
🐳 Fixed Docker Image CI - Rpi (#1275) 2020-12-27 23:13:44 +01:00
Jan 63452e7878
Add uProc Node (#1263)
* + adding new uProc integration

* + capitalize tool name
+ fix parameter display name
+ add placeholders for parameter
+ add tool description
+ optimize generated .ts for groups and tools

* + remove old functions

* + added new tools

* + add new tools + fix Info on tool

* + fixed Info

* + fix tools description

* + add UProc node to package.json

* + added new tools

* + added new tools

* + fix tool description

* + fix CamelCase subtitle
+ fix node displayName
+ add new tools

* + fix info link

* + add start, data and end callbacks to decouple response

* + added new tools

* + change display name on selected

* + added new tools

* + added new tools

* + added new tools

* + added new tools

* + remove old folder + fix param

* + added new tools

*  Some improvements to uproc Node

* 🐛 Fix docker image naming #1250

Co-authored-by: Miquel Colomer <mcolomer@gmail.com>
2020-12-19 18:22:41 +01:00
Jan Oberhauser a5d7ae22c5 👷 Automatically run tslint 2020-09-01 09:22:07 +02:00
Jan Oberhauser b1f1b9bda7 🐳 Fix Raspberry Pi build 2020-08-27 11:01:40 +02:00
Ben Hesseldieck 051598d30e
Add max execution time for Workflows (#755)
* 🎉 basic setup and execution stopping

* 🚧 soft timeout for own process executions

* 🚧 add hard timeout for subprocesses

* 🚧 add soft timeout to main thread

* 🔧 set default timeout to 5 mins --> 500s

* 💡 adding documentation to configs

* 🚧 deactivate timeout by default

* 🚧 add logic of max execution timeout

*  adding timeout to settings in frontend and server

* 🎨 improve naming

* 💡 fix change in config docs

* ✔️ fixing compilation issue

* 🎨 add format for new config variables

* 👌 type cast before checking equality

*  Improve error message if NodeType is not known

* 🐳 Tag also rpi latest image

* 🐛 Fix Postgres issue with Node.js 14 #776

* 🚧 add toggle to activate workflow timeout

* 💄 improving UX of setting a timeout and its duration

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2020-07-29 14:12:54 +02:00
Jan Oberhauser db26140ff9 👷 Also run tests in Node.js v14 2020-07-26 12:58:23 +02:00
Jan Oberhauser b4b65bb906 🐳 Build Raspberry Pi Docker image correctly 2020-07-05 19:22:25 +02:00
Jan Oberhauser 559afb488b 🐳 Add Raspberry Pi Docker image 2020-07-05 19:18:01 +02:00
Jan Oberhauser 7707312715 🐳 Add Ubuntu Docker Image 2020-01-02 13:59:55 -06:00
Jan Oberhauser 9f03c9d2aa 👷 Fix Docker login issue 2020-01-02 13:41:28 -06:00
Jan d1319c6c29
👷 Automatically build docker images 2020-01-02 13:05:51 -06:00
Jan b3f3ce25dd
👷 Automatically run tests 2019-12-24 18:25:44 -06:00
Jan Oberhauser f413d26e8a 📝 Update issue templates to link directly to forum 2019-11-18 19:51:20 +01:00
Jan 94d91ff9e8 📝 Update issue templates 2019-10-17 11:53:00 +02:00
Jan 16e7233fad 📝 Update issue templates 2019-10-17 11:15:47 +02:00