rtyler / otto

Otto is your friendly continuous delivery companion.
GNU Affero General Public License v3.0
80 stars 5 forks source link

Implement `git`step for cloning or updating repositories #32

Closed rtyler closed 3 years ago

rtyler commented 3 years ago

Right now there's no way for a pipeline to actually get source code without invoking shell steps.

Wrapping this step around the git2 crate would ensure that the system the agent runs on needn't have the git CLI installed.

Not sure what the right syntax is. The Jenkins git step is pretty spartan, and most of the complex behavior gets shunted into the checkout step which is nuts.