mirror of
https://github.com/n8n-io/n8n
synced 2026-04-21 15:47:20 +00:00
chore: Remove N8N_RUNNERS_ENABLED env variable (no-changelog) (#23885)
This commit is contained in:
parent
0523cc35bc
commit
6084fc406f
12 changed files with 2 additions and 16 deletions
|
|
@ -35,7 +35,6 @@ docker buildx build \
|
|||
### 3) Start n8n on your host machine with Task Broker enabled
|
||||
|
||||
```
|
||||
N8N_RUNNERS_ENABLED=true \
|
||||
N8N_RUNNERS_MODE=external \
|
||||
N8N_RUNNERS_AUTH_TOKEN=test \
|
||||
N8N_LOG_LEVEL=debug \
|
||||
|
|
|
|||
|
|
@ -33,7 +33,6 @@ services:
|
|||
- DB_POSTGRESDB_HOST=postgres
|
||||
- DB_POSTGRESDB_PASSWORD=password
|
||||
# Task Runner config
|
||||
- N8N_RUNNERS_ENABLED=true
|
||||
- N8N_RUNNERS_MODE=external
|
||||
- N8N_RUNNERS_BROKER_LISTEN_ADDRESS=0.0.0.0
|
||||
- N8N_RUNNERS_AUTH_TOKEN=test
|
||||
|
|
|
|||
|
|
@ -51,7 +51,6 @@ services:
|
|||
- DB_POSTGRESDB_HOST=postgres
|
||||
- DB_POSTGRESDB_PASSWORD=password
|
||||
# Task Runner config
|
||||
- N8N_RUNNERS_ENABLED=true
|
||||
- N8N_RUNNERS_MODE=external
|
||||
- N8N_RUNNERS_BROKER_LISTEN_ADDRESS=0.0.0.0
|
||||
- N8N_RUNNERS_AUTH_TOKEN=test
|
||||
|
|
@ -98,7 +97,6 @@ services:
|
|||
- DB_POSTGRESDB_HOST=postgres
|
||||
- DB_POSTGRESDB_PASSWORD=password
|
||||
# Task Runner config
|
||||
- N8N_RUNNERS_ENABLED=true
|
||||
- N8N_RUNNERS_MODE=external
|
||||
- N8N_RUNNERS_BROKER_LISTEN_ADDRESS=0.0.0.0
|
||||
- N8N_RUNNERS_AUTH_TOKEN=test
|
||||
|
|
|
|||
|
|
@ -49,7 +49,6 @@ services:
|
|||
- DB_POSTGRESDB_HOST=postgres
|
||||
- DB_POSTGRESDB_PASSWORD=password
|
||||
# Task Runner config
|
||||
- N8N_RUNNERS_ENABLED=true
|
||||
- N8N_RUNNERS_MODE=external
|
||||
- N8N_RUNNERS_BROKER_LISTEN_ADDRESS=0.0.0.0
|
||||
- N8N_RUNNERS_AUTH_TOKEN=test
|
||||
|
|
@ -94,7 +93,6 @@ services:
|
|||
- DB_POSTGRESDB_HOST=postgres
|
||||
- DB_POSTGRESDB_PASSWORD=password
|
||||
# Task Runner config
|
||||
- N8N_RUNNERS_ENABLED=true
|
||||
- N8N_RUNNERS_MODE=external
|
||||
- N8N_RUNNERS_BROKER_LISTEN_ADDRESS=0.0.0.0
|
||||
- N8N_RUNNERS_AUTH_TOKEN=test
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@ services:
|
|||
- DB_SQLITE_POOL_SIZE=3
|
||||
- DB_SQLITE_ENABLE_WAL=true
|
||||
# Task Runner config
|
||||
- N8N_RUNNERS_ENABLED=true
|
||||
- N8N_RUNNERS_MODE=external
|
||||
- N8N_RUNNERS_BROKER_LISTEN_ADDRESS=0.0.0.0
|
||||
- N8N_RUNNERS_AUTH_TOKEN=test
|
||||
|
|
|
|||
|
|
@ -526,7 +526,6 @@ describe('GlobalConfig', () => {
|
|||
it('on invalid value, should warn and fall back to default value', () => {
|
||||
process.env = {
|
||||
N8N_RUNNERS_MODE: 'non-existing-mode',
|
||||
N8N_RUNNERS_ENABLED: 'true',
|
||||
DB_TYPE: 'postgresdb',
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -141,7 +141,6 @@ describe('dev command', () => {
|
|||
expect(n8nCommand).toBeDefined();
|
||||
expect(n8nCommand?.env).toMatchObject({
|
||||
N8N_DEV_RELOAD: 'true',
|
||||
N8N_RUNNERS_ENABLED: 'true',
|
||||
N8N_USER_FOLDER: customFolder,
|
||||
});
|
||||
});
|
||||
|
|
|
|||
|
|
@ -93,7 +93,6 @@ export default class Dev extends Command {
|
|||
env: {
|
||||
...process.env,
|
||||
N8N_DEV_RELOAD: 'true',
|
||||
N8N_RUNNERS_ENABLED: 'true',
|
||||
DB_SQLITE_POOL_SIZE: '10',
|
||||
N8N_USER_FOLDER: n8nUserFolder,
|
||||
},
|
||||
|
|
|
|||
|
|
@ -62,6 +62,7 @@ describe('DeprecationService', () => {
|
|||
['EXECUTIONS_DATA_PRUNE_TIMEOUT', '1', true],
|
||||
['N8N_CONFIG_FILES', '1', true],
|
||||
['N8N_SKIP_WEBHOOK_DEREGISTRATION_SHUTDOWN', '1', true],
|
||||
['N8N_RUNNERS_ENABLED', '1', true],
|
||||
])('should detect when %s is `%s`', (envVar, value, mustWarn) => {
|
||||
toTest(envVar, value, mustWarn);
|
||||
});
|
||||
|
|
@ -71,7 +72,6 @@ describe('DeprecationService', () => {
|
|||
|
||||
beforeEach(() => {
|
||||
process.env = {
|
||||
N8N_RUNNERS_ENABLED: 'true',
|
||||
N8N_GIT_NODE_DISABLE_BARE_REPOS: 'false',
|
||||
};
|
||||
});
|
||||
|
|
|
|||
|
|
@ -36,6 +36,7 @@ export class DeprecationService {
|
|||
{ envVar: 'EXECUTIONS_DATA_PRUNE_TIMEOUT', message: SAFE_TO_REMOVE },
|
||||
{ envVar: 'N8N_AVAILABLE_BINARY_DATA_MODES', message: SAFE_TO_REMOVE },
|
||||
{ envVar: 'N8N_CONFIG_FILES', message: 'Please use .env files or *_FILE env vars instead.' },
|
||||
{ envVar: 'N8N_RUNNERS_ENABLED', message: SAFE_TO_REMOVE },
|
||||
{
|
||||
envVar: 'N8N_SKIP_WEBHOOK_DEREGISTRATION_SHUTDOWN',
|
||||
message: `n8n no longer deregisters webhooks at startup and shutdown. ${SAFE_TO_REMOVE}`,
|
||||
|
|
|
|||
|
|
@ -1,7 +1,3 @@
|
|||
// Disable task runners until we have fixed the "run test workflows" test
|
||||
// to mock the Code Node execution
|
||||
process.env.N8N_RUNNERS_ENABLED = 'false';
|
||||
|
||||
// NOTE: Diagrams in this file have been created with https://asciiflow.com/#/
|
||||
// If you update the tests, please update the diagrams as well.
|
||||
// If you add a test, please create a new diagram.
|
||||
|
|
|
|||
|
|
@ -22,7 +22,6 @@ const BASE_ENV: Record<string, string> = {
|
|||
N8N_LICENSE_TENANT_ID: process.env.N8N_LICENSE_TENANT_ID ?? '1001',
|
||||
N8N_LICENSE_ACTIVATION_KEY: process.env.N8N_LICENSE_ACTIVATION_KEY ?? '',
|
||||
N8N_LICENSE_CERT: process.env.N8N_LICENSE_CERT ?? '',
|
||||
N8N_RUNNERS_ENABLED: 'true',
|
||||
N8N_RUNNERS_MODE: 'external',
|
||||
N8N_RUNNERS_AUTH_TOKEN: 'test',
|
||||
N8N_RUNNERS_BROKER_LISTEN_ADDRESS: '0.0.0.0',
|
||||
|
|
|
|||
Loading…
Reference in a new issue