Gopherbot takes a slightly different approach to creating pipelines; pipelines are created by Add/Fail/Final Job/Command/Task family of methods, rather than by fixed configuration directives. This allows flexible configuration of pipelines if desired for e.g. a CI/CD application, or dynamic generation of pipelines based on logic at runtime.
Until more documentation is written, see:
- The Gopherbot Pipeline Source
- The Configuration repository for Floyd, the robot that builds Gopherbot
Table of Contents
AddTask
The AddTask
method ... TODO: finish me!
Bash
AddTask "echo" "hello, world"
Python
ret = bot.AddTask("echo", ["hello", "world"])
bot.AddTask("robot-quit", [])
Ruby
ret = bot.AddTask("echo", ["hello", "world"])
bot.AddTask("robot-quit", [])
SetParameter
Bash
SetParameter "PING_LATENCY" "45ms"
Python
bot.SetParameter("PING_LATENCY", "45ms")
Ruby
bot.SetParameter("PING_LATENCY", "45ms")