deploy-context 2.1.19.1.g26a2b55.1.g5ba21a1 → 2.1.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/Rakefile +12 -5
- data/lib/deploy-context/context/deploy.rb +8 -8
- data/lib/deploy-context/deploy/cucumber.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +3 -3
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0424254e31e29fa03fba4f07b561221808420151b900886561156146282cfe0f
|
4
|
+
data.tar.gz: 7c5a2cb8fa646b744bc656b5b4f9f360392e0dff51919b521a5e075fef36894e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b4734c6452009d029df30b4173d8d89a084533af767fddcf9103857307901f6c229ac6918cab277639c9d1435573dc831576c25b92545c37e58830866c4eac6b
|
7
|
+
data.tar.gz: cbdcec9c82777431ae75eec708bc8d438e8f86c04eb8f1c4bda88037aa1c0aa9c55b750a06d7d1fc508b8cac46db2c0f0ce3499eea6b1424546bd6c98f940ae8
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/Rakefile
CHANGED
@@ -13,11 +13,18 @@ end
|
|
13
13
|
|
14
14
|
require 'git-version-bump/rake-tasks'
|
15
15
|
|
16
|
+
require_relative 'lib/deploy-context'
|
17
|
+
|
18
|
+
deployer = Context::DeployContext.deployer
|
19
|
+
|
16
20
|
task :default do
|
17
|
-
|
18
|
-
|
21
|
+
deployer.execute_action(deployer, 'once')
|
22
|
+
end
|
23
|
+
|
24
|
+
task :bump do
|
25
|
+
deployer.execute_action(deployer, 'bump')
|
26
|
+
end
|
19
27
|
|
20
|
-
|
21
|
-
deployer
|
22
|
-
deployer.cycle
|
28
|
+
task :test do
|
29
|
+
deployer.execute_action(deployer, 'test')
|
23
30
|
end
|
@@ -41,40 +41,40 @@ module Context
|
|
41
41
|
when 'once'
|
42
42
|
puts "\nExecute only once\n"
|
43
43
|
context.cycle
|
44
|
-
|
44
|
+
true
|
45
45
|
when 'always'
|
46
46
|
puts "\nAlways in execution\n"
|
47
47
|
while true do
|
48
48
|
context.cycle
|
49
49
|
end
|
50
|
-
|
50
|
+
true
|
51
51
|
when 'bump'
|
52
52
|
puts "\nBump minor version\n"
|
53
53
|
context.patch_bump
|
54
|
-
|
55
|
-
false
|
54
|
+
true
|
56
55
|
when 'release'
|
57
56
|
puts "\nBump major version\n"
|
58
57
|
context.minor_bump
|
59
|
-
|
58
|
+
true
|
60
59
|
when 'upgrade'
|
61
60
|
puts "\nBump major version\n"
|
62
61
|
context.major_bump
|
63
|
-
|
62
|
+
true
|
64
63
|
when 'test'
|
65
64
|
puts "\nExecute tests\n"
|
66
65
|
context.cucumber_test(context)
|
67
|
-
|
66
|
+
true
|
68
67
|
when 'reset'
|
69
68
|
puts "\nReset versionning\n"
|
70
69
|
system('rake')
|
71
70
|
# context.cucumber_test(deployer)
|
72
|
-
|
71
|
+
true
|
73
72
|
else
|
74
73
|
puts "Unknown setting #{action}"
|
75
74
|
false
|
76
75
|
end
|
77
76
|
end
|
77
|
+
context.commit
|
78
78
|
if state_action
|
79
79
|
puts "Action #{action} executed correctly in context #{context}"
|
80
80
|
else
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: deploy-context
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.20
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jimmy Provencher
|
@@ -131,9 +131,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
131
131
|
version: '0'
|
132
132
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
133
133
|
requirements:
|
134
|
-
- - "
|
134
|
+
- - ">="
|
135
135
|
- !ruby/object:Gem::Version
|
136
|
-
version:
|
136
|
+
version: '0'
|
137
137
|
requirements: []
|
138
138
|
rubygems_version: 3.2.32
|
139
139
|
signing_key:
|
metadata.gz.sig
CHANGED
Binary file
|