covalence 0.8.0 → 0.8.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5182025f5f5eabe3341b2b1b96414d4392abfc57453018fbce9c4a6887d5a6e1
4
- data.tar.gz: 4d0850fbd8211d219254dd585af563c6caed2e5e06605dee272f2e4ef91a7bce
3
+ metadata.gz: bef38dc9dd4bb1b885a740de3d38f203e52cd7d83d8a7c18c0d6076985e113ba
4
+ data.tar.gz: b25e14fbc497d8eaf0d11c531fa4c2cb36f8eaf8de42173e042e1c59271946a4
5
5
  SHA512:
6
- metadata.gz: 23f0b2e254b8f7bfae871be474a9a309fac6e51903e23d341dd060bf73f708e8d4384c57c865733b63f99ada4f739b78bf72f4934adb2c0565b9e1a34b59b8a3
7
- data.tar.gz: cf5a2c8e35821c4b086549eede664ade69d610ad18c8cac19404fb92b13b38088832e542f83257590514b94a184ea7aa6587634d80ca0e43fafcbed63c35e2c8
6
+ metadata.gz: 04b181ce7004417edad4fca62bb50784c22ea58e8c1143e722463d6eebaba934b10752c00e957d19519d423a5e4ae0c356a378ff9e5dbdbcccc75035982bfb6a
7
+ data.tar.gz: 7e7488841a004edd219646005e7d19a0dd9d105dc15f7a0f75fbc3d48660713e4054ce25a34dfe881b647170e4d5f9021b0bb5e31b2b2e056d5f6afcb55c2c7c
@@ -18,7 +18,7 @@ module Covalence
18
18
  TERRAFORM = File.absolute_path(File.join(WORKSPACE, (ENV['COVALENCE_TERRAFORM_DIR'] || '.')))
19
19
  TEST_ENVS = (ENV['COVALENCE_TEST_ENVS'] || "").split(',')
20
20
  # Reserved namespace including default ci and spec
21
- RESERVED_NS = [(ENV['COVALENCE_RESERVED_NAMESPACE'] || "").split(','), 'ci', 'spec']
21
+ RESERVED_NS = [(ENV['COVALENCE_RESERVED_NAMESPACE'] || "").split(','), 'ci', 'spec', 'sops']
22
22
 
23
23
  TERRAFORM_CMD = ENV['TERRAFORM_CMD'] || "terraform"
24
24
  TERRAFORM_VERSION = ENV['TERRAFORM_VERSION'] || `#{TERRAFORM_CMD} version`.split("\n", 2)[0].gsub('Terraform v','')
@@ -3,6 +3,9 @@ require 'fileutils'
3
3
  require 'yaml'
4
4
  require 'active_support/core_ext/object/blank'
5
5
 
6
+ require_relative '../../../covalence'
7
+ require_relative 'popen_wrapper'
8
+
6
9
  module Covalence
7
10
  class SopsCli
8
11
 
@@ -32,7 +32,7 @@ module Covalence
32
32
 
33
33
  environments.each do |environment|
34
34
  # We do not want to render individual tasks for the reserved 'ci' and 'spec' namespaces, or any other specified with COVALENCE_RESERVED_NAMESPACE
35
- break if task.has_key? 'environment' && RESERVED_NS.include?(task['environment'])
35
+ break if RESERVED_NS.include?(task['environment'])
36
36
 
37
37
  next if task.has_key? 'environment' && environment.name != task['environment']
38
38
  logger.debug("Rendering #{environment.name} environment tasks")
@@ -1,3 +1,3 @@
1
1
  module Covalence
2
- VERSION = "0.8.0"
2
+ VERSION = "0.8.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: covalence
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Unif.io
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-29 00:00:00.000000000 Z
11
+ date: 2018-06-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: deep_merge