Skip to content
Snippets Groups Projects
Select Git revision
  • 61a7813abaec16b77535ae75af18c20574d11717
  • master default
2 results

index.ts

Blame
  • index.ts 69.17 KiB
    import { getManagers } from '../../modules/manager';
    import { getPlatformList } from '../../modules/platform';
    import { getVersioningList } from '../../modules/versioning';
    import * as dockerVersioning from '../../modules/versioning/docker';
    import type { RenovateOptions } from '../types';
    
    const options: RenovateOptions[] = [
      {
        name: 'detectGlobalManagerConfig',
        description:
          'If `true`, Renovate tries to detect global manager configuration from the file system.',
        type: 'boolean',
        default: false,
        globalOnly: true,
      },
      {
        name: 'detectHostRulesFromEnv',
        description:
          'If `true`, Renovate tries to detect host rules from environment variables.',
        type: 'boolean',
        default: false,
        globalOnly: true,
      },
      {
        name: 'allowPostUpgradeCommandTemplating',
        description:
          'Set this to `false` to disable template compilation for post-upgrade commands.',
        type: 'boolean',
        default: true,
        globalOnly: true,
      },
      {
        name: 'allowedPostUpgradeCommands',
        description:
          'A list of regular expressions that decide which post-upgrade tasks are allowed.',
        type: 'array',
        subType: 'string',
        default: [],
        globalOnly: true,
      },
      {
        name: 'postUpgradeTasks',
        description:
          'Post-upgrade tasks that are executed before a commit is made by Renovate.',
        type: 'object',
        default: {
          commands: [],
          fileFilters: [],
          executionMode: 'update',
        },
      },
      {
        name: 'commands',
        description:
          'A list of post-upgrade commands that are executed before a commit is made by Renovate.',
        type: 'array',
        subType: 'string',
        parent: 'postUpgradeTasks',
        default: [],
        cli: false,
      },
      {
        name: 'fileFilters',
        description:
          'Files that match the glob pattern will be committed after running a post-upgrade task.',
        type: 'array',
        subType: 'string',
        parent: 'postUpgradeTasks',
        default: [],
        cli: false,