shards 2.6.pre.rc2 → 2.6.pre.rc3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f33894e2cbca652dbbfda6a5497df61de900532b23f19461a6d4f943b17ae8e8
4
- data.tar.gz: 03dc378b3cf0ad361f249a4c72cd440e897c319e8ce5512008788285538f8071
3
+ metadata.gz: dcab915bec62f9944605c5b8e164cdad4814473e2a0b3fe2656476efca2e172c
4
+ data.tar.gz: 738a1449ce96c6f67b58c40df4a023a89af81b4f02e898f5f4405af0aeb606b7
5
5
  SHA512:
6
- metadata.gz: ae7d83e38fa8e928d247002b5410e5794c59b25bcb71f4fe1c46c2ca4aff78972874eff12c00ef9213dfb353a3fa8a067bf457cbee4e6b8ca1da5ad36de7e26f
7
- data.tar.gz: e498a4ef0061b82bb00a29abf4a8f550c4b577ecef21f3d16e7ce710d841a43c177db38bb5fe70dbaee4bafc454f557be7f9229fee2ba44a525d7e929a674826
6
+ metadata.gz: 60b27f55222eb5f4680c7d2eb808fadadeb1141997b5c044a960e9116c5d65d78b92bedb3c4e04e905d160116e074c2c907c227896bf9fe5a9e8353d7612a320
7
+ data.tar.gz: a6305089bdd0cc0332cccdc831f3ed81bfd370b3f1ab67f7b05e81f158edf70242d68f191818e8088b06622ba1285d691e5bb828a4feb043accfb9c5c5c3b9d7
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- shards (2.6.pre.rc2)
4
+ shards (2.6.pre.rc3)
5
5
  aws-sdk-ec2 (~> 1.48)
6
6
  aws-sdk-elasticloadbalancing (~> 1.5)
7
7
  aws-sdk-elasticloadbalancingv2 (~> 1.14)
@@ -5,11 +5,16 @@ fingerprints_by_api:
5
5
 
6
6
  # import validate client domain location and stage from fingerprints terminal
7
7
 
8
+ validate_stage:
9
+ correct: check_fingerprints
10
+ wrong_message: Stage %s does not exist.
11
+ wrong: finish
12
+
8
13
  check_fingerprints:
9
14
  message: The yaml files have been updated correctly in server(s).
10
15
  wrong_message: Fingerprints are not matching %s
11
16
  correct: application_reload_shards_task
12
- wrong: loop_step
17
+ wrong: puppet_agent_update
13
18
 
14
19
  application_reload_shards_task:
15
20
  message: Reload task have been executed successfully.
@@ -19,28 +24,24 @@ fingerprints_by_api:
19
24
 
20
25
  puppet_agent_update:
21
26
  message: Puppet has been executed successfully.
22
- correct: check_fingerprints
27
+ correct: check_fingerprints2
23
28
  wrong_message: Errors executing the puppet update % s
24
- wrong: check_fingerprints
29
+ wrong: finish
25
30
 
26
- loop_step:
27
- correct: puppet_agent_update
28
- message: The step %s will be executed after wait %d seconds.
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
29
35
  wrong: finish
30
- wrong_message: This is the %dth loop. The maximun is (%d).
31
- total_loops: 1
32
- seconds_between_loop: 1
33
36
 
34
37
  correct_steps_summary:
35
38
  - validate_client
36
39
  - validate_domain
37
40
  - validate_location
38
41
  - validate_stage
39
- # Run a 1 time loop when the above check fails.
40
- - loop_step
41
- - puppet_agent_update
42
42
  - check_fingerprints
43
- # finish loop
43
+ - puppet_agent_update
44
+ - check_fingerprints2
44
45
  - application_reload_shards_task
45
46
  - dns_upsert
46
47
 
@@ -1,3 +1,3 @@
1
1
  module Shards
2
- VERSION = "2.6-rc2"
2
+ VERSION = "2.6-rc3"
3
3
  end
@@ -283,6 +283,11 @@ module Shards
283
283
  output_message step['message']
284
284
  end
285
285
 
286
+ def check_fingerprints2
287
+ # this method if for the second time after puppet
288
+ check_fingerprints
289
+ end
290
+
286
291
  def loop_step
287
292
  @current_loop||=0
288
293
  @total_loops||=step['total_loops']
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.6.pre.rc2
4
+ version: 2.6.pre.rc3
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-01 00:00:00.000000000 Z
11
+ date: 2019-02-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler