prima-twig 0.44.2 → 0.44.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 +14 -17
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b1270218b3fcd280cee5880de2759b7f5083c91baa66a37d5e7c665ce23d81b1
|
|
4
|
+
data.tar.gz: 214f954d7e5ac08d0d9f8d351ca4be549379e47db96157f31619dcf4ddd508af
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3914f892374b9ad6bcaf94acf943b8c06a50e3965dc7df8d78e6b1601d413872700d6df38e559c6a488de8cae6a06bcbcdbafe6ff0b5203341a723461340e02f
|
|
7
|
+
data.tar.gz: 2710951fe0730dd85252301ca72ac75dba7905f920aef4ef414484b419abed9e516e48879d73312564b118a7842ba431a0a913805361fd206d632dc0a168e6c9
|
data/bin/twig-feature
CHANGED
|
@@ -995,7 +995,7 @@ class Release
|
|
|
995
995
|
create_rogoreport_artifact(@projects["rogoreport"][:revision], deploy_id) unless artifact_exists?('prima-artifacts-encrypted', "microservices/rogoreport/rogoreport_qa-#{@projects["rogoreport"][:revision]}-#{deploy_id}-qa.tar.gz")
|
|
996
996
|
create_assange_artifact(@projects["assange"][:revision]) unless artifact_exists?('prima-artifacts-encrypted', "microservices/assange/#{@projects["assange"][:revision]}-qa.tar.gz")
|
|
997
997
|
create_borat_artifact(@projects["borat"][:revision], deploy_id) unless artifact_exists?('prima-artifacts-encrypted', "microservices/borat/#{@projects["borat"][:revision]}-#{deploy_id}-qa.tar.gz")
|
|
998
|
-
create_activia_artifact(@projects["activia"][:revision]
|
|
998
|
+
create_activia_artifact(@projects["activia"][:revision]) unless artifact_exists?('prima-artifacts-encrypted', "microservices/activia/#{@projects["activia"][:revision]}-qa.tar.gz")
|
|
999
999
|
create_skynet_artifact(@projects["skynet"][:revision], deploy_id) unless artifact_exists?('prima-artifacts-encrypted', "microservices/skynet/#{@projects["skynet"][:revision]}-#{deploy_id}-qa.tar.gz")
|
|
1000
1000
|
|
|
1001
1001
|
wait_for_stack_ready(stack_name_db) unless stack_ready?(stack_name_db)
|
|
@@ -1507,7 +1507,7 @@ class Release
|
|
|
1507
1507
|
},
|
|
1508
1508
|
{
|
|
1509
1509
|
parameter_key: "ReleaseVersion",
|
|
1510
|
-
parameter_value: "#{@projects["activia"][:revision]}
|
|
1510
|
+
parameter_value: "#{@projects["activia"][:revision]}"
|
|
1511
1511
|
},
|
|
1512
1512
|
{
|
|
1513
1513
|
parameter_key: "ECSClusterName",
|
|
@@ -1524,6 +1524,14 @@ class Release
|
|
|
1524
1524
|
{
|
|
1525
1525
|
parameter_key: "HostnamePatternPriority",
|
|
1526
1526
|
parameter_value: hostname_pattern_priority
|
|
1527
|
+
},
|
|
1528
|
+
{
|
|
1529
|
+
parameter_key: "WebHost",
|
|
1530
|
+
parameter_value: get_route53_hostname('ecs-task-web-qa-notneeded')
|
|
1531
|
+
},
|
|
1532
|
+
{
|
|
1533
|
+
parameter_key: "PeanoHost",
|
|
1534
|
+
parameter_value: get_route53_hostname('ecs-task-peano-qa-notneeded')
|
|
1527
1535
|
}
|
|
1528
1536
|
]
|
|
1529
1537
|
if stack_exists?(stack_name_activia)
|
|
@@ -2364,7 +2372,6 @@ class Release
|
|
|
2364
2372
|
"docker-compose build web",
|
|
2365
2373
|
"docker run -v $PWD:/code -w /code -e MIX_ENV=qa --entrypoint /bin/sh assange_web \
|
|
2366
2374
|
'-c' 'mix local.hex --force && mix hex.info && \
|
|
2367
|
-
sed -i \"s/web-qa-host/#{web_qa_host}/g\" config/qa.exs && \
|
|
2368
2375
|
mix deps.get && mix compile && mix deps.compile && \
|
|
2369
2376
|
mix phx.digest && \
|
|
2370
2377
|
rm -rf _build/qa/rel/ && \
|
|
@@ -2380,19 +2387,13 @@ class Release
|
|
|
2380
2387
|
Dir.chdir '../../'
|
|
2381
2388
|
end
|
|
2382
2389
|
|
|
2383
|
-
def create_activia_artifact(revision
|
|
2390
|
+
def create_activia_artifact(revision)
|
|
2384
2391
|
output "Preparo l'artifact activia .zip\n".yellow
|
|
2385
2392
|
|
|
2386
2393
|
git_checkout_version('activia', revision)
|
|
2387
2394
|
|
|
2388
2395
|
Dir.chdir 'projects/activia'
|
|
2389
2396
|
|
|
2390
|
-
stack_name_web = "ecs-task-web-qa-notneeded"
|
|
2391
|
-
web_qa_host = get_route53_hostname(stack_name_web)
|
|
2392
|
-
|
|
2393
|
-
stack_name_peano = "ecs-task-peano-qa-notneeded"
|
|
2394
|
-
peano_qa_host = "#{get_route53_hostname(stack_name_peano)}:10039"
|
|
2395
|
-
|
|
2396
2397
|
decrypt_secrets()
|
|
2397
2398
|
|
|
2398
2399
|
if @qainit
|
|
@@ -2401,9 +2402,7 @@ class Release
|
|
|
2401
2402
|
[
|
|
2402
2403
|
"docker-compose build web",
|
|
2403
2404
|
"docker-compose run -w $PWD -u root -e MIX_ENV=qa --entrypoint /bin/sh web \
|
|
2404
|
-
'-c' '
|
|
2405
|
-
sed -i \"s/peano-qa-host/#{peano_qa_host}/g\" config/qa.exs && \
|
|
2406
|
-
mix local.hex --force && mix hex.info && \
|
|
2405
|
+
'-c' 'mix local.hex --force && mix hex.info && \
|
|
2407
2406
|
mix deps.get && mix compile && mix deps.compile && \
|
|
2408
2407
|
mix phx.digest && \
|
|
2409
2408
|
rm -rf _build/qa/rel/ && \
|
|
@@ -2417,9 +2416,7 @@ class Release
|
|
|
2417
2416
|
[
|
|
2418
2417
|
"docker-compose build web",
|
|
2419
2418
|
"docker run -v $PWD:/code -w /code -e MIX_ENV=qa --entrypoint /bin/sh activia_web \
|
|
2420
|
-
'-c' '
|
|
2421
|
-
sed -i \"s/peano-qa-host/#{peano_qa_host}/g\" config/qa.exs && \
|
|
2422
|
-
mix local.hex --force && mix hex.info && \
|
|
2419
|
+
'-c' 'mix local.hex --force && mix hex.info && \
|
|
2423
2420
|
mix deps.get && mix compile && mix deps.compile && \
|
|
2424
2421
|
mix phx.digest && \
|
|
2425
2422
|
rm -rf _build/qa/rel/ && \
|
|
@@ -2434,7 +2431,7 @@ class Release
|
|
|
2434
2431
|
else
|
|
2435
2432
|
artifact_path = Dir.glob("_build/qa/rel/activia/releases/*/activia.tar.gz").first
|
|
2436
2433
|
end
|
|
2437
|
-
upload_artifact(artifact_path, "microservices/activia/#{revision}
|
|
2434
|
+
upload_artifact(artifact_path, "microservices/activia/#{revision}-qa.tar.gz", "#{@s3_bucket}-encrypted")
|
|
2438
2435
|
|
|
2439
2436
|
Dir.chdir '../../'
|
|
2440
2437
|
end
|