class WarpEngine::CI::Woodpecker::PipelineConfig
The CI::PipelineConfig of Woodpecker: renders the templates under platforms/ next to this file and adds the shared steps as Woodpecker steps, tagging and releasing through the Gitea/Forgejo API with the gitea_token secret.
Constants
- EVENTS
-
The events a generated pipeline runs on when its template sets no
when: everyWoodpeckerevent butrelease, which moving a dev tag also sends and which would build the tag a second time.
Public Class Methods
Source
# File lib/warp_engine/ci/woodpecker/pipeline_config.rb, line 17 def self.adapter = :woodpecker
Returns :woodpecker, the key of Woodpecker templates in a platform registration.
Source
# File lib/warp_engine/ci/woodpecker/pipeline_config.rb, line 20 def self.templates_dir Pathname.new(__dir__).join("platforms") end
Returns the Pathname of the bundled Woodpecker templates.