prima-twig 0.63.13 → 0.63.14
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 +4 -0
- data/lib/prima_aws_client.rb +18 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e0fecd50a409a45e971aaf08bec9c3d4ef42c961f771965e30ec904e9c51af6c
|
|
4
|
+
data.tar.gz: 813694c344a6ec9d1c0adfbc8575977204cb09f1f29810e0a5e77a304f00f346
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ecf10fbe003fe4384766915cf843b1bbad05cab198618ae39a6b8f77013501bc3577acab6665a6729a3ae8ff6849ee47cd85da541c4f22c78019b52248c2a7dd
|
|
7
|
+
data.tar.gz: 5d11a8e6e576fd5a15f9c28ec2923335b44b685dd560800c4abcfc6b463e8abe365cc53eb51939f78b5b14e8a17bfa727f955d0367f56f1e5664ebdf143af370
|
data/bin/twig-feature
CHANGED
|
@@ -2923,6 +2923,10 @@ class Release
|
|
|
2923
2923
|
name: 'CYPRESS_PEANO_BASE_URL',
|
|
2924
2924
|
value: "http://peano-#{env_hash}.qa.colaster.com:10039/quotation"
|
|
2925
2925
|
},
|
|
2926
|
+
{
|
|
2927
|
+
name: 'CYPRESS_API_BASE_URL',
|
|
2928
|
+
value: "https://get_route53_hostname("starsky")/graphql"
|
|
2929
|
+
},
|
|
2926
2930
|
{
|
|
2927
2931
|
name: 'QA_NAME',
|
|
2928
2932
|
value: @git_branch
|
data/lib/prima_aws_client.rb
CHANGED
|
@@ -337,6 +337,24 @@ module PrimaAwsClient
|
|
|
337
337
|
output "#{s3_bucket}/#{destination_path} uploadato con successo!\n".green
|
|
338
338
|
end
|
|
339
339
|
|
|
340
|
+
def wait_for_artifact(bucket, path)
|
|
341
|
+
ready = false
|
|
342
|
+
sleep_seconds = 13
|
|
343
|
+
sleep 10
|
|
344
|
+
output "Attendo che lo sia pronto l'artefatto #{path}...\n".yellow
|
|
345
|
+
while !ready
|
|
346
|
+
ready = true if artifact_exists?(bucket, path)
|
|
347
|
+
seconds_elapsed = 0
|
|
348
|
+
loop do
|
|
349
|
+
break if seconds_elapsed >= sleep_seconds
|
|
350
|
+
print '.'.yellow; STDOUT.flush
|
|
351
|
+
sleep 1
|
|
352
|
+
seconds_elapsed += 1
|
|
353
|
+
end
|
|
354
|
+
end
|
|
355
|
+
output "\nArtefatto #{path} creato!\n".green
|
|
356
|
+
end
|
|
357
|
+
|
|
340
358
|
def list_import_stacks(export_name)
|
|
341
359
|
stacks = []
|
|
342
360
|
next_token = ''
|
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.14
|
|
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-24 00:00:00.000000000 Z
|
|
18
18
|
dependencies:
|
|
19
19
|
- !ruby/object:Gem::Dependency
|
|
20
20
|
name: aws-sdk-autoscaling
|
|
@@ -326,7 +326,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
326
326
|
- !ruby/object:Gem::Version
|
|
327
327
|
version: '0'
|
|
328
328
|
requirements: []
|
|
329
|
-
rubygems_version: 3.0.
|
|
329
|
+
rubygems_version: 3.0.1
|
|
330
330
|
signing_key:
|
|
331
331
|
specification_version: 4
|
|
332
332
|
summary: The Prima twig toolbelt
|