shards 2.8 → 2.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 750f1fb12c2710c34edaa65941a77584e7a823fdeaefaf0778a5ec4d21e1a528
4
- data.tar.gz: 35b12cace67125056d74f701f51397a542499a3c8386f9dcb463213bbc6df1d9
3
+ metadata.gz: 75777c63dfc84d657776f5e183005d4497f135fc4854ac68ff62f74a25192f48
4
+ data.tar.gz: 18527de5c698b4d6ba9b79104571de51501b2c65f22b0fb503692d54b253f905
5
5
  SHA512:
6
- metadata.gz: fd19a11f969d0fa627c6c36f9096702390d5c06b15f5bb4e56c98e6b232e00da2eb4ea7f9a5586e64873985b8a11455323f650ef1b48fa5bca7e968114f83660
7
- data.tar.gz: 2f9487f41d90880be5e392e246c2746ea7a7adbb78e0dccf46242eed2b47ff51c69e84725212ca8bb204d8ea97539784c8e05b7ab64ae11bd79d7776d94e88ab
6
+ metadata.gz: 103325652a5758ed1cab8e55d13822808fea840fc99f291a0db866de598d555428610e0e1b2a45080644d56c3e3ff4026777837db180fd8b750b958e87036a8b
7
+ data.tar.gz: 9a7996c55b4b7fe9d894e3d18babe471e778f45855ca76df638e00aaea358057a5954ca43245d306230167fb5050578a2b65b3c4686197c18e101550d4d34f09
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- shards (2.8)
4
+ shards (2.9)
5
5
  aws-sdk-ec2 (~> 1.48)
6
6
  aws-sdk-elasticloadbalancing (~> 1.5)
7
7
  aws-sdk-elasticloadbalancingv2 (~> 1.14)
@@ -24,19 +24,19 @@ GEM
24
24
  rspec-expectations (>= 2.99)
25
25
  thor (~> 0.19)
26
26
  aws-eventstream (1.0.1)
27
- aws-partitions (1.136.0)
28
- aws-sdk-core (3.46.0)
27
+ aws-partitions (1.141.0)
28
+ aws-sdk-core (3.46.2)
29
29
  aws-eventstream (~> 1.0)
30
30
  aws-partitions (~> 1.0)
31
31
  aws-sigv4 (~> 1.0)
32
32
  jmespath (~> 1.0)
33
- aws-sdk-ec2 (1.67.0)
33
+ aws-sdk-ec2 (1.70.0)
34
34
  aws-sdk-core (~> 3, >= 3.39.0)
35
35
  aws-sigv4 (~> 1.0)
36
36
  aws-sdk-elasticloadbalancing (1.8.0)
37
37
  aws-sdk-core (~> 3, >= 3.39.0)
38
38
  aws-sigv4 (~> 1.0)
39
- aws-sdk-elasticloadbalancingv2 (1.20.0)
39
+ aws-sdk-elasticloadbalancingv2 (1.21.0)
40
40
  aws-sdk-core (~> 3, >= 3.39.0)
41
41
  aws-sigv4 (~> 1.0)
42
42
  aws-sdk-route53 (1.17.0)
@@ -35,12 +35,6 @@ delete_by_api:
35
35
  delete_database:
36
36
  wrong_message: The database %s could not be deleted.
37
37
  message: Database %s has been deleted.
38
- correct: puppet_agent_update
39
- wrong: finish
40
-
41
- application_reload_shards_task:
42
- message: Reload task have been executed successfully.
43
- wrong_message: Errors found in the reload task %s.
44
38
  correct: finish_successfully
45
39
  wrong: finish
46
40
 
@@ -55,7 +49,5 @@ correct_steps_summary:
55
49
  - write_yaml_files
56
50
  - commit_changes
57
51
  - delete_database
58
- - puppet_agent_update
59
- - check_fingerprints
60
52
 
61
53
  start: validate_location
@@ -0,0 +1,47 @@
1
+ ---
2
+ # see shared_steps in base.yaml to find the steps not defined in a workflow
3
+
4
+ reload_by_api:
5
+
6
+ # import validate client domain location and stage from fingerprints terminal
7
+
8
+ validate_stage:
9
+ correct: check_fingerprints
10
+ wrong_message: Stage %s does not exist.
11
+ wrong: finish
12
+
13
+ check_fingerprints:
14
+ message: The yaml files have been updated correctly in server(s).
15
+ wrong_message: Fingerprints are not matching %s
16
+ correct: application_reload_shards_task
17
+ wrong: puppet_agent_update
18
+
19
+ application_reload_shards_task:
20
+ message: Reload task have been executed successfully.
21
+ wrong_message: Errors found in the reload task %s.
22
+ correct: finish_successfully
23
+ wrong: finish
24
+
25
+ puppet_agent_update:
26
+ message: Puppet has been executed successfully.
27
+ correct: check_fingerprints2
28
+ wrong_message: Errors executing the puppet update % s
29
+ wrong: finish
30
+
31
+ check_fingerprints2:
32
+ message: The yaml files have been updated correctly in server(s).
33
+ wrong_message: Fingerprints are not matching %s
34
+ correct: application_reload_shards_task
35
+ wrong: finish
36
+
37
+ correct_steps_summary:
38
+ - validate_client
39
+ - validate_domain
40
+ - validate_location
41
+ - validate_stage
42
+ - check_fingerprints
43
+ - puppet_agent_update
44
+ - check_fingerprints2
45
+ - application_reload_shards_task
46
+
47
+ start: validate_client
@@ -1,3 +1,3 @@
1
1
  module Shards
2
- VERSION = "2.8"
2
+ VERSION = "2.9"
3
3
  end
@@ -0,0 +1,6 @@
1
+ module Shards
2
+ module Workflow
3
+ class ReloadByApi < Shards::Workflow::FingerprintsByApi
4
+ end
5
+ end
6
+ end
@@ -9,6 +9,7 @@ require "shards/workflow/by_api"
9
9
  require "shards/workflow/create_by_api"
10
10
  require "shards/workflow/delete_by_api"
11
11
  require "shards/workflow/fingerprints_by_api"
12
+ require "shards/workflow/reload_by_api"
12
13
 
13
14
  module Shards
14
15
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shards
3
3
  version: !ruby/object:Gem::Version
4
- version: '2.8'
4
+ version: '2.9'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Diego PL
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-02-27 00:00:00.000000000 Z
11
+ date: 2019-03-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -253,6 +253,7 @@ files:
253
253
  - lib/settings/workflows/fingerprints_by_api.yaml
254
254
  - lib/settings/workflows/fingerprints_terminal.yaml
255
255
  - lib/settings/workflows/fingerprints_terminal_two.yaml
256
+ - lib/settings/workflows/reload_by_api.yaml
256
257
  - lib/settings/workflows/terminal.yaml
257
258
  - lib/shards.rb
258
259
  - lib/shards/base.rb
@@ -281,6 +282,7 @@ files:
281
282
  - lib/shards/workflow/fingerprints_by_api.rb
282
283
  - lib/shards/workflow/fingerprints_terminal.rb
283
284
  - lib/shards/workflow/fingerprints_terminal_two.rb
285
+ - lib/shards/workflow/reload_by_api.rb
284
286
  - lib/shards/workflow/terminal.rb
285
287
  - lib/shards/workflow/workflow.rb
286
288
  - shards.gemspec