ey_cloud_server 1.4.54 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/bin/ey-snapshots +2 -1
- data/bin/eybackup +4 -2
- data/bin/eyrestore +211 -0
- data/features/step_definitions/mysql.rb +2 -0
- data/features/support/env.rb +3 -0
- data/lib/ey-flex/bucket_minder.rb +11 -1
- data/lib/ey-flex.rb +1 -1
- data/lib/ey_backup/backend.rb +2 -3
- data/lib/ey_backup/backup_set.rb +16 -16
- data/lib/ey_backup/cli.rb +67 -10
- data/lib/ey_backup/dumper.rb +20 -10
- data/lib/ey_backup/engine.rb +16 -3
- data/lib/ey_backup/engines/mysql_engine.rb +16 -5
- data/lib/ey_backup/engines/postgresql_engine.rb +37 -12
- data/lib/ey_backup/loader.rb +3 -1
- data/lib/ey_backup/logger.rb +42 -10
- data/lib/ey_backup/processors/splitter.rb +1 -1
- data/lib/ey_backup/spawner.rb +2 -5
- data/lib/ey_backup.rb +13 -2
- data/lib/ey_cloud_server/version.rb +1 -1
- data/spec/config.yml.ci +11 -0
- data/spec/ey_backup/backup_spec.rb +2 -0
- data/spec/ey_backup/cli_spec.rb +2 -0
- data/spec/ey_backup/mysql_backups_spec.rb +26 -0
- data/spec/ey_backup/postgres_backups_spec.rb +12 -0
- data/spec/helpers.rb +40 -14
- data/spec/spec_helper.rb +3 -0
- metadata +33 -37
- data/spec/config.yml +0 -11
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ey_cloud_server
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- EngineYard
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-12-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 2.6.1
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ~>
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 2.6.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: open4
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -64,62 +64,42 @@ dependencies:
|
|
64
64
|
requirements:
|
65
65
|
- - ! '>='
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version:
|
68
|
-
- - <
|
69
|
-
- !ruby/object:Gem::Version
|
70
|
-
version: '3.0'
|
71
|
-
type: :runtime
|
72
|
-
prerelease: false
|
73
|
-
version_requirements: !ruby/object:Gem::Requirement
|
74
|
-
requirements:
|
75
|
-
- - ! '>='
|
76
|
-
- !ruby/object:Gem::Version
|
77
|
-
version: '1.16'
|
78
|
-
- - <
|
79
|
-
- !ruby/object:Gem::Version
|
80
|
-
version: '3.0'
|
81
|
-
- !ruby/object:Gem::Dependency
|
82
|
-
name: aws-s3
|
83
|
-
requirement: !ruby/object:Gem::Requirement
|
84
|
-
requirements:
|
85
|
-
- - ! '>='
|
86
|
-
- !ruby/object:Gem::Version
|
87
|
-
version: 0.6.3
|
67
|
+
version: 3.3.1
|
88
68
|
type: :runtime
|
89
69
|
prerelease: false
|
90
70
|
version_requirements: !ruby/object:Gem::Requirement
|
91
71
|
requirements:
|
92
72
|
- - ! '>='
|
93
73
|
- !ruby/object:Gem::Version
|
94
|
-
version:
|
74
|
+
version: 3.3.1
|
95
75
|
- !ruby/object:Gem::Dependency
|
96
76
|
name: fog-aws
|
97
77
|
requirement: !ruby/object:Gem::Requirement
|
98
78
|
requirements:
|
99
79
|
- - ! '>='
|
100
80
|
- !ruby/object:Gem::Version
|
101
|
-
version:
|
81
|
+
version: 1.2.1
|
102
82
|
type: :runtime
|
103
83
|
prerelease: false
|
104
84
|
version_requirements: !ruby/object:Gem::Requirement
|
105
85
|
requirements:
|
106
86
|
- - ! '>='
|
107
87
|
- !ruby/object:Gem::Version
|
108
|
-
version:
|
88
|
+
version: 1.2.1
|
109
89
|
- !ruby/object:Gem::Dependency
|
110
90
|
name: ey_enzyme
|
111
91
|
requirement: !ruby/object:Gem::Requirement
|
112
92
|
requirements:
|
113
|
-
- -
|
93
|
+
- - ~>
|
114
94
|
- !ruby/object:Gem::Version
|
115
|
-
version:
|
95
|
+
version: 2.0.7pre1
|
116
96
|
type: :runtime
|
117
97
|
prerelease: false
|
118
98
|
version_requirements: !ruby/object:Gem::Requirement
|
119
99
|
requirements:
|
120
|
-
- -
|
100
|
+
- - ~>
|
121
101
|
- !ruby/object:Gem::Version
|
122
|
-
version:
|
102
|
+
version: 2.0.7pre1
|
123
103
|
- !ruby/object:Gem::Dependency
|
124
104
|
name: ey_instance_api_client
|
125
105
|
requirement: !ruby/object:Gem::Requirement
|
@@ -232,12 +212,27 @@ dependencies:
|
|
232
212
|
- - ~>
|
233
213
|
- !ruby/object:Gem::Version
|
234
214
|
version: 1.13.7
|
215
|
+
- !ruby/object:Gem::Dependency
|
216
|
+
name: simplecov
|
217
|
+
requirement: !ruby/object:Gem::Requirement
|
218
|
+
requirements:
|
219
|
+
- - ~>
|
220
|
+
- !ruby/object:Gem::Version
|
221
|
+
version: 0.16.1
|
222
|
+
type: :development
|
223
|
+
prerelease: false
|
224
|
+
version_requirements: !ruby/object:Gem::Requirement
|
225
|
+
requirements:
|
226
|
+
- - ~>
|
227
|
+
- !ruby/object:Gem::Version
|
228
|
+
version: 0.16.1
|
235
229
|
description: Miscellaneous EY server utilities
|
236
230
|
email:
|
237
231
|
- engineering@engineyard.com
|
238
232
|
executables:
|
239
233
|
- ey-snapshots
|
240
234
|
- eybackup
|
235
|
+
- eyrestore
|
241
236
|
extensions: []
|
242
237
|
extra_rdoc_files: []
|
243
238
|
files:
|
@@ -247,6 +242,7 @@ files:
|
|
247
242
|
- TODO
|
248
243
|
- bin/ey-snapshots
|
249
244
|
- bin/eybackup
|
245
|
+
- bin/eyrestore
|
250
246
|
- features/downloading_a_mysql_backup.feature
|
251
247
|
- features/making_a_postgresql_backup.feature
|
252
248
|
- features/restoring_postgres_backup.feature
|
@@ -279,7 +275,7 @@ files:
|
|
279
275
|
- lib/ey_cloud_server/version.rb
|
280
276
|
- spec/bucket_minder_spec.rb
|
281
277
|
- spec/config-example.yml
|
282
|
-
- spec/config.yml
|
278
|
+
- spec/config.yml.ci
|
283
279
|
- spec/ey_api_spec.rb
|
284
280
|
- spec/ey_backup/backend_spec.rb
|
285
281
|
- spec/ey_backup/backup_spec.rb
|
@@ -312,14 +308,14 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
312
308
|
version: '0'
|
313
309
|
requirements: []
|
314
310
|
rubyforge_project:
|
315
|
-
rubygems_version: 2.6.
|
311
|
+
rubygems_version: 2.6.14
|
316
312
|
signing_key:
|
317
313
|
specification_version: 4
|
318
314
|
summary: Server side components for Engine Yard's cloud
|
319
315
|
test_files:
|
320
316
|
- spec/bucket_minder_spec.rb
|
321
317
|
- spec/config-example.yml
|
322
|
-
- spec/config.yml
|
318
|
+
- spec/config.yml.ci
|
323
319
|
- spec/ey_api_spec.rb
|
324
320
|
- spec/ey_backup/backend_spec.rb
|
325
321
|
- 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'
|