prima-twig 0.34.124 → 0.34.129

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 +11 -7
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2037481275052e2101e8130254b59bd9293f7363e65438b9ee320e0bda0e0a09
4
- data.tar.gz: fdfcdc3879c69376c837d203bc5128ee3bc44589d9f520cf1cc4908aa9e4d599
3
+ metadata.gz: 622d7b8ebb5d5b8cb6fe2a8d74dd626cd4b58f671400837b6e561a4754dbf73f
4
+ data.tar.gz: f66713591ef3c8d2d2d47183a08299fabd165df3ca511718158a57d18520a412
5
5
  SHA512:
6
- metadata.gz: 3d73ca6e029f751fcf2ea006ad9fbd7e5763cdfecf1c61f79ccd1c2108a0ad117204d4e484e030df626b3577d6c443dda6914e7b0083ebd1fc41e4bd854d93aa
7
- data.tar.gz: 95d752fe6e2417ef5e7698925e0db68b93492fcf3054389235143537868329e3a362964f281bcd2c44e8530a1bb82d388bb57b9916d0d5876186b7d0e76c5037
6
+ metadata.gz: 1219602c9eafa3a7d86f83980a4e83c71bd20cc4536a927902ebb5fdb3c4f0f67967505583f8e352fc3bac55b44ff77f03cd37001bb8dbee2597e24a0bfd4d1f
7
+ data.tar.gz: c62c689c216c813442fabcd9934d32d71fcc111bcacd1c908c12c1b0acfcb39bcf819af028465019c897f0d37694cb4e2cc56d8070e4ebbeedc376d172e204d6
@@ -1560,7 +1560,7 @@ class Build
1560
1560
  wait_for_artifact('prima-artifacts-encrypted', "microservices/toretto/#{@projects["toretto"]['revision']}-qa.tar.gz")
1561
1561
 
1562
1562
  git_checkout_version('toretto', @projects["toretto"]['revision'])
1563
- stack_name_starsky = get_stack_name("toretto")
1563
+ stack_name_toretto = get_stack_name("toretto")
1564
1564
  stack_body = IO.read('projects/toretto/deploy/task.yml')
1565
1565
  parameters = [
1566
1566
  {
@@ -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'
1965
- when stack_name.include?('toretto')
1966
- logical_resource_id = 'ECSServiceTorettoQA'
1967
1969
  when stack_name.include?('toretto_fe')
1968
1970
  logical_resource_id = 'ECSServiceToretto'
1971
+ when stack_name.include?('toretto')
1972
+ logical_resource_id = 'ECSServiceTorettoQA'
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.124
4
+ version: 0.34.129
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matteo Giachino