diff options
-rwxr-xr-x | lorry-controller-webapp | 2 | ||||
-rw-r--r-- | lorrycontroller/givemejob.py | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/lorry-controller-webapp b/lorry-controller-webapp index 43cff0d..18b28a9 100755 --- a/lorry-controller-webapp +++ b/lorry-controller-webapp @@ -131,7 +131,7 @@ class WEBAPP(cliapp.Application): self.settings.choice( ['git-server-type'], - ['gitano', 'gerrit', 'gitlab'], + ['gitano', 'gerrit', 'gitlab', 'local'], 'what API the local Git server speaks') self.settings.string( diff --git a/lorrycontroller/givemejob.py b/lorrycontroller/givemejob.py index dd4de87..a893036 100644 --- a/lorrycontroller/givemejob.py +++ b/lorrycontroller/givemejob.py @@ -70,6 +70,8 @@ class GiveMeJob(lorrycontroller.LorryControllerRoute): self.create_gerrit_project(statedb, lorry_info) elif api == 'gitlab': self.create_gitlab_project(statedb, lorry_info) + elif api == 'local': + pass def create_repository_in_local_trove(self, statedb, lorry_info): # Create repository on local Trove. If it fails, assume |