ey_cloud_server 1.4.47a → 1.4.47
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -15
- data/features/support/env.rb +3 -3
- data/lib/ey_cloud_server/version.rb +1 -1
- data/spec/ey_backup/mysql_backups_spec.rb +10 -11
- data/spec/ey_backup/postgres_backups_spec.rb +9 -9
- data/spec/helpers.rb +10 -16
- data/spec/spec_helper.rb +1 -0
- metadata +116 -161
- data/spec/config.yml +0 -11
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
|
-
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
metadata.gz: !binary |-
|
9
|
-
ODViNzVmZTE2MmJhMzc5OTk1ODU4MDhhMDJhNmQyNDNjNDk2NjYyNWIwOTk5
|
10
|
-
OTExYWRmYWRlOGU1MjIzMTJjMWMyMTUzMDc2YzU0Yjc0MjQyMmIzMmY5NDA2
|
11
|
-
ZjViMWNmNjlkZDg1YzFjM2I5YjNhZTdmYmVkOGNkYjA1MmRhZWU=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
MWMyMGFlNDk5ZTdkNDliNzUxMTJjOGZmN2U4MzdmZDQ1OGVjYTEyNzJkYTIy
|
14
|
-
ZDQ4ZmMxNmI5ZWM5NzlkZDY1N2YxOGM0ZDhlNThhYTdjZTUxNzY4NjRkZTAx
|
15
|
-
YTcyYjFiNWUwYWFkNzU4NTVkODk3M2M0YmI3YzE0ZTJjODZlMjA=
|
1
|
+
---
|
2
|
+
SHA512:
|
3
|
+
metadata.gz: 8ea9f9720c697f5544e918ffc6efaa33294ee3b1ba9c5bf3b79e7dabb8fb7215aae5e9daea553db1d570785e0f86dc8522f81d2ad7ff8b720f3a7d53c523583d
|
4
|
+
data.tar.gz: a2e1b80bc70a1a6c01ec14de5691f467a8cd1fe443155220fbfed4e58ddbed7d87543e2a84978c781b06991ecd482fd7759aa5b4c912dd7a2122f4f352c71cf9
|
5
|
+
SHA1:
|
6
|
+
metadata.gz: eae0875e369ab43aba8d8f8f8df4f73c718afcfb
|
7
|
+
data.tar.gz: 959fdaab084788b57dc364842f57a8a90b3e9e44
|
data/features/support/env.rb
CHANGED
@@ -3,15 +3,15 @@ require File.dirname(__FILE__) + "/../../lib/ey_backup"
|
|
3
3
|
require 'fakeweb'
|
4
4
|
require 'fakefs/safe'
|
5
5
|
require 'randexp'
|
6
|
-
require 'fog'
|
7
|
-
|
8
|
-
Fog.mock!
|
9
6
|
|
10
7
|
require File.dirname(__FILE__) + '/../../spec/fakefs_hax'
|
11
8
|
require File.dirname(__FILE__) + '/../../spec/helpers'
|
12
9
|
|
13
10
|
FakeWeb.allow_net_connect = false # if it's not here, it doesn't exist
|
14
11
|
Randexp::Dictionary.words
|
12
|
+
Fog.mock!
|
13
|
+
|
14
|
+
Fog.mock!
|
15
15
|
|
16
16
|
World(Helpers)
|
17
17
|
|
@@ -23,7 +23,6 @@ describe "MySQL Backups" do
|
|
23
23
|
end
|
24
24
|
|
25
25
|
it "makes GPG encrypted backups" do
|
26
|
-
import_gpg
|
27
26
|
EY::Backup.run(["-c", backup_config_file, '-k', Helpers::PUBLIC_KEY_ID])
|
28
27
|
|
29
28
|
EY::Backup.run(["-c", backup_config_file, "-l", @db_name])
|
@@ -90,29 +89,29 @@ describe "MySQL Backups" do
|
|
90
89
|
it 'manually restores an encrypted backup' do
|
91
90
|
run_sql("CREATE TABLE `foo` (`id` int(11) NOT NULL auto_increment, PRIMARY KEY(`id`));", @db_name).should be_true
|
92
91
|
run_sql("CREATE TABLE `bar` (`id` int(11) NOT NULL auto_increment, PRIMARY KEY(`id`));", @db_name).should be_true
|
93
|
-
|
92
|
+
|
94
93
|
import_gpg
|
95
|
-
|
94
|
+
|
96
95
|
EY::Backup.run(["-c", backup_config_file, '-k', Helpers::PUBLIC_KEY_ID])
|
97
|
-
|
96
|
+
|
98
97
|
run_sql("DROP TABLE `bar`;", @db_name).should be_true
|
99
98
|
run_sql("SELECT * FROM `bar`;", @db_name).should be_false
|
100
|
-
|
99
|
+
|
101
100
|
reset_logger
|
102
|
-
|
101
|
+
|
103
102
|
EY::Backup.run(["-c", backup_config_file, "-l", @db_name])
|
104
|
-
|
103
|
+
|
105
104
|
stdout.should include("1 backup(s) found")
|
106
|
-
|
105
|
+
|
107
106
|
EY::Backup.run(["-c", backup_config_file, "--download", "0:#{@db_name}"])
|
108
107
|
file = Dir["#{EY::Backup.tmp_dir}/*#{@db_name}*"].first
|
109
108
|
stdout = StringIO.new
|
110
109
|
EY::Backup::Spawner.spawn("gpg --no-default-keyring --keyring #{Helpers::PUBLIC_KEY_PATH} --secret-keyring #{Helpers::PRIVATE_KEY_PATH} --decrypt", stdout, file)
|
111
|
-
|
110
|
+
|
112
111
|
stdout.rewind
|
113
|
-
|
112
|
+
|
114
113
|
run_sql_pipe(stdout, @db_name)
|
115
|
-
|
114
|
+
|
116
115
|
run_sql("SELECT * FROM `foo`;", @db_name).should be_true
|
117
116
|
run_sql("SELECT * FROM `bar`;", @db_name).should be_true
|
118
117
|
FileUtils.rm(file)
|
@@ -24,11 +24,11 @@ describe "Postgres Backups" do
|
|
24
24
|
|
25
25
|
it "makes GPG encrypted backups" do
|
26
26
|
import_gpg
|
27
|
-
|
27
|
+
|
28
28
|
EY::Backup.run(["-c", backup_config_file, '-e', 'postgresql', '-k', Helpers::PUBLIC_KEY_ID])
|
29
|
-
|
29
|
+
|
30
30
|
EY::Backup.run(["-c", backup_config_file, '-e', 'postgresql', "-l", @db_name])
|
31
|
-
|
31
|
+
|
32
32
|
stdout.should match(/0:#{@db_name}/)
|
33
33
|
end
|
34
34
|
|
@@ -56,19 +56,19 @@ describe "Postgres Backups" do
|
|
56
56
|
it "restores split backups" do
|
57
57
|
run_psql("CREATE TABLE foo (id integer NOT NULL);", @db_name).should be_true
|
58
58
|
run_psql("CREATE TABLE bar (id integer NOT NULL);", @db_name).should be_true
|
59
|
-
|
59
|
+
|
60
60
|
EY::Backup.run(["-c", backup_config_file, "-e", "postgresql", "-s", "100"])
|
61
61
|
EY::Backup.run(["-c", backup_config_file, "-e", "postgresql", "-l", @db_name]).first.parts.should > 1
|
62
|
-
|
62
|
+
|
63
63
|
run_psql("DROP TABLE bar;", @db_name).should be_true
|
64
64
|
run_psql("SELECT * FROM bar;", @db_name).should be_false
|
65
|
-
|
65
|
+
|
66
66
|
EY::Backup.run(["-c", backup_config_file, "-l", @db_name, '-e', 'postgresql'])
|
67
|
-
|
67
|
+
|
68
68
|
stdout.should include("1 backup(s) found")
|
69
|
-
|
69
|
+
|
70
70
|
EY::Backup.run(["-c", backup_config_file, "-r", "0:#{@db_name}", '-e', 'postgresql'])
|
71
|
-
|
71
|
+
|
72
72
|
run_psql("SELECT * FROM foo;", @db_name).should be_true
|
73
73
|
run_psql("SELECT * FROM bar;", @db_name).should be_true
|
74
74
|
end
|
data/spec/helpers.rb
CHANGED
@@ -4,7 +4,7 @@ module Helpers
|
|
4
4
|
PUBLIC_KEY_ID = '4D5AA1CE74A97ADB'
|
5
5
|
|
6
6
|
def run_before
|
7
|
-
read_keys
|
7
|
+
public_key, private_key = read_keys
|
8
8
|
|
9
9
|
FakeWeb.clean_registry
|
10
10
|
FakeWeb.passthrough_uri(:any, %r{^https?://s3.amazonaws.com/})
|
@@ -28,7 +28,7 @@ module Helpers
|
|
28
28
|
end
|
29
29
|
|
30
30
|
def stub_configs
|
31
|
-
#print "in stub_configs: #{YAML::dump(@database_config)}, #{YAML::dump(spec_config)}\n"
|
31
|
+
# print "in stub_configs: #{YAML::dump(@database_config)}, #{YAML::dump(spec_config)}\n"
|
32
32
|
config = @database_config || spec_config
|
33
33
|
config = config.merge({ :tmp_dir => tmp_dir })
|
34
34
|
# print "in stub_configs2: #{YAML::dump(config)}\n"
|
@@ -59,7 +59,7 @@ module Helpers
|
|
59
59
|
FileUtils.rm_f(backup_config_file)
|
60
60
|
filenames = Dir.glob("#{tmp_dir}/*")
|
61
61
|
if filenames.any?
|
62
|
-
raise "failed to remove #{filenames.join('
|
62
|
+
raise "failed to remove #{filenames.join(' ')}"
|
63
63
|
end
|
64
64
|
end
|
65
65
|
|
@@ -82,7 +82,7 @@ module Helpers
|
|
82
82
|
end
|
83
83
|
|
84
84
|
def mysql_password_option
|
85
|
-
mysql_password.
|
85
|
+
mysql_password.blank? ? "" : "-p#{mysql_password}"
|
86
86
|
end
|
87
87
|
|
88
88
|
def generate_database_name(type)
|
@@ -156,7 +156,7 @@ module Helpers
|
|
156
156
|
stdin.flush
|
157
157
|
stdin.close
|
158
158
|
|
159
|
-
|
159
|
+
ignored, status = Process::waitpid2 pid
|
160
160
|
|
161
161
|
status
|
162
162
|
end
|
@@ -166,7 +166,7 @@ module Helpers
|
|
166
166
|
end
|
167
167
|
|
168
168
|
def tmp_dir
|
169
|
-
if spec_config['tmp_dir'].
|
169
|
+
if spec_config['tmp_dir'].blank?
|
170
170
|
File.dirname(__FILE__) + "/tmp/"
|
171
171
|
else
|
172
172
|
spec_config['tmp_dir'] || File.dirname("./tmp/")
|
@@ -174,11 +174,11 @@ module Helpers
|
|
174
174
|
end
|
175
175
|
|
176
176
|
def mysql_user
|
177
|
-
spec_config['mysql_user'] || "
|
177
|
+
spec_config['mysql_user'] || raise("No mysql user provided")
|
178
178
|
end
|
179
179
|
|
180
180
|
def postgresql_user
|
181
|
-
spec_config['postgresql_user'] || "
|
181
|
+
spec_config['postgresql_user'] || raise("No postgresql user provided")
|
182
182
|
end
|
183
183
|
|
184
184
|
def mysql_password
|
@@ -190,11 +190,11 @@ module Helpers
|
|
190
190
|
end
|
191
191
|
|
192
192
|
def mysql_host
|
193
|
-
spec_config['mysql_host'] || '
|
193
|
+
spec_config['mysql_host'] || 'localhost'
|
194
194
|
end
|
195
195
|
|
196
196
|
def postgresql_host
|
197
|
-
spec_config['postgresql_host'] || '
|
197
|
+
spec_config['postgresql_host'] || 'localhost'
|
198
198
|
end
|
199
199
|
|
200
200
|
def created_mysql_dbs
|
@@ -215,14 +215,8 @@ module Helpers
|
|
215
215
|
|
216
216
|
def self.load_spec_config
|
217
217
|
filename = File.dirname(__FILE__) + '/config.yml'
|
218
|
-
|
219
218
|
if File.exist?(filename)
|
220
219
|
@spec_config = YAML.load_file(filename)
|
221
|
-
elsif Fog.mocking?
|
222
|
-
@spec_config = {
|
223
|
-
'aws_secret_id' => SecureRandom.base64(10),
|
224
|
-
'aws_secret_key' => SecureRandom.base64(20),
|
225
|
-
}
|
226
220
|
else
|
227
221
|
abort "Please setup your spec/config.yml file"
|
228
222
|
end
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,179 +1,134 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: ey_cloud_server
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.4.47
|
5
5
|
platform: ruby
|
6
|
-
authors:
|
6
|
+
authors:
|
7
7
|
- EngineYard
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
|
12
|
-
|
13
|
-
|
11
|
+
|
12
|
+
date: 2015-05-12 00:00:00 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
14
15
|
name: json
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - ! '>='
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: 1.4.4
|
20
|
-
- - <=
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: 1.4.6
|
23
|
-
type: :runtime
|
24
16
|
prerelease: false
|
25
|
-
|
26
|
-
requirements:
|
27
|
-
- -
|
28
|
-
- !ruby/object:Gem::Version
|
17
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
18
|
+
requirements:
|
19
|
+
- - ">="
|
20
|
+
- !ruby/object:Gem::Version
|
29
21
|
version: 1.4.4
|
30
22
|
- - <=
|
31
|
-
- !ruby/object:Gem::Version
|
23
|
+
- !ruby/object:Gem::Version
|
32
24
|
version: 1.4.6
|
33
|
-
- !ruby/object:Gem::Dependency
|
34
|
-
name: right_http_connection
|
35
|
-
requirement: !ruby/object:Gem::Requirement
|
36
|
-
requirements:
|
37
|
-
- - '='
|
38
|
-
- !ruby/object:Gem::Version
|
39
|
-
version: 1.2.4
|
40
25
|
type: :runtime
|
26
|
+
version_requirements: *id001
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: right_http_connection
|
41
29
|
prerelease: false
|
42
|
-
|
43
|
-
requirements:
|
44
|
-
- -
|
45
|
-
- !ruby/object:Gem::Version
|
30
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - "="
|
33
|
+
- !ruby/object:Gem::Version
|
46
34
|
version: 1.2.4
|
47
|
-
- !ruby/object:Gem::Dependency
|
48
|
-
name: right_aws
|
49
|
-
requirement: !ruby/object:Gem::Requirement
|
50
|
-
requirements:
|
51
|
-
- - '='
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
version: 2.0.0
|
54
35
|
type: :runtime
|
36
|
+
version_requirements: *id002
|
37
|
+
- !ruby/object:Gem::Dependency
|
38
|
+
name: right_aws
|
55
39
|
prerelease: false
|
56
|
-
|
57
|
-
requirements:
|
58
|
-
- -
|
59
|
-
- !ruby/object:Gem::Version
|
40
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
41
|
+
requirements:
|
42
|
+
- - "="
|
43
|
+
- !ruby/object:Gem::Version
|
60
44
|
version: 2.0.0
|
61
|
-
- !ruby/object:Gem::Dependency
|
62
|
-
name: open4
|
63
|
-
requirement: !ruby/object:Gem::Requirement
|
64
|
-
requirements:
|
65
|
-
- - ~>
|
66
|
-
- !ruby/object:Gem::Version
|
67
|
-
version: 1.3.0
|
68
45
|
type: :runtime
|
46
|
+
version_requirements: *id003
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: open4
|
69
49
|
prerelease: false
|
70
|
-
|
71
|
-
requirements:
|
50
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
72
52
|
- - ~>
|
73
|
-
- !ruby/object:Gem::Version
|
53
|
+
- !ruby/object:Gem::Version
|
74
54
|
version: 1.3.0
|
75
|
-
- !ruby/object:Gem::Dependency
|
76
|
-
name: nokogiri
|
77
|
-
requirement: !ruby/object:Gem::Requirement
|
78
|
-
requirements:
|
79
|
-
- - ! '>='
|
80
|
-
- !ruby/object:Gem::Version
|
81
|
-
version: 1.6.6.2
|
82
55
|
type: :runtime
|
56
|
+
version_requirements: *id004
|
57
|
+
- !ruby/object:Gem::Dependency
|
58
|
+
name: nokogiri
|
83
59
|
prerelease: false
|
84
|
-
|
85
|
-
requirements:
|
86
|
-
- -
|
87
|
-
- !ruby/object:Gem::Version
|
60
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
61
|
+
requirements:
|
62
|
+
- - ">="
|
63
|
+
- !ruby/object:Gem::Version
|
88
64
|
version: 1.6.6.2
|
89
|
-
- !ruby/object:Gem::Dependency
|
90
|
-
name: aws-s3
|
91
|
-
requirement: !ruby/object:Gem::Requirement
|
92
|
-
requirements:
|
93
|
-
- - ~>
|
94
|
-
- !ruby/object:Gem::Version
|
95
|
-
version: 0.6.2
|
96
65
|
type: :runtime
|
66
|
+
version_requirements: *id005
|
67
|
+
- !ruby/object:Gem::Dependency
|
68
|
+
name: aws-s3
|
97
69
|
prerelease: false
|
98
|
-
|
99
|
-
requirements:
|
70
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
100
72
|
- - ~>
|
101
|
-
- !ruby/object:Gem::Version
|
73
|
+
- !ruby/object:Gem::Version
|
102
74
|
version: 0.6.2
|
103
|
-
- !ruby/object:Gem::Dependency
|
104
|
-
name: fog
|
105
|
-
requirement: !ruby/object:Gem::Requirement
|
106
|
-
requirements:
|
107
|
-
- - ! '>='
|
108
|
-
- !ruby/object:Gem::Version
|
109
|
-
version: 1.30.0
|
110
75
|
type: :runtime
|
76
|
+
version_requirements: *id006
|
77
|
+
- !ruby/object:Gem::Dependency
|
78
|
+
name: fog
|
111
79
|
prerelease: false
|
112
|
-
|
113
|
-
requirements:
|
114
|
-
- -
|
115
|
-
- !ruby/object:Gem::Version
|
80
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
81
|
+
requirements:
|
82
|
+
- - ">="
|
83
|
+
- !ruby/object:Gem::Version
|
116
84
|
version: 1.30.0
|
117
|
-
- !ruby/object:Gem::Dependency
|
118
|
-
name: mysql
|
119
|
-
requirement: !ruby/object:Gem::Requirement
|
120
|
-
requirements:
|
121
|
-
- - ~>
|
122
|
-
- !ruby/object:Gem::Version
|
123
|
-
version: 2.8.1
|
124
85
|
type: :runtime
|
86
|
+
version_requirements: *id007
|
87
|
+
- !ruby/object:Gem::Dependency
|
88
|
+
name: mysql
|
125
89
|
prerelease: false
|
126
|
-
|
127
|
-
requirements:
|
90
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
91
|
+
requirements:
|
128
92
|
- - ~>
|
129
|
-
- !ruby/object:Gem::Version
|
93
|
+
- !ruby/object:Gem::Version
|
130
94
|
version: 2.8.1
|
131
|
-
- !ruby/object:Gem::Dependency
|
132
|
-
name: ey_enzyme
|
133
|
-
requirement: !ruby/object:Gem::Requirement
|
134
|
-
requirements:
|
135
|
-
- - ! '>='
|
136
|
-
- !ruby/object:Gem::Version
|
137
|
-
version: 1.1.7
|
138
95
|
type: :runtime
|
96
|
+
version_requirements: *id008
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: ey_enzyme
|
139
99
|
prerelease: false
|
140
|
-
|
141
|
-
requirements:
|
142
|
-
- -
|
143
|
-
- !ruby/object:Gem::Version
|
100
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
101
|
+
requirements:
|
102
|
+
- - ">="
|
103
|
+
- !ruby/object:Gem::Version
|
144
104
|
version: 1.1.7
|
145
|
-
- !ruby/object:Gem::Dependency
|
146
|
-
name: ey_instance_api_client
|
147
|
-
requirement: !ruby/object:Gem::Requirement
|
148
|
-
requirements:
|
149
|
-
- - ~>
|
150
|
-
- !ruby/object:Gem::Version
|
151
|
-
version: 0.1.1
|
152
105
|
type: :runtime
|
106
|
+
version_requirements: *id009
|
107
|
+
- !ruby/object:Gem::Dependency
|
108
|
+
name: ey_instance_api_client
|
153
109
|
prerelease: false
|
154
|
-
|
155
|
-
requirements:
|
110
|
+
requirement: &id010 !ruby/object:Gem::Requirement
|
111
|
+
requirements:
|
156
112
|
- - ~>
|
157
|
-
- !ruby/object:Gem::Version
|
113
|
+
- !ruby/object:Gem::Version
|
158
114
|
version: 0.1.1
|
159
|
-
|
115
|
+
type: :runtime
|
116
|
+
version_requirements: *id010
|
117
|
+
- !ruby/object:Gem::Dependency
|
160
118
|
name: rake
|
161
|
-
requirement: !ruby/object:Gem::Requirement
|
162
|
-
requirements:
|
163
|
-
- - ! '>='
|
164
|
-
- !ruby/object:Gem::Version
|
165
|
-
version: '0'
|
166
|
-
type: :development
|
167
119
|
prerelease: false
|
168
|
-
|
169
|
-
requirements:
|
170
|
-
-
|
171
|
-
-
|
172
|
-
|
120
|
+
requirement: &id011 !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- &id012
|
123
|
+
- ">="
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: "0"
|
126
|
+
type: :development
|
127
|
+
version_requirements: *id011
|
173
128
|
description: Miscellaneous EY server utilities
|
174
|
-
email:
|
129
|
+
email:
|
175
130
|
- engineering@engineyard.com
|
176
|
-
executables:
|
131
|
+
executables:
|
177
132
|
- binary_log_purge
|
178
133
|
- clear_binlogs_from_slave
|
179
134
|
- ey-agent
|
@@ -181,32 +136,21 @@ executables:
|
|
181
136
|
- eybackup
|
182
137
|
- mysql_start
|
183
138
|
extensions: []
|
139
|
+
|
184
140
|
extra_rdoc_files: []
|
185
|
-
|
186
|
-
|
187
|
-
- README.rdoc
|
188
|
-
- Rakefile
|
189
|
-
- TODO
|
141
|
+
|
142
|
+
files:
|
190
143
|
- bin/binary_log_purge
|
191
144
|
- bin/clear_binlogs_from_slave
|
192
145
|
- bin/ey-agent
|
193
146
|
- bin/ey-snapshots
|
194
147
|
- bin/eybackup
|
195
148
|
- bin/mysql_start
|
196
|
-
- features/downloading_a_mysql_backup.feature
|
197
|
-
- features/making_a_postgresql_backup.feature
|
198
|
-
- features/restoring_postgres_backup.feature
|
199
|
-
- features/step_definitions/backups.rb
|
200
|
-
- features/step_definitions/commands.rb
|
201
|
-
- features/step_definitions/mysql.rb
|
202
|
-
- features/step_definitions/postgresql.rb
|
203
|
-
- features/support/env.rb
|
204
|
-
- lib/ey-flex.rb
|
205
149
|
- lib/ey-flex/big-brother.rb
|
206
150
|
- lib/ey-flex/bucket_minder.rb
|
207
151
|
- lib/ey-flex/ey-api.rb
|
208
152
|
- lib/ey-flex/snapshot_minder.rb
|
209
|
-
- lib/
|
153
|
+
- lib/ey-flex.rb
|
210
154
|
- lib/ey_backup/backend.rb
|
211
155
|
- lib/ey_backup/backup_set.rb
|
212
156
|
- lib/ey_backup/base.rb
|
@@ -222,13 +166,17 @@ files:
|
|
222
166
|
- lib/ey_backup/processors/gzipper.rb
|
223
167
|
- lib/ey_backup/processors/splitter.rb
|
224
168
|
- lib/ey_backup/spawner.rb
|
225
|
-
- lib/
|
169
|
+
- lib/ey_backup.rb
|
226
170
|
- lib/ey_cloud_server/mysql_start.rb
|
227
171
|
- lib/ey_cloud_server/version.rb
|
172
|
+
- lib/ey_cloud_server.rb
|
173
|
+
- README.rdoc
|
174
|
+
- Rakefile
|
175
|
+
- LICENSE
|
176
|
+
- TODO
|
228
177
|
- spec/big-brother_spec.rb
|
229
178
|
- spec/bucket_minder_spec.rb
|
230
179
|
- spec/config-example.yml
|
231
|
-
- spec/config.yml
|
232
180
|
- spec/ey_api_spec.rb
|
233
181
|
- spec/ey_backup/backend_spec.rb
|
234
182
|
- spec/ey_backup/backup_spec.rb
|
@@ -242,34 +190,41 @@ files:
|
|
242
190
|
- spec/helpers.rb
|
243
191
|
- spec/snapshot_minder_spec.rb
|
244
192
|
- spec/spec_helper.rb
|
193
|
+
- features/downloading_a_mysql_backup.feature
|
194
|
+
- features/making_a_postgresql_backup.feature
|
195
|
+
- features/restoring_postgres_backup.feature
|
196
|
+
- features/step_definitions/backups.rb
|
197
|
+
- features/step_definitions/commands.rb
|
198
|
+
- features/step_definitions/mysql.rb
|
199
|
+
- features/step_definitions/postgresql.rb
|
200
|
+
- features/support/env.rb
|
245
201
|
homepage: http://developer.engineyard.com
|
246
202
|
licenses: []
|
203
|
+
|
247
204
|
metadata: {}
|
205
|
+
|
248
206
|
post_install_message:
|
249
207
|
rdoc_options: []
|
250
|
-
|
208
|
+
|
209
|
+
require_paths:
|
251
210
|
- lib
|
252
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
253
|
-
requirements:
|
254
|
-
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
requirements:
|
259
|
-
- - ! '>'
|
260
|
-
- !ruby/object:Gem::Version
|
261
|
-
version: 1.3.1
|
211
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- *id012
|
214
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
215
|
+
requirements:
|
216
|
+
- *id012
|
262
217
|
requirements: []
|
218
|
+
|
263
219
|
rubyforge_project:
|
264
|
-
rubygems_version: 2.
|
220
|
+
rubygems_version: 2.0.14
|
265
221
|
signing_key:
|
266
222
|
specification_version: 4
|
267
223
|
summary: Server side components for Engine Yard's cloud
|
268
|
-
test_files:
|
224
|
+
test_files:
|
269
225
|
- spec/big-brother_spec.rb
|
270
226
|
- spec/bucket_minder_spec.rb
|
271
227
|
- spec/config-example.yml
|
272
|
-
- spec/config.yml
|
273
228
|
- spec/ey_api_spec.rb
|
274
229
|
- spec/ey_backup/backend_spec.rb
|
275
230
|
- spec/ey_backup/backup_spec.rb
|
data/spec/config.yml
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
---
|
2
|
-
tmp_dir:
|
3
|
-
data_json:
|
4
|
-
mysql_user: root
|
5
|
-
mysql_password:
|
6
|
-
mysql_host: localhost
|
7
|
-
postgresql_user: postgres
|
8
|
-
postgresql_password: grew152
|
9
|
-
postgresql_host: localhost
|
10
|
-
aws_secret_id: 'AKIAIDNXVLT3THIWYMNQ'
|
11
|
-
aws_secret_key: 'DZBOcAI1qpYF0V+ZL2SeA7Jzt15boFxIo+BD7vda'
|