jx step scheduler config migrate

list of jx commands

jx step scheduler config migrate

scheduler config migrate

Synopsis

This command will generate pipeline scheduler resources from either the prow config maps or prow config files. For gitops users they will be added to the dev environment git repository. For non gitops users they will be applied directly to the cluster if –dryRun=false.

jx step scheduler config migrate [flags]

Examples

  # Test the migration but do not apply
  jx step scheduler config migrate
  
  # Generate the pipeline schedulers and apply them either via gitops or directly to the cluster
  jx step scheduler config migrate --dryRun=false
  
  # Generate the pipeline schedulers from files instead of the existing configmaps in the cluster
  jx step scheduler config migrate --prow-config-file=config.yaml --prow-plugins-file=plugins.yaml
  
  # Disable validation checks when migrating to pipeline schedulers
  jx step scheduler config migrate --skipVerification=true

Options

      --agent string               The scheduler agent to use e.g. Prow (default "prow")
      --dryRun                     Do not apply the generated configuration (default true)
  -h, --help                       help for migrate
      --prow-config-file string    The location of the config file to use
      --prow-plugins-file string   The location of the plugins file to use
      --skipVerification           Skip verification of the new configuration

Options inherited from parent commands

  -b, --batch-mode   Runs in batch mode without prompting for user input (default true)
      --verbose      Enables verbose output. The environment variable JX_LOG_LEVEL has precedence over this flag and allows setting the logging level to any value of: panic, fatal, error, warn, info, debug, trace

SEE ALSO

Auto generated by spf13/cobra on 30-Jun-2020

Last modified August 14, 2020: release 0.0.1853 (a7b91ef)