uricp 0.0.13 → 0.0.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +0 -1
- data/Gemfile.lock +13 -10
- data/Jenkinsfile +54 -0
- data/README.md +2 -2
- data/centos7/Dockerfile +20 -0
- data/features/step_definitions/orbit_steps.rb +5 -8
- data/lib/uricp.rb +0 -26
- data/lib/uricp/strategy/common.rb +3 -2
- data/lib/uricp/version.rb +1 -1
- data/trusty/Dockerfile +20 -0
- data/uricp.gemspec +2 -2
- data/xenial/Dockerfile +20 -0
- metadata +34 -34
- data/Dockerfile_centos6.6 +0 -39
- data/Dockerfile_centos7 +0 -39
- data/Dockerfile_trusty-ruby193 +0 -32
- data/README.rdoc +0 -23
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7eb722fd7b996348d00efc9f85a53db3656877be
|
4
|
+
data.tar.gz: ad910e9fe349262cf2f1b1139016a4cdb3651c7e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 292d7a73fef2a4bf0e5138649ea25ee0cfeffd6ab1d20e52af1d84b5729cc4f2c80a5e6603b9043a816e1d659a3ab4725b77711f75baa748baf89facf7e5bbea
|
7
|
+
data.tar.gz: edcff4dc08c9133d23d282c87a77a6aa5c4b55c78afeb96fca3bc35b9a206fe0cf51ee984bcae976cf46d48607cdc4994c924ca64c126aec719e034c9e4c5d18
|
data/.gitignore
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
uricp (0.0.
|
4
|
+
uricp (0.0.14)
|
5
5
|
filesize (= 0.0.2)
|
6
6
|
methadone (~> 1.8.0)
|
7
7
|
open4 (~> 1.3.0)
|
@@ -14,8 +14,8 @@ GEM
|
|
14
14
|
childprocess (>= 0.3.6)
|
15
15
|
cucumber (>= 1.1.1)
|
16
16
|
rspec-expectations (>= 2.7.0)
|
17
|
-
builder (3.2.
|
18
|
-
childprocess (0.
|
17
|
+
builder (3.2.3)
|
18
|
+
childprocess (0.9.0)
|
19
19
|
ffi (~> 1.0, >= 1.0.11)
|
20
20
|
cucumber (1.3.20)
|
21
21
|
builder (>= 2.1.2)
|
@@ -23,20 +23,20 @@ GEM
|
|
23
23
|
gherkin (~> 2.12)
|
24
24
|
multi_json (>= 1.7.5, < 2.0)
|
25
25
|
multi_test (>= 0.1.2)
|
26
|
-
diff-lcs (1.
|
27
|
-
ffi (1.9.
|
26
|
+
diff-lcs (1.3)
|
27
|
+
ffi (1.9.23)
|
28
28
|
filesize (0.0.2)
|
29
29
|
gherkin (2.12.2)
|
30
30
|
multi_json (~> 1.3)
|
31
31
|
inifile (1.1.0)
|
32
|
-
json (1.8.
|
32
|
+
json (1.8.6)
|
33
33
|
methadone (1.8.0)
|
34
34
|
bundler
|
35
|
-
multi_json (1.
|
35
|
+
multi_json (1.13.1)
|
36
36
|
multi_test (0.1.2)
|
37
37
|
open4 (1.3.4)
|
38
38
|
rake (10.4.2)
|
39
|
-
rdoc (4.2.
|
39
|
+
rdoc (4.2.2)
|
40
40
|
json (~> 1.4)
|
41
41
|
rspec (2.99.0)
|
42
42
|
rspec-core (~> 2.99.0)
|
@@ -56,7 +56,10 @@ DEPENDENCIES
|
|
56
56
|
bundler (~> 1.7)
|
57
57
|
cucumber (~> 1.3)
|
58
58
|
inifile (~> 1.1)
|
59
|
-
rake
|
60
|
-
rdoc
|
59
|
+
rake (~> 10.4.0)
|
60
|
+
rdoc (~> 4.2.0)
|
61
61
|
rspec (~> 2.99)
|
62
62
|
uricp!
|
63
|
+
|
64
|
+
BUNDLED WITH
|
65
|
+
1.12.3
|
data/Jenkinsfile
ADDED
@@ -0,0 +1,54 @@
|
|
1
|
+
pipeline {
|
2
|
+
environment {
|
3
|
+
ORBIT = credentials('ced8ecd0-dbe4-4bf6-bdde-101a661565f5')
|
4
|
+
ORBIT_URL = credentials('c0c95c56-b4e9-45c2-85c5-bf292aef7301')
|
5
|
+
ORBIT_USER = "${ORBIT_USR}"
|
6
|
+
ORBIT_KEY = "${ORBIT_PSW}"
|
7
|
+
}
|
8
|
+
options {
|
9
|
+
disableConcurrentBuilds()
|
10
|
+
buildDiscarder(logRotator(numToKeepStr: '5'))
|
11
|
+
}
|
12
|
+
triggers {
|
13
|
+
cron('@weekly')
|
14
|
+
}
|
15
|
+
agent none
|
16
|
+
stages {
|
17
|
+
stage("CentOS 7") {
|
18
|
+
agent {
|
19
|
+
dockerfile {
|
20
|
+
dir 'centos7'
|
21
|
+
label "docker"
|
22
|
+
}
|
23
|
+
}
|
24
|
+
steps {
|
25
|
+
sh 'bundle install --deployment'
|
26
|
+
sh 'bundle exec rake features:new_qemu'
|
27
|
+
}
|
28
|
+
}
|
29
|
+
stage("Trusty, Ruby 1.9.3") {
|
30
|
+
agent {
|
31
|
+
dockerfile {
|
32
|
+
dir 'trusty'
|
33
|
+
label "docker"
|
34
|
+
}
|
35
|
+
}
|
36
|
+
steps {
|
37
|
+
sh 'bundle install --deployment'
|
38
|
+
sh 'bundle exec rake features:new_qemu'
|
39
|
+
}
|
40
|
+
}
|
41
|
+
stage("Xenial, Ruby 2.3.1") {
|
42
|
+
agent {
|
43
|
+
dockerfile {
|
44
|
+
dir 'xenial'
|
45
|
+
label "docker"
|
46
|
+
}
|
47
|
+
}
|
48
|
+
steps {
|
49
|
+
sh 'bundle install --deployment'
|
50
|
+
sh 'bundle exec rake features:new_qemu'
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
data/README.md
CHANGED
data/centos7/Dockerfile
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
FROM centos:7
|
2
|
+
MAINTAINER support@brightbox.co.uk
|
3
|
+
|
4
|
+
RUN yum update -y && yum -y install \
|
5
|
+
epel-release \
|
6
|
+
centos-release-openstack-kilo \
|
7
|
+
gcc \
|
8
|
+
make \
|
9
|
+
git \
|
10
|
+
qemu-img \
|
11
|
+
ruby-devel \
|
12
|
+
rubygems
|
13
|
+
|
14
|
+
RUN yum update -y && yum -y install \
|
15
|
+
python-swiftclient \
|
16
|
+
lz4
|
17
|
+
|
18
|
+
RUN echo "gem: --no-ri --no-rdoc" >> "$HOME/.gemrc"
|
19
|
+
RUN gem install bundler
|
20
|
+
|
@@ -197,21 +197,18 @@ end
|
|
197
197
|
|
198
198
|
Before('@orbit') do
|
199
199
|
fetch_orbit_token
|
200
|
-
|
200
|
+
$first_time ||= false
|
201
|
+
unless $first_time
|
202
|
+
puts("Clearing up temporary areas")
|
201
203
|
system("swift --quiet --insecure --os-storage-url=#{@current_storage_url} --os-auth-token=#{@current_auth_token} delete test")
|
202
204
|
system("swift --quiet --insecure --os-storage-url=#{@current_storage_url} --os-auth-token=#{@current_auth_token} delete temp_dlo")
|
203
205
|
system("swift --quiet --insecure --os-storage-url=#{@current_storage_url} --os-auth-token=#{@current_auth_token} delete test_upload")
|
204
|
-
|
205
|
-
end
|
206
|
-
|
207
|
-
Before('@orbitdownloads') do
|
208
|
-
$orbit_setup ||= false
|
209
|
-
unless $orbit_setup
|
206
|
+
puts("Setting up downloads")
|
210
207
|
create_container('test')
|
211
208
|
create_download_file('qcow2', 'img-qcow2', 'test')
|
212
209
|
create_download_file('lz4', 'img-lz4cy', 'test')
|
213
210
|
create_download_file('zero', 'img-zeroy', 'test')
|
214
|
-
$
|
211
|
+
$first_time = true
|
215
212
|
end
|
216
213
|
end
|
217
214
|
|
data/lib/uricp.rb
CHANGED
@@ -30,29 +30,3 @@ module Uricp
|
|
30
30
|
|
31
31
|
end
|
32
32
|
|
33
|
-
require 'tempfile'
|
34
|
-
class Dir
|
35
|
-
module Tmpname
|
36
|
-
unless respond_to? :make_tmpname
|
37
|
-
|
38
|
-
module_function
|
39
|
-
def make_tmpname(prefix_suffix, n)
|
40
|
-
case prefix_suffix
|
41
|
-
when String
|
42
|
-
prefix = prefix_suffix
|
43
|
-
suffix = ""
|
44
|
-
when Array
|
45
|
-
prefix = prefix_suffix[0]
|
46
|
-
suffix = prefix_suffix[1]
|
47
|
-
else
|
48
|
-
raise ArgumentError, "unexpected prefix_suffix: #{prefix_suffix.inspect}"
|
49
|
-
end
|
50
|
-
t = Time.now.strftime("%Y%m%d")
|
51
|
-
path = "#{prefix}#{t}-#{$$}-#{rand(0x100000000).to_s(36)}"
|
52
|
-
path << "-#{n}" if n
|
53
|
-
path << suffix
|
54
|
-
end
|
55
|
-
|
56
|
-
end
|
57
|
-
end
|
58
|
-
end
|
@@ -91,8 +91,9 @@ module Uricp::Strategy
|
|
91
91
|
|
92
92
|
PIPE_URI = URI('pipe:/')
|
93
93
|
|
94
|
-
def get_temp_filename(
|
95
|
-
|
94
|
+
def get_temp_filename(base_dir)
|
95
|
+
t = Time.now.strftime("%Y%m%d")
|
96
|
+
File.join(base_dir, "uricp-#{t}-#{$$}-#{rand(0x100000000).to_s(36)}")
|
96
97
|
end
|
97
98
|
|
98
99
|
def proposed_path
|
data/lib/uricp/version.rb
CHANGED
data/trusty/Dockerfile
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
FROM ubuntu:trusty
|
2
|
+
MAINTAINER support@brightbox.co.uk
|
3
|
+
|
4
|
+
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y -qq software-properties-common
|
5
|
+
|
6
|
+
RUN apt-add-repository ppa:brightbox/ruby-ng
|
7
|
+
|
8
|
+
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y -qq \
|
9
|
+
build-essential \
|
10
|
+
git \
|
11
|
+
qemu-utils \
|
12
|
+
liblz4-tool \
|
13
|
+
curl \
|
14
|
+
ruby1.9.3 \
|
15
|
+
ruby-dev \
|
16
|
+
python-swiftclient
|
17
|
+
|
18
|
+
RUN echo "gem: --no-ri --no-rdoc" >> "$HOME/.gemrc"
|
19
|
+
RUN gem install bundler
|
20
|
+
|
data/uricp.gemspec
CHANGED
@@ -19,10 +19,10 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
21
|
spec.add_development_dependency "bundler", "~> 1.7"
|
22
|
-
spec.add_development_dependency('rdoc')
|
22
|
+
spec.add_development_dependency('rdoc', '~> 4.2.0')
|
23
23
|
spec.add_development_dependency('aruba', '~> 0.6.0')
|
24
24
|
spec.add_development_dependency('cucumber', '~> 1.3')
|
25
|
-
spec.add_development_dependency('rake')
|
25
|
+
spec.add_development_dependency('rake', '~> 10.4.0')
|
26
26
|
spec.add_dependency('methadone', '~> 1.8.0')
|
27
27
|
spec.add_dependency('open4', '~> 1.3.0')
|
28
28
|
spec.add_dependency('filesize', '= 0.0.2')
|
data/xenial/Dockerfile
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
FROM ubuntu:xenial
|
2
|
+
MAINTAINER support@brightbox.co.uk
|
3
|
+
|
4
|
+
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y -qq software-properties-common
|
5
|
+
|
6
|
+
#RUN apt-add-repository ppa:brightbox/ruby-ng
|
7
|
+
|
8
|
+
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y -qq \
|
9
|
+
build-essential \
|
10
|
+
git \
|
11
|
+
qemu-utils \
|
12
|
+
liblz4-tool \
|
13
|
+
curl \
|
14
|
+
ruby \
|
15
|
+
ruby-dev \
|
16
|
+
python-swiftclient
|
17
|
+
|
18
|
+
RUN echo "gem: --no-ri --no-rdoc" >> "$HOME/.gemrc"
|
19
|
+
RUN gem install bundler
|
20
|
+
|
metadata
CHANGED
@@ -1,111 +1,111 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: uricp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Neil Wilson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-05-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.7'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - ~>
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.7'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rdoc
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 4.2.0
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 4.2.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: aruba
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - ~>
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: 0.6.0
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - ~>
|
52
|
+
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 0.6.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: cucumber
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - ~>
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '1.3'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - ~>
|
66
|
+
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '1.3'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rake
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
75
|
+
version: 10.4.0
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- -
|
80
|
+
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
82
|
+
version: 10.4.0
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: methadone
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - ~>
|
87
|
+
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: 1.8.0
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- - ~>
|
94
|
+
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: 1.8.0
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: open4
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- - ~>
|
101
|
+
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
103
|
version: 1.3.0
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- - ~>
|
108
|
+
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: 1.3.0
|
111
111
|
- !ruby/object:Gem::Dependency
|
@@ -126,42 +126,42 @@ dependencies:
|
|
126
126
|
name: sendfile
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
|
-
- - ~>
|
129
|
+
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
131
|
version: 1.2.0
|
132
132
|
type: :runtime
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
|
-
- - ~>
|
136
|
+
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: 1.2.0
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: rspec
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
|
-
- - ~>
|
143
|
+
- - "~>"
|
144
144
|
- !ruby/object:Gem::Version
|
145
145
|
version: '2.99'
|
146
146
|
type: :development
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
|
-
- - ~>
|
150
|
+
- - "~>"
|
151
151
|
- !ruby/object:Gem::Version
|
152
152
|
version: '2.99'
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
154
|
name: inifile
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
156
156
|
requirements:
|
157
|
-
- - ~>
|
157
|
+
- - "~>"
|
158
158
|
- !ruby/object:Gem::Version
|
159
159
|
version: '1.1'
|
160
160
|
type: :development
|
161
161
|
prerelease: false
|
162
162
|
version_requirements: !ruby/object:Gem::Requirement
|
163
163
|
requirements:
|
164
|
-
- - ~>
|
164
|
+
- - "~>"
|
165
165
|
- !ruby/object:Gem::Version
|
166
166
|
version: '1.1'
|
167
167
|
description: Copy one URL to another with optional cacheing
|
@@ -173,18 +173,16 @@ executables:
|
|
173
173
|
extensions: []
|
174
174
|
extra_rdoc_files: []
|
175
175
|
files:
|
176
|
-
- .gitignore
|
177
|
-
- Dockerfile_centos6.6
|
178
|
-
- Dockerfile_centos7
|
179
|
-
- Dockerfile_trusty-ruby193
|
176
|
+
- ".gitignore"
|
180
177
|
- Gemfile
|
181
178
|
- Gemfile.lock
|
179
|
+
- Jenkinsfile
|
182
180
|
- LICENSE.txt
|
183
181
|
- README.md
|
184
|
-
- README.rdoc
|
185
182
|
- Rakefile
|
186
183
|
- bin/segment_upload
|
187
184
|
- bin/uricp
|
185
|
+
- centos7/Dockerfile
|
188
186
|
- cucumber.yml
|
189
187
|
- features/auth_download.feature
|
190
188
|
- features/cacheable_from_uri.feature
|
@@ -223,7 +221,9 @@ files:
|
|
223
221
|
- lib/uricp/uri_strategy.rb
|
224
222
|
- lib/uricp/version.rb
|
225
223
|
- spec/something_spec.rb
|
224
|
+
- trusty/Dockerfile
|
226
225
|
- uricp.gemspec
|
226
|
+
- xenial/Dockerfile
|
227
227
|
homepage: ''
|
228
228
|
licenses:
|
229
229
|
- gplv3
|
@@ -234,17 +234,17 @@ require_paths:
|
|
234
234
|
- lib
|
235
235
|
required_ruby_version: !ruby/object:Gem::Requirement
|
236
236
|
requirements:
|
237
|
-
- -
|
237
|
+
- - ">="
|
238
238
|
- !ruby/object:Gem::Version
|
239
239
|
version: '0'
|
240
240
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
241
241
|
requirements:
|
242
|
-
- -
|
242
|
+
- - ">="
|
243
243
|
- !ruby/object:Gem::Version
|
244
244
|
version: '0'
|
245
245
|
requirements: []
|
246
246
|
rubyforge_project:
|
247
|
-
rubygems_version: 2.
|
247
|
+
rubygems_version: 2.5.2.1
|
248
248
|
signing_key:
|
249
249
|
specification_version: 4
|
250
250
|
summary: Copy one URL to another with optional cacheing
|
data/Dockerfile_centos6.6
DELETED
@@ -1,39 +0,0 @@
|
|
1
|
-
FROM centos:6.6
|
2
|
-
MAINTAINER support@brightbox.co.uk
|
3
|
-
|
4
|
-
RUN yum update -y && yum -y install \
|
5
|
-
epel-release \
|
6
|
-
gcc \
|
7
|
-
git \
|
8
|
-
make \
|
9
|
-
qemu-img \
|
10
|
-
ruby-devel \
|
11
|
-
rubygems
|
12
|
-
|
13
|
-
RUN yum update -y && yum -y install \
|
14
|
-
python-setuptools \
|
15
|
-
python-requests \
|
16
|
-
python-devel \
|
17
|
-
python-simplejson \
|
18
|
-
python-futures \
|
19
|
-
lz4
|
20
|
-
|
21
|
-
RUN easy_install pip
|
22
|
-
RUN pip install --upgrade setuptools
|
23
|
-
RUN pip install python-swiftclient
|
24
|
-
|
25
|
-
RUN echo "gem: --no-ri --no-rdoc" >> "$HOME/.gemrc"
|
26
|
-
RUN gem install bundler
|
27
|
-
|
28
|
-
RUN mkdir /app
|
29
|
-
WORKDIR /app
|
30
|
-
|
31
|
-
COPY Gemfile /app/Gemfile
|
32
|
-
COPY Gemfile.lock /app/Gemfile.lock
|
33
|
-
COPY uricp.gemspec /app/uricp.gemspec
|
34
|
-
COPY lib/uricp/version.rb /app/lib/uricp/version.rb
|
35
|
-
RUN bundle install --deployment
|
36
|
-
|
37
|
-
COPY . /app
|
38
|
-
|
39
|
-
CMD bundle exec rake features:old_qemu
|
data/Dockerfile_centos7
DELETED
@@ -1,39 +0,0 @@
|
|
1
|
-
FROM centos:7
|
2
|
-
MAINTAINER support@brightbox.co.uk
|
3
|
-
|
4
|
-
RUN yum update -y && yum -y install \
|
5
|
-
epel-release \
|
6
|
-
gcc \
|
7
|
-
make \
|
8
|
-
git \
|
9
|
-
qemu-img \
|
10
|
-
ruby-devel \
|
11
|
-
rubygems \
|
12
|
-
|
13
|
-
RUN yum update -y && yum -y install \
|
14
|
-
python-setuptools \
|
15
|
-
python-requests \
|
16
|
-
python-devel \
|
17
|
-
python-simplejson \
|
18
|
-
python-futures \
|
19
|
-
lz4
|
20
|
-
|
21
|
-
RUN easy_install pip
|
22
|
-
RUN pip install --upgrade setuptools
|
23
|
-
RUN pip install python-swiftclient
|
24
|
-
|
25
|
-
RUN echo "gem: --no-ri --no-rdoc" >> "$HOME/.gemrc"
|
26
|
-
RUN gem install bundler
|
27
|
-
|
28
|
-
RUN mkdir /app
|
29
|
-
WORKDIR /app
|
30
|
-
|
31
|
-
COPY Gemfile /app/Gemfile
|
32
|
-
COPY Gemfile.lock /app/Gemfile.lock
|
33
|
-
COPY uricp.gemspec /app/uricp.gemspec
|
34
|
-
COPY lib/uricp/version.rb /app/lib/uricp/version.rb
|
35
|
-
RUN bundle install --deployment
|
36
|
-
|
37
|
-
COPY . /app
|
38
|
-
|
39
|
-
CMD bundle exec rake features:new_qemu
|
data/Dockerfile_trusty-ruby193
DELETED
@@ -1,32 +0,0 @@
|
|
1
|
-
FROM ubuntu:trusty
|
2
|
-
MAINTAINER support@brightbox.co.uk
|
3
|
-
|
4
|
-
RUN apt-get update && apt-get install -y -qq software-properties-common
|
5
|
-
|
6
|
-
RUN apt-add-repository ppa:brightbox/ruby-ng
|
7
|
-
|
8
|
-
RUN apt-get update && apt-get install -y -qq \
|
9
|
-
build-essential \
|
10
|
-
git \
|
11
|
-
qemu-utils \
|
12
|
-
liblz4-tool \
|
13
|
-
curl \
|
14
|
-
ruby1.9.3 \
|
15
|
-
ruby-dev \
|
16
|
-
python-swiftclient
|
17
|
-
|
18
|
-
RUN echo "gem: --no-ri --no-rdoc" >> "$HOME/.gemrc"
|
19
|
-
RUN gem install bundler
|
20
|
-
|
21
|
-
RUN mkdir /app
|
22
|
-
WORKDIR /app
|
23
|
-
|
24
|
-
COPY Gemfile /app/Gemfile
|
25
|
-
COPY Gemfile.lock /app/Gemfile.lock
|
26
|
-
COPY uricp.gemspec /app/uricp.gemspec
|
27
|
-
COPY lib/uricp/version.rb /app/lib/uricp/version.rb
|
28
|
-
RUN bundle install --deployment
|
29
|
-
|
30
|
-
COPY . /app
|
31
|
-
|
32
|
-
CMD bundle exec rake features:new_qemu
|
data/README.rdoc
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
= uricp - DESCRIBE YOUR GEM
|
2
|
-
|
3
|
-
Author:: YOUR NAME (YOUR EMAIL)
|
4
|
-
Copyright:: Copyright (c) 2014 YOUR NAME
|
5
|
-
|
6
|
-
|
7
|
-
License:: gplv3, see LICENSE.txt
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
DESCRIBE YOUR GEM HERE
|
12
|
-
|
13
|
-
== Links
|
14
|
-
|
15
|
-
* {Source on Github}[LINK TO GITHUB]
|
16
|
-
* RDoc[LINK TO RDOC.INFO]
|
17
|
-
|
18
|
-
== Install
|
19
|
-
|
20
|
-
== Examples
|
21
|
-
|
22
|
-
== Contributing
|
23
|
-
|