orbitalci / orbital

Orbital is a self-hosted CI system for solo/small consulting dev teams. Written in Rust.
GNU General Public License v3.0
29 stars 2 forks source link

Server start poll repos for new commits to build #259

Closed tjtelan closed 3 years ago

tjtelan commented 4 years ago

Placeholder for starting server so it will start polling repos for new commits and starting builds.

tjtelan commented 3 years ago

This is giving me some trouble because libgit2 doesn't support shallow clones. However, doing this by shelling out doesn't easily support fetching all branches unless you know what branches already exist. Might need to take a stance on the expected behavior and just do it one way.

tjtelan commented 3 years ago

Also, just for note, the way to clone w/ an ssh key:

git clone git@provider.com:userName/projectName.git --config core.sshCommand="ssh -i ~/location/to/private_ssh_key"

tjtelan commented 3 years ago

Before closing, I want the polling interval to be configurable