1
0
Fork 0
Go library and utility to convert different pipelines to Woodpecker CI piplelines
Go to file
Lauris BH 32136eae34
Add post-processing for yaml files to convert env variables
Fixes #1
2022-08-01 18:01:09 +03:00
.vscode Fix secret syntax 2022-07-30 01:32:35 +03:00
cmd/pipeline-convert Add post-processing for yaml files to convert env variables 2022-08-01 18:01:09 +03:00
core Add secrets and plugin settings 2022-07-29 02:11:24 +03:00
drone Add post-processing for yaml files to convert env variables 2022-08-01 18:01:09 +03:00
.editorconfig Initial implementation 2022-07-27 00:16:28 +03:00
.gitignore Initial implementation 2022-07-27 00:16:28 +03:00
.woodpecker.yml Add code lint check 2022-07-29 02:15:46 +03:00
LICENSE Initial implementation 2022-07-27 00:16:28 +03:00
README.md Update docs 2022-07-30 20:14:58 +03:00
conditions.go Add pipeline services 2022-07-30 03:48:03 +03:00
format.go Add pipeline services 2022-07-30 03:48:03 +03:00
go.mod Update dependencies 2022-07-30 20:02:15 +03:00
go.sum Update dependencies 2022-07-30 20:02:15 +03:00
pipeline.go Add exec pipeline support 2022-07-30 19:52:50 +03:00
pipeline_test.go Add pipeline services 2022-07-30 03:48:03 +03:00
secrets.go Add exec pipeline support 2022-07-30 19:52:50 +03:00
settings.go Add secrets and plugin settings 2022-07-29 02:11:24 +03:00
transform.go Add post-processing for yaml files to convert env variables 2022-08-01 18:01:09 +03:00

Woodpecker CI pipeline transform

status-badge Go Reference

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 CI pipeline supported features

  • kind - must be pipeline
  • type - only docker and exec are supported
  • name
  • platform
    • os
    • arch
    • version - not supported by Woodpecker CI
  • node
  • trigger
    • branch
    • event - not supported by Woodpecker CI
    • refs - not supported by Woodpecker CI
    • repo - not supported by Woodpecker CI
    • status
    • target - not supported by Woodpecker CI
    • cron - not supported by Woodpecker CI
    • action - not supported by Woodpecker CI
  • workspace
    • path
  • services
    • name
    • image
    • pull
    • privileged
    • environment - including from_secret
    • entrypoint
    • commands
    • volumes
      • name
      • path
  • clone
    • disable
    • depth
  • steps
    • name
    • image
    • pull
    • settings
    • detach
    • privileged
    • failure - not supported by Woodpecker CI
    • environment - including from_secret
    • commands
    • volumes
      • name
      • path
    • 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
  • volumes
    • name
    • host
    • temp - not supported by Woodpecker CI