prima-twig 0.61.2 → 0.61.3

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 +4 -8
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d1c6b69db93fb62513482681601e1ef1a9517cf8139840d69ccbd547481d0e56
4
- data.tar.gz: '094bd78ed69bd0d27fbb17797b4b9fbccd7e908f4994d1435f8e8552a672ae4e'
3
+ metadata.gz: 3e1a2f450eda7f2979169bdcde697dbdea85df70e9aea5bcbb1f6011780b1d8f
4
+ data.tar.gz: 67099293b029c44f28d1d372580bccf71e4b462b76260820e139f4259649a609
5
5
  SHA512:
6
- metadata.gz: 8190968f47d5503403dc0316b2c5aebf07d83793a3692edc0ae3201796482822224e40262158883a67d460976dcd940040a0da16e402803c792020a93417a68a
7
- data.tar.gz: 1e185386a22b6890de1c241310b529a759447ea51bf0b7c4f4a532b1ed87427fd51c6d62ae0740286772f0c4680022919664a9bdae485f81f6dd8760d52c837d
6
+ metadata.gz: df6f2e27a5c5e3e43cf06f05b2dc63cf7aaf7b43454ce3ea4d47143c359aab601095084610cb3e17749969aaa113743359c90863afd8c0db3643a2a79daa908f
7
+ data.tar.gz: 56e9033439f8bf312e5f740b516012b93cf1b98c647543934d55c07fc6a0cbdd8fcd3872bbc8b5ac3838b425515b7c93fbff70e966db86c29f0692ff8bfaef29
@@ -1532,10 +1532,6 @@ class Release
1532
1532
  parameter_key: "WebQaBaseHostname",
1533
1533
  parameter_value: "#{@dns_record_identifier}.qa.colaster.com"
1534
1534
  },
1535
- {
1536
- parameter_key: "HostnamePattern",
1537
- parameter_value: "ww*-#{@dns_record_identifier}.qa.colaster.com"
1538
- },
1539
1535
  {
1540
1536
  parameter_key: "HostnamePatternPriority",
1541
1537
  parameter_value: hostname_pattern_priority
@@ -1566,7 +1562,7 @@ class Release
1566
1562
  },
1567
1563
  {
1568
1564
  parameter_key: "HostnamePattern",
1569
- parameter_value: "www-#{@dns_record_identifier}.qa.colaster.com"
1565
+ parameter_value: "www-#{@dns_record_identifier}.*"
1570
1566
  }
1571
1567
  ]
1572
1568
  if stack_exists?(stack_name_web)
@@ -2009,7 +2005,7 @@ class Release
2009
2005
  end
2010
2006
 
2011
2007
  def launch_lighthouse_test(url, device)
2012
- @cloudflare.post("zones/1fb634f19c43dfb0162cc4cb91915da2/dns_records", {type: 'CNAME', name: "test-qa-#{@dns_record_identifier}", content: url, proxied: true, ttl: 1}) unless get_lighthouse_dns()
2008
+ @cloudflare.post("zones/1fb634f19c43dfb0162cc4cb91915da2/dns_records", {type: 'CNAME', name: "www-#{@dns_record_identifier}", content: url, proxied: true, ttl: 1}) unless get_lighthouse_dns()
2013
2009
 
2014
2010
  @batch.submit_job({
2015
2011
  job_name: "lighthouse-#{device}-#{@dns_record_identifier}",
@@ -2019,7 +2015,7 @@ class Release
2019
2015
  environment: [
2020
2016
  {
2021
2017
  name: "URL_TO_TEST",
2022
- value: "test-qa-#{@dns_record_identifier}.prima.it"
2018
+ value: "https://www-#{@dns_record_identifier}.prima.it/?supeprima"
2023
2019
  },
2024
2020
  {
2025
2021
  name: "DEVICE",
@@ -2031,7 +2027,7 @@ class Release
2031
2027
  end
2032
2028
 
2033
2029
  def get_lighthouse_dns()
2034
- dns_records = @cloudflare.get("zones/1fb634f19c43dfb0162cc4cb91915da2/dns_records", {per_page: 100, type: 'CNAME', name: "test-qa-#{@dns_record_identifier}.prima.it"})
2030
+ dns_records = @cloudflare.get("zones/1fb634f19c43dfb0162cc4cb91915da2/dns_records", {per_page: 100, type: 'CNAME', name: "www-#{@dns_record_identifier}.prima.it"})
2035
2031
  if dns_records.body[:result_info][:count] > 0
2036
2032
  return dns_records.body[:result][0][:id]
2037
2033
  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.61.2
4
+ version: 0.61.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matteo Giachino