cdsctl workflow import

Import a workflow

Synopsis

In case you want to import just your workflow. Instead of use a local file you can also use an URL to your yaml file.

If you want to update also dependencies likes pipelines, applications or environments at same time you have to use workflow push instead workflow import.

Without –force, CDS won’t update an existing workflow. With –force, CDS will allow you to update an existing workflow. If this workflow is managed ‘as-code’, CDS will override it. This workflow and its components (applications, pipelines, environments) will be detached from the repository, until it is re-imported again following a commit on the repo.

cdsctl workflow import [ PROJECT-KEY ] PATH [flags]

Options

      --force   Override workflow if exists

Options inherited from parent commands

  -c, --context string   cdsctl context name
  -f, --file string      set configuration file
      --insecure         (SSL) This option explicitly allows curl to perform "insecure" SSL connections and transfers.
  -n, --no-interactive   Set to disable interaction with ctl
      --verbose          Enable verbose output

SEE ALSO