prima-twig 0.54.2 → 0.54.3
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.
- checksums.yaml +4 -4
- data/bin/twig-feature +46 -43
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6aace55ec94b893c90000f64d519262ab6ff0392f0efce3f51c970e4ef23c6e2
|
|
4
|
+
data.tar.gz: b43bbf89678de029c12189cacecd997a794d115a4c0a9143f3818364f788a94e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8f0ff7ef6c1745628f58112ad0ac84cf20a02e98cdffa9949e5694232fb5e8109138048847ff1f25e90b3b79595439d71a8d812dfabd5f6e27aa86f71d0328ee
|
|
7
|
+
data.tar.gz: 657a06dc7d979af4e1e800b5b6d4a5808c805aa907c52fea8d0696f3564241a1552b73e3824c1d4a70941047857d71a35f57faa70ddb5793b0efa97b6efb38ad
|
data/bin/twig-feature
CHANGED
|
@@ -1852,50 +1852,53 @@ class Release
|
|
|
1852
1852
|
create_stack(stack_name_roger, stack_body, parameters, tags, @cf_role)
|
|
1853
1853
|
end
|
|
1854
1854
|
|
|
1855
|
-
wait_for_stack_ready(stack_name_starsky) unless stack_ready?(stack_name_starsky) unless !deploy_starsky_hutch?
|
|
1856
1855
|
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1856
|
+
if deploy_starsky_hutch?
|
|
1857
|
+
wait_for_stack_ready(stack_name_starsky) unless stack_ready?(stack_name_starsky) unless !deploy_starsky_hutch?
|
|
1858
|
+
|
|
1859
|
+
stack_name_hutch = "ecs-task-hutch-qa-#{deploy_id}"
|
|
1860
|
+
git_checkout_version('hutch', @projects["hutch"][:revision])
|
|
1861
|
+
stack_body = File.read('projects/hutch/deploy/task.yml')
|
|
1862
|
+
parameters = [
|
|
1863
|
+
{
|
|
1864
|
+
parameter_key: "Environment",
|
|
1865
|
+
parameter_value: "qa"
|
|
1866
|
+
},
|
|
1867
|
+
{
|
|
1868
|
+
parameter_key: "ReleaseVersion",
|
|
1869
|
+
parameter_value: "#{@projects["hutch"][:revision]}"
|
|
1870
|
+
},
|
|
1871
|
+
{
|
|
1872
|
+
parameter_key: "ALBShortName",
|
|
1873
|
+
parameter_value: "hutch-qa-#{deploy_id}"[0..27]
|
|
1874
|
+
},
|
|
1875
|
+
{
|
|
1876
|
+
parameter_key: "ECSClusterName",
|
|
1877
|
+
parameter_value: @ecs_cluster_name
|
|
1878
|
+
},
|
|
1879
|
+
{
|
|
1880
|
+
parameter_key: "EnvHash",
|
|
1881
|
+
parameter_value: deploy_id
|
|
1882
|
+
},
|
|
1883
|
+
{
|
|
1884
|
+
parameter_key: "HostnamePattern",
|
|
1885
|
+
parameter_value: "hutch-#{@dns_record_identifier}.qa.colaster.com"
|
|
1886
|
+
},
|
|
1887
|
+
{
|
|
1888
|
+
parameter_key: "HostnamePatternPriority",
|
|
1889
|
+
parameter_value: (hostname_pattern_priority.to_i + 254).to_s
|
|
1890
|
+
},
|
|
1891
|
+
{
|
|
1892
|
+
parameter_key: "StarskyUrl",
|
|
1893
|
+
parameter_value: get_route53_hostname('ecs-task-starsky-qa-notneeded')
|
|
1894
|
+
}
|
|
1895
|
+
]
|
|
1896
|
+
if stack_exists?(stack_name_hutch)
|
|
1897
|
+
cur_version = get_currently_deployed_version(stack_name_hutch)
|
|
1898
|
+
update_stack(stack_name_hutch, stack_body, parameters, tags, @cf_role) unless cur_version.include?(@projects["hutch"][:revision])
|
|
1899
|
+
else
|
|
1900
|
+
create_stack(stack_name_hutch, stack_body, parameters, tags, @cf_role)
|
|
1901
|
+
end
|
|
1899
1902
|
end
|
|
1900
1903
|
|
|
1901
1904
|
wait_for_stack_ready(stack_name_web) unless stack_ready?(stack_name_web)
|
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.54.
|
|
4
|
+
version: 0.54.3
|
|
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: 2019-10-
|
|
17
|
+
date: 2019-10-07 00:00:00.000000000 Z
|
|
18
18
|
dependencies:
|
|
19
19
|
- !ruby/object:Gem::Dependency
|
|
20
20
|
name: aws-sdk
|