prima-twig 0.39.8 → 0.39.9

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 +5 -5
  2. data/bin/twig-feature +9 -2
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: 9f1774515b69e49efb2e055c79e3539b56a3520076248b36513f15c763a4c401
4
- data.tar.gz: 6f8935ad13ffb50f1655fbe80886d04e607f6d4a6fda4f5b432ac576f4b6f248
2
+ SHA1:
3
+ metadata.gz: a0217247311e145d719d0199b2ce3f967494c88f
4
+ data.tar.gz: 1c382bb9af45fb7046e3a658bf72bb1be8212ca7
5
5
  SHA512:
6
- metadata.gz: f88fb0a6a77050e3390f3ea8468088d51c8346d2c6f4260f09b26d08ec1371cd8ebfae35048096d37cf43621a312c557bd672af896c128e3cbcc3949d846bb56
7
- data.tar.gz: 861f798a2e78af7c1a4527f0a45feba5223ba62b01ac30bf46a9b1eabb961938717c4746f7674bb376f70d8feefa0027cb50af3599ebdb847990b3cec77eb5ca
6
+ metadata.gz: fef8e0e7caafbc6fcbf66dacb62bfa3d5c6ace8b169b74b43e521d459beb06a97ad918932985225feaa8c486ee69b00f8c0e98308a9d1b7118e99962378ba936
7
+ data.tar.gz: 86d58672eaf1daf6b20c6c3af5654a7ed3b9d4adb56ebfa71d405b6a436b63c1797961f7d8201ea2f59444c9db8db3884b5a890e6be6eb683ce159f7368675fd
data/bin/twig-feature CHANGED
@@ -420,7 +420,7 @@ class Release
420
420
 
421
421
  if !projects['prima'][:default_branch]
422
422
  return projects['prima'][:name]
423
- elsif projects['crash'][:name] != 'master'
423
+ elsif ![nil, 'master'].include? projects['crash'][:name]
424
424
  return projects['crash'][:name]
425
425
  else
426
426
  projects.each_key do |project_key|
@@ -2162,7 +2162,7 @@ class Release
2162
2162
 
2163
2163
  stop_unless is_branch_compatible_with_current_twig_version?("peano"), "Il tuo branch del progetto peano non e' compatibile con questa versione di twig, devi REBASARE DA MASTER!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!".red
2164
2164
 
2165
- decrypt_secrets()
2165
+ decrypt_secrets() unless File.exist?('config/secrets.yml')
2166
2166
 
2167
2167
  if @qainit
2168
2168
  exec_step 'cp docker-compose.yml docker-compose-ci.yml'
@@ -2910,6 +2910,13 @@ Description
2910
2910
 
2911
2911
  start creates a new feature branch
2912
2912
  finish finishes the feature by merging to dev and master
2913
+ qainit deploys a new environment with selected branches from every project
2914
+ qainit $PROJECT_NAME deploys a new environment allowing to selected a branch from the input project (everything else is master)
2915
+ qainit minimal prima deploys a new copy of prima project, using staging microservices and database
2916
+ qainit shutdown deletes a specific qa environment
2917
+
2918
+ Available only to devops (from artemide)
2919
+ -----------
2913
2920
  deploy deploys the feature branch to a temporary AWS Elastic Beanstalk env
2914
2921
  deploy stop destroys the AWS Elastic Beanstalk env
2915
2922
  deploy update updates a feature branch with current branches
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.39.8
4
+ version: 0.39.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matteo Giachino
@@ -13,7 +13,7 @@ authors:
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2018-07-23 00:00:00.000000000 Z
16
+ date: 2018-07-31 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: aws-sdk
@@ -214,7 +214,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
214
214
  version: '0'
215
215
  requirements: []
216
216
  rubyforge_project:
217
- rubygems_version: 2.7.7
217
+ rubygems_version: 2.6.11
218
218
  signing_key:
219
219
  specification_version: 4
220
220
  summary: The Prima twig toolbelt