rumination 0.11.3 → 0.11.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rumination/deploy/base.rb +2 -2
- data/lib/rumination/deploy.rb +0 -1
- data/lib/rumination/tasks/deploy/bootstrap.rake +1 -5
- data/lib/rumination/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7e4a57e58a4d248aa97cab297468ad7d45a89542
|
4
|
+
data.tar.gz: c8ff725d5d1da9f58f6c46dedea9e167c5b64d9c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 01eeb916d2e677f42ccae47a2a9eeeb9080f144d31decadce5fb73472a0dc0085b3e43da884992b2c2e41a305ea88221d99632d6fe738ff959af2c2b916defb6
|
7
|
+
data.tar.gz: 684e75ef963fc43f9aabd5656dc26ce44fec5fe64888de32b5f5d96a192c55be2a89fbe389b7dc18283a5885d4da89dc702740f82b2794f1ac8d2947a7caac6f
|
@@ -35,8 +35,8 @@ module Rumination
|
|
35
35
|
end
|
36
36
|
|
37
37
|
def bootstrap_undo
|
38
|
-
|
39
|
-
|
38
|
+
setup_outside_env
|
39
|
+
DockerCompose.down("--remove-orphans", "-v")
|
40
40
|
raise BootstrapError unless $? == 0
|
41
41
|
end
|
42
42
|
|
data/lib/rumination/deploy.rb
CHANGED
@@ -9,7 +9,6 @@ module Rumination
|
|
9
9
|
UnknownTarget = Class.new(DeployError)
|
10
10
|
BootstrapError = Class.new(DeployError)
|
11
11
|
BootstrappedAlready = Class.new(BootstrapError)
|
12
|
-
NotBootstrappedYet = Class.new(BootstrapError)
|
13
12
|
DatabaseInitError = Class.new(BootstrapError)
|
14
13
|
end
|
15
14
|
end
|
@@ -13,11 +13,7 @@ namespace :deploy do
|
|
13
13
|
task :undo, [:target] => %w[confirm_undo start_undo] do |t, args|
|
14
14
|
require "rumination/deploy"
|
15
15
|
args.with_defaults target: :development
|
16
|
-
|
17
|
-
Rumination::Deploy.bootstrap_undo(target: args.target)
|
18
|
-
rescue Rumination::Deploy::NotBootstrappedYet
|
19
|
-
abort "'#{args.target}' has not been bootstrapped yet"
|
20
|
-
end
|
16
|
+
Rumination::Deploy.bootstrap_undo(target: args.target)
|
21
17
|
end
|
22
18
|
|
23
19
|
task :confirm_undo do |t, args|
|
data/lib/rumination/version.rb
CHANGED