1
0
woodpecker-pipeline-transform/README.md
2022-07-30 03:48:03 +03:00

49 lines
1.7 KiB
Markdown

# Woodpecker CI pipeline transform
[![status-badge](https://ci.codeberg.org/api/badges/lafriks/woodpecker-pipeline-transform/status.svg?branch=main)](https://ci.codeberg.org/lafriks/woodpecker-pipeline-transform)
[![Go Reference](https://pkg.go.dev/badge/codeberg.org/lafriks/woodpecker-pipeline-transform.svg)](https://pkg.go.dev/codeberg.org/lafriks/woodpecker-pipeline-transform)
Go library and utility to convert different pipelines to Woodpecker CI pipeline(s).
Currently supports converting only from Drone CI pipeline format with limited functionality.
## Drone pipeline supported features
* `kind` - must be `pipeline`
* `type` - only `docker` supported
* `name`
* `platform`
* `os`
* `arch`
* `version` - not supported by Woodpecker CI
* `node`
* `services`
* `name`
* `image`
* `pull`
* `privileged` - not supported by Woodpecker CI
* `environment` - including `from_secret`
* `entrypoint`
* `commands`
* `steps`
* `name`
* `image`
* `pull`
* `settings`
* `detach`
* `privileged`
* `failure` - not supported by Woodpecker CI
* `environment` - including `from_secret`
* `commands`
* `when`
* `branch`
* `event` - only `push`, `pull_request`, `tag` and `promote` are supported. Other events are not supported by Woodpecker CI.
* `refs` - only branch and tag refs supported (tag includes and excludes is exclusive)
* `repo` - not supported by Woodpecker CI
* `instance` - only single instance condition is supported by Woodpecker CI
* `status`
* `target` - only single environment condition is supported by Woodpecker CI
* `cron` - not supported by Woodpecker CI
* `depends_on` - not supported by Woodpecker CI
* `depends_on`