I would very much like to import/export my rundeck job descriptions (YAML) to/from a GitHub repository.
It seems the SCM plugin for rundeck (2.6.4) is ready, but I can find very little documentation on how to use it.
When I attempt to configure it in the "Setup SCM Plugin: Git Export" screen, I get the following error:
Failed fetch from the repository:
https://github.com/OptionMetrics/Rundeck.git: Authentication is required but no CredentialsProvider has been registered
I've tried creating an SSH key, uploading it to GitHub, and storing it in the rundeck Key Storage. I've then referenced this key from the configuration page. No luck.
Can anyone give me clear instructions on how to make this work?
You can use the SSH key storage, but you need to set your git URL to the SSH url provided on github. Instead of https://github.com/OptionMetrics...
it would be [email protected]:OptionMetrics...
if you want to use https, you can specify a username/password. You need to generate a "personal access token" via github, and use that as your password