dcloud ci workflows convert

Translate a GitHub Actions or GitLab CI file into a Deutsche Cloud workflow

IAM ci:ListRunsRead

Answers `{ yaml, valid, issues, notes }`; `notes` lists what had no Deutsche Cloud equivalent and was left out. The result is validated by the real parser, with one repair round, and returned rather than committed. 503 when the installation has no AI provider configured. The prompt it uses is public at /docs/workflows/prompt.md.

Synopsis

dcloud ci workflows convert --source source --from from [flags]

Flags

  • --sourceRequired

    string

    The file to translate, as it is, 1 to 65,536 characters

    Constraints: 1-65536 chars

  • --fromRequired

    enum

    What the file is: github (a GitHub Actions workflow), gitlab (a GitLab CI configuration) or other (any other CI system)

    One of: github, gitlab, other

  • --filenameOptional

    string

    Its original file name, up to 200 characters, given to the model as context and naming the parser’s issues; omitted: issues say "workflow"

    Constraints: 1-200 chars

Example

dcloud ci workflows convert --source example --from github

Generated from the API description, the same one the API checks requests against and the CLI is built from.