prima-twig 0.34.125 → 0.34.130

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-build +10 -6
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d4da4a12ee03a2ab9b11322624ecb014077c965302f6d1b6a859c5674961441a
4
- data.tar.gz: bdb0074c709875fd317ef41e9d88797832d7573db8f494a128b6c8cbf6184c36
3
+ metadata.gz: e643c0321391de8e61ac20f750796aea7c82a1d4c3780952522cfce31b0785aa
4
+ data.tar.gz: 0a4eeebd6a438e44e5c26a1f8d3a1d5de3bb5986e8e26c827c1137794803af71
5
5
  SHA512:
6
- metadata.gz: 16caeea24d92eb796be6d36b1c36fa4e2ddcc8910e7b1f4705be816b69ec58cfd7da074ab68b067775204b7d7bd0081134f58bd90efbe93c7c66019a3c6cc9a7
7
- data.tar.gz: d492f489220fdf38674cf37f918ce0a1d45a64238eba8d1206dd5f4ed5997ae73c6f002f0f4b57e6800e3e005df85a76383f3c633fd41cc51931ab55b158f57d
6
+ metadata.gz: fcb774ae41561b09aedd92a986197937f5c0670077d33d1ea38ce3655f0bd966d042e3b9b3a26eb4f1cb5aa573d2791a59641474c0b5f3dde8886e7219dd684d
7
+ data.tar.gz: 676510c75c34cb05596dc99913e20d0e4b30c25e442d945dbad7f55fde338e9bf6d86a0ef3a823fa9edeaca31c17b0dae85f8be5975418b64c681712c4a453c5
@@ -1594,6 +1594,10 @@ class Build
1594
1594
  {
1595
1595
  parameter_key: "HostnamePatternPriority",
1596
1596
  parameter_value: (hostname_pattern_priority.to_i + 79).to_s
1597
+ },
1598
+ {
1599
+ parameter_key: "AllowedOrigin",
1600
+ parameter_value: "https://#{get_route53_hostname('toretto_fe')}"
1597
1601
  }
1598
1602
  ]
1599
1603
  if stack_exists?(stack_name_toretto)
@@ -1609,7 +1613,7 @@ class Build
1609
1613
 
1610
1614
  wait_for_artifact('prima-artifacts-encrypted', "microservices/toretto/fe-#{@projects["toretto"]['revision']}-#{get_deploy_id[0..7]}-qa.tar.gz")
1611
1615
 
1612
- stack_name_toretto_fe = get_stack_name("toretto_fe")
1616
+ stack_name_toretto_fe = get_stack_name("toretto-fe")
1613
1617
  git_checkout_version('toretto', @projects["toretto"]['revision'])
1614
1618
  stack_body = File.read('projects/toretto/deploy/task-fe.yml')
1615
1619
  parameters = [
@@ -1643,7 +1647,7 @@ class Build
1643
1647
  },
1644
1648
  {
1645
1649
  parameter_key: "ApiUrl",
1646
- parameter_value: "https://#{get_route53_hostname('maia-intermediari')}"
1650
+ parameter_value: "https://#{get_route53_hostname('toretto')}"
1647
1651
  }
1648
1652
  ]
1649
1653
  if stack_exists?(stack_name_toretto_fe)
@@ -1679,7 +1683,7 @@ class Build
1679
1683
  end
1680
1684
  if deploy_toretto?
1681
1685
  wait_for_stack_ready(get_stack_name("toretto")) unless stack_ready?(get_stack_name("toretto"))
1682
- wait_for_stack_ready(get_stack_name("toretto_fe")) unless stack_ready?(get_stack_name("toretto_fe"))
1686
+ wait_for_stack_ready(get_stack_name("toretto-fe")) unless stack_ready?(get_stack_name("toretto-fe"))
1683
1687
  end
1684
1688
 
1685
1689
  update_service_defaults(get_stack_name("web"))
@@ -1708,7 +1712,7 @@ class Build
1708
1712
  end
1709
1713
  if deploy_toretto?
1710
1714
  update_service_defaults(get_stack_name("toretto"))
1711
- update_service_defaults(get_stack_name("toretto_fe"))
1715
+ update_service_defaults(get_stack_name("toretto-fe"))
1712
1716
  end
1713
1717
 
1714
1718
  activia_hostname = get_route53_hostname("activia")
@@ -1962,10 +1966,10 @@ projects_text.concat "
1962
1966
  logical_resource_id = 'ECSServiceVianelloQA'
1963
1967
  when stack_name.include?('domus')
1964
1968
  logical_resource_id = 'ECSServiceDomus'
1969
+ when stack_name.include?('toretto-fe')
1970
+ logical_resource_id = 'ECSServiceToretto'
1965
1971
  when stack_name.include?('toretto')
1966
1972
  logical_resource_id = 'ECSServiceTorettoQA'
1967
- when stack_name.include?('toretto_fe')
1968
- logical_resource_id = 'ECSServiceToretto'
1969
1973
  else
1970
1974
  raise "Service name non gestito per lo stack #{stack_name}"
1971
1975
  end
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.34.125
4
+ version: 0.34.130
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matteo Giachino