prima-twig 0.31.6 → 0.31.7
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 +6 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dca6ebc3f6118fb29e2b6afc1ed5736990e76455
|
4
|
+
data.tar.gz: 580f925eef773fd6449c23ec035c06869aa20fe4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6054bca47436e1fd423a962d118e52cb151a79bb41eef687d9566a47db1747bed282828ac59b0f44e517044f6c87c0284e17940381b9df5c6a7736ead00496c3
|
7
|
+
data.tar.gz: 44ee1b56714618a73b4c277c7435b7389897cb78886ee961e614a08899a45077d1c3fce7443deee26b5e0b235326555bd6ceca4396e3c202e9018af2d06527f7
|
data/bin/twig-feature
CHANGED
@@ -29,6 +29,7 @@ class Release
|
|
29
29
|
@import_db_task = 'arn:aws:ecs:eu-west-1:001575623345:task-definition/ecs-task-db-restore2-TaskDefinitionDbRestore-137UJ3IWV3S60:1'
|
30
30
|
@dns_record_identifier = nil
|
31
31
|
@ecs_cluster_name = nil
|
32
|
+
@deploy_update = false
|
32
33
|
@projects = {
|
33
34
|
'prima' => {},
|
34
35
|
'backoffice' => {},
|
@@ -315,6 +316,8 @@ class Release
|
|
315
316
|
output "Deploy update menu"
|
316
317
|
`git pull && git submodule init && git submodule update`
|
317
318
|
|
319
|
+
@deploy_update = true
|
320
|
+
|
318
321
|
output "Recupero le informazioni sui QA attivi..."
|
319
322
|
stack_list, envs = get_stacks()
|
320
323
|
|
@@ -1339,7 +1342,8 @@ class Release
|
|
1339
1342
|
mix phx.digest && \
|
1340
1343
|
mix deps.clean --all && \
|
1341
1344
|
mix deps.get && \
|
1342
|
-
mix compile && mix release --env=qa'"
|
1345
|
+
mix compile && mix release --env=qa'",
|
1346
|
+
'docker-compose down'
|
1343
1347
|
].each do |cmd|
|
1344
1348
|
execute_command cmd
|
1345
1349
|
end
|
@@ -1622,7 +1626,7 @@ class Release
|
|
1622
1626
|
assange_qa_host = get_route53_hostname("ecs-task-assange-qa-notneeded")
|
1623
1627
|
|
1624
1628
|
[
|
1625
|
-
"bin/local_build_artifact.sh #{branch_name} #{web_qa_host} #{backoffice_qa_host} #{assange_qa_host} #{deploy_id}"
|
1629
|
+
"bin/local_build_artifact.sh #{branch_name} #{web_qa_host} #{backoffice_qa_host} #{assange_qa_host} #{deploy_id} #{'update' if @deploy_update}"
|
1626
1630
|
].each do |cmd|
|
1627
1631
|
execute_command cmd
|
1628
1632
|
end
|