[Gerrit] Change default URL to download Gerrit binaries

Change-Id: I0e8aa820cf34d7a6057a7e6265d88d97e6d5dcef
This commit is contained in:
Alexey Khivin 2016-04-27 17:30:27 +03:00 committed by Sergey Kraynev
parent 4784eec789
commit 67ee58a249
4 changed files with 3 additions and 12 deletions

View File

@ -25,8 +25,6 @@ Properties:
assignFloatingIp:
Contract: $.bool().notNull()
Default: true
gerritUrl:
Contract: $.string().notNull()
Methods:
.init:
@ -69,7 +67,6 @@ Methods:
assignFloatingIp => $.assignFloatingIp)
- $this.gerrit: new(opaas:Gerrit, $this,
name => 'Gerrit',
warUrl => $.gerritUrl,
instance => $gerritInstance,
ldap => $this.ldap)

View File

@ -9,16 +9,9 @@ Application:
image: $.instanceConfiguration.osImage
keyname: $.instanceConfiguration.keyPair
availabilityZone: $.instanceConfiguration.availabilityZone
gerritUrl: $.repoConfiguration.gerritUrl
assignFloatingIp: true
Forms:
- repoConfiguration:
fields:
- name: gerritUrl
type: string
required: true
description: Specify the address to download Gerrit binaries
- instanceConfiguration:
fields:
- name: title

View File

@ -16,7 +16,8 @@ Properties:
name:
Contract: $.string().notNull()
warUrl:
Contract: $.string().notNull()
Contract: $.string()
Default: 'https://goo.gl/aK183z?/gerrit-2.11.8.war'
ldap:
Contract: $.class(opaas:OpenLDAP)

View File

@ -36,7 +36,7 @@ Forms:
- name: warUrl
type: string
label: URL for war
initial: http://gerrit-releases.storage.googleapis.com/gerrit-2.11.2.war
initial: 'https://goo.gl/aK183z?/gerrit-2.11.8.war'
description: >-
Enter the war version from Gerrit's site
http://gerrit-releases.storage.googleapis.com/index.html