prima-twig 0.63.1 → 0.63.2

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/twig-feature +9 -14
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5f266421ef7b4f39f092b89b573ffb07371fcc592d66fbd3efcf48645af5e017
4
- data.tar.gz: beea8874d1d3bc4bc4e5b6c20886bbac7d59ccc903c388576010d2204c5de835
3
+ metadata.gz: bbcdabfd1ea5659991f58be1601570327630dbf8c138addd5503be3fba1e5a60
4
+ data.tar.gz: ae1369197126bfc0d9184ec8b81d4c7cbb79e14ef9feda815d390e46b49ca696
5
5
  SHA512:
6
- metadata.gz: 9442bf7c22ef3c4c7aa7b309abd3414bb18888a4d05ae079a3aaa2aa162e526e87fa109433528fac7b4799863c054b048a2e6ec629108029905a83aa1c9db70b
7
- data.tar.gz: 102349ed27175b5efa6bb895d31c1e6dadb6ad9d44a370826b35b8bc935884ac22a7b2262d3dad4f9e86a489da4fa75c9c8e9a83f5971c91c733cf2401369eba
6
+ metadata.gz: 5299af661f48a43a00712fc07258c992a69c53d23b3df5757786f48cbb2a954baca395c056badb09a51ca4fa781a3abc4842947dc85150161a6f7474b5752c37
7
+ data.tar.gz: af3db7c0c0fb682922a58619493154dd23a3ff725319646c6af867063cba568304d6bdc7f589b7acb48fce86a1f7c8d2eaf2fac0afd75baeda2f7404873ab72a
@@ -1810,8 +1810,7 @@ class Release
1810
1810
  starsky_hostname = get_route53_hostname("starsky") unless !deploy_starsky_hutch?
1811
1811
  hutch_hostname = get_route53_hostname("hutch") unless !deploy_starsky_hutch?
1812
1812
 
1813
-
1814
- # launch_marley ec2_ip_address(asg_stack_name), prima_hostname, borat_hostname
1813
+ launch_mimo(deploy_id) if deploy_starsky_hutch?
1815
1814
 
1816
1815
  projects_text = "
1817
1816
  > Prima url: https://#{prima_hostname}
@@ -2925,36 +2924,32 @@ class Release
2925
2924
  (Time.now.to_i.to_s[-4..-1].to_i + Random.rand(40000)).to_s
2926
2925
  end
2927
2926
 
2928
- def launch_marley(ip_address, prima_hostname, borat_hostname)
2929
- resp = describe_stack_resource('batch-job-marley', 'JobDefinition')
2927
+ def launch_mimo(env_hash)
2928
+ resp = describe_stack_resource('batch-job-mimo', 'JobDefinition')
2930
2929
 
2931
2930
  @batch.submit_job({
2932
- job_name: "marley-#{@dns_record_identifier}", # required
2931
+ job_name: "mimo-#{@dns_record_identifier}", # required
2933
2932
  job_queue: "tools-production", # required
2934
2933
  job_definition: resp.stack_resource_detail.physical_resource_id, # required
2935
2934
  container_overrides: {
2936
2935
  environment: [
2937
2936
  {
2938
- name: 'PRIMA_URL',
2939
- value: "https://#{prima_hostname}/?superprima"
2937
+ name: 'ENV_HASH',
2938
+ value: env_hash
2940
2939
  },
2941
2940
  {
2942
- name: 'PRIMA_IP',
2943
- value: ip_address
2941
+ name: 'APP_ENV',
2942
+ value: 'qa'
2944
2943
  },
2945
2944
  {
2946
2945
  name: 'PROJECTS_JSON',
2947
2946
  value: @projects.to_json
2948
- },
2949
- {
2950
- name: 'BACKOFFICE_URL',
2951
- value: "https://#{borat_hostname}"
2952
2947
  }
2953
2948
  ]
2954
2949
  }
2955
2950
  })
2956
2951
 
2957
- output "Marley lanciato con successo!\n".green
2952
+ output "Mimo lanciato con successo!\n".green
2958
2953
  end
2959
2954
 
2960
2955
  def get_currently_deployed_version(stack_name)
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.63.1
4
+ version: 0.63.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matteo Giachino
@@ -14,7 +14,7 @@ authors:
14
14
  autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
- date: 2020-03-09 00:00:00.000000000 Z
17
+ date: 2020-03-10 00:00:00.000000000 Z
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
20
20
  name: aws-sdk-autoscaling