prima-twig 0.63.1 → 0.63.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/twig-feature +9 -14
- 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: bbcdabfd1ea5659991f58be1601570327630dbf8c138addd5503be3fba1e5a60
|
4
|
+
data.tar.gz: ae1369197126bfc0d9184ec8b81d4c7cbb79e14ef9feda815d390e46b49ca696
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5299af661f48a43a00712fc07258c992a69c53d23b3df5757786f48cbb2a954baca395c056badb09a51ca4fa781a3abc4842947dc85150161a6f7474b5752c37
|
7
|
+
data.tar.gz: af3db7c0c0fb682922a58619493154dd23a3ff725319646c6af867063cba568304d6bdc7f589b7acb48fce86a1f7c8d2eaf2fac0afd75baeda2f7404873ab72a
|
data/bin/twig-feature
CHANGED
@@ -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
|
2929
|
-
resp = describe_stack_resource('batch-job-
|
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: "
|
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: '
|
2939
|
-
value:
|
2937
|
+
name: 'ENV_HASH',
|
2938
|
+
value: env_hash
|
2940
2939
|
},
|
2941
2940
|
{
|
2942
|
-
name: '
|
2943
|
-
value:
|
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 "
|
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.
|
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-
|
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
|