Cache registry and rb-readline

This commit is contained in:
Balasankar C 2016-12-12 10:32:26 +05:30 committed by Balasankar C
parent 9f4dff394e
commit 2d13754336
3 changed files with 11 additions and 3 deletions

View File

@ -12,3 +12,7 @@ config_guess:
remote: "git@dev.gitlab.org:omnibus-mirror/config_guess.git"
omnibus:
remote: "https://dev.gitlab.org/gitlab/omnibus.git"
registry:
remote: "git@dev.gitlab.org:omnibus-mirror/distribution.git"
rb-readline:
remote: "git@dev.gitlab.org:omnibus-mirror/rb-readline.git"

View File

@ -65,6 +65,7 @@ build_iteration Gitlab::BuildIteration.new.build_iteration
#
# Original git://git.sv.gnu.org/config.git is failing intermittently
config_guess_version = Gitlab::Version.new('config_guess', "master")
rb_readline_version = Gitlab::Version.new('rb-readline', "master")
override :ruby, version: '2.3.3', source: { md5: 'e485f3a55649eb24a1e2e1a40bc120df' }
override :rubygems, version: '2.6.6'
@ -76,6 +77,7 @@ override :pcre, version: '8.38', source: { md5: '8a353fe1450216b6655dfcf3561716d
override :expat, version: '2.2.0', source: { md5: '2f47841c829facb346eb6e3fab5212e2', url: "http://downloads.sourceforge.net/project/expat/expat/2.2.0/expat-2.2.0.tar.bz2" }
override :config_guess, version: config_guess_version.print, source: { git: config_guess_version.remote }
override :rsync, version: '3.1.2'
override :'rb-readline' , version: rb_readline_version.print, source: { git: rb_readline_version.remote }
# Openssh needs to be installed

View File

@ -17,12 +17,14 @@
#
name "registry"
default_version "v2.4.1"
version = Gitlab::Version.new("registry", "2.4.1")
default_version version.print
license "Apache-2.0"
license_file "https://raw.githubusercontent.com/docker/distribution/#{version}/LICENSE"
license_file "https://raw.githubusercontent.com/docker/distribution/#{version.print}/LICENSE"
source git: "https://github.com/docker/distribution.git"
source git: version.remote
relative_path "src/github.com/docker/distribution"