prima-twig 0.31.6 → 0.31.7

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/twig-feature +6 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: aa6b9387b1494be0c2d275d1bffd888b515a61f4
4
- data.tar.gz: 0b2589788414bf30a7f74ab2647d69cd6a9db43e
3
+ metadata.gz: dca6ebc3f6118fb29e2b6afc1ed5736990e76455
4
+ data.tar.gz: 580f925eef773fd6449c23ec035c06869aa20fe4
5
5
  SHA512:
6
- metadata.gz: 48e20664d29478b4160dcab19a583c02107f561e9f8ce18c48fd321b9f26f604374274d69df48ff5a03ba0b4e62ca44d7b80e8944c224b6190d1b439af66a429
7
- data.tar.gz: 8d6c80d92e4fbe53e0d30338ce5035d5bcd38a71c8361d314099efb21c6e6cee0d105f4e04ac8a3b5d68c1a372aa55ccecbb6b788100045e350d9354c3d00c63
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
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.31.6
4
+ version: 0.31.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matteo Giachino