Add github config

This commit is contained in:
Graham Christensen 2017-11-14 08:30:46 -05:00
parent 56feb1c409
commit 1d5543e532
No known key found for this signature in database
GPG key ID: ACA1C1D120C83D5C

View file

@ -11,6 +11,7 @@ pub struct Config {
pub checkout: CheckoutConfig,
pub nix: NixConfig,
pub rabbitmq: RabbitMQConfig,
pub github: Option<GithubConfig>,
}
#[derive(Serialize, Deserialize, Debug)]
@ -27,6 +28,12 @@ pub struct NixConfig {
pub remote: String,
}
#[derive(Serialize, Deserialize, Debug, Clone)]
pub struct GithubConfig {
pub token: String,
}
#[derive(Serialize, Deserialize, Debug)]
pub struct RunnerConfig {
pub identity: String,