prima-twig 0.36.7 → 0.36.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/twig-feature +12 -6
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: da742877a11c353de05f7bee5061da386945b58f
4
- data.tar.gz: b2a2f3be0782d06fb1e2c905114a4f02e4f966ad
3
+ metadata.gz: 5858cf2a50a4d2e5c371ddebdad0c3c29d8018a0
4
+ data.tar.gz: 3cfcf691b7d2e32cda2be896513b53296c5ecf49
5
5
  SHA512:
6
- metadata.gz: 2d949efb381447b69cd3eab64ef1c7aeee52b4a0f585dc5b14926154ad419ed1e4a161ccf7e1f403361eec107be5e2756e8e1a0a60eb5d839852d6e9fda1bdcd
7
- data.tar.gz: 1ab6591ef3d8f6bc180de7f32d757978afcdb75cb96ef1a634f80d5e8f56accd836f9e4b68734db12e410acba14e00a6a22573c3229a1f031578c9ea370f237a
6
+ metadata.gz: 12b6b2c6e79fd225c1364181b83598beef91e91b4b432733f5702806c57c7a6ed9ef182afcb26223c43565f2bbb685b05febd5ae8c7b2ca02fc779fb08ac9be3
7
+ data.tar.gz: 325712b8f1bce01628c507f53574574b153847b515ff9f9ca87807927c4a022955b72167dbfa533bb81b4c3f9a6ca706d9a0bd8b372801ca97f26ce9ee8c0dfc
data/bin/twig-feature CHANGED
@@ -2048,7 +2048,7 @@ class Release
2048
2048
  assange_qa_host = get_route53_hostname("ecs-task-assange-qa-notneeded")
2049
2049
 
2050
2050
  if @qainit
2051
- exec_step 'prepare-docker-compose && cp docker-compose.yml docker-compose-ci.yml'
2051
+ exec_step 'prepare-docker-compose --directory prima && cp docker-compose.yml docker-compose-ci.yml'
2052
2052
  end
2053
2053
  [
2054
2054
  "bin/local_build_artifact.sh #{branch_name} #{web_qa_host} #{backoffice_qa_host} #{assange_qa_host} #{deploy_id} #{'update' if @deploy_update}"
@@ -2142,15 +2142,21 @@ class Release
2142
2142
  },
2143
2143
  count: 1
2144
2144
  })
2145
+ resp_run_task = resp
2145
2146
  output "Attendo che i DB vengano importati...\n".yellow
2146
2147
  stopped_at = nil
2148
+ sleep 15 # altrimenti non trova il task appena avviato...
2147
2149
  while stopped_at.nil?
2148
- unless resp.tasks[0].nil?
2149
- resp = @ecs.describe_tasks({
2150
- cluster: @ecs_cluster_name,
2151
- tasks: [resp.tasks[0].task_arn]
2152
- })
2150
+ if resp.tasks[0].nil?
2151
+ pp @ecs_cluster_name
2152
+ pp resp_run_task
2153
+ pp resp
2154
+ stop_if true, "Task di import DB lanciato, ma risposta vuota!".red
2153
2155
  end
2156
+ resp = @ecs.describe_tasks({
2157
+ cluster: resp.tasks[0].cluster_arn,
2158
+ tasks: [resp.tasks[0].task_arn]
2159
+ })
2154
2160
  stopped_at = resp.tasks[0].stopped_at unless resp.tasks[0].nil?
2155
2161
  sleep_seconds = 10
2156
2162
  seconds_elapsed = 0
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prima-twig
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.36.7
4
+ version: 0.36.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matteo Giachino
@@ -13,7 +13,7 @@ authors:
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2018-05-24 00:00:00.000000000 Z
16
+ date: 2018-05-28 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: aws-sdk