idlc-sdk-pfm 1.0.0.rc4 → 1.0.0.rc5

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
  SHA1:
3
- metadata.gz: 2892af0fe621e56d5aaa77234b9a96c734a4ff55
4
- data.tar.gz: d43b594ffa4609083f71726718efa10b77521c11
3
+ metadata.gz: 5aff97bc66697d471021ce9b016a59ff10d75ac6
4
+ data.tar.gz: 8c59d3cd24a0c5cbb1890b3b9e0103366f5a4107
5
5
  SHA512:
6
- metadata.gz: 1f665997a27c0e7c086a475ad4269902bf39a7c05f138e8abb632e66452f9dfb48fd72f3cc199f1aa0938350f5a8fc4fc38a88770f71013578f0ed7965f5fdb7
7
- data.tar.gz: cde43470030d519136d029d68bd014aec11ef429361bc6f637aaca95cc0f5572ae9c7cca4d9326792a1eef26fb3ab0052155ba1f72a7aa5243207d02ac395c3f
6
+ metadata.gz: 11d98541d668c82e51570d1db9ac8d7a8b73af3e1eaf62e4e39df1b6f50ad44c0adf0295daab7626370c216435b84fc3ba3466377c5b0a39975a257ab27af86e
7
+ data.tar.gz: d88e79ae89b73836a6a14695c27a59f224525cd7381cd0a2d67d5b105c6522b4899a5554f805ed7c75936ad3827c226e63f721ecceb4c260960fc0a73c30cf6d
@@ -45,7 +45,6 @@ module Pfm
45
45
  end
46
46
 
47
47
  def apply
48
- Terraform::Binary.get("-update #{@workspace.tmp_dir}")
49
48
  Terraform::Binary.apply(@workspace.tmp_dir.to_s) || raise
50
49
  Terraform::Binary.remote('push')
51
50
  rescue
@@ -147,12 +147,12 @@ module Pfm
147
147
  Idlc::Deploy::Config.add_deployment_var('build', @config[:server_build])
148
148
  Idlc::Deploy::Config.add_deployment_var('app_release', @config[:app_release])
149
149
 
150
- config.configure_state(bucket_name, sub_bucket)
151
-
152
150
  Idlc::Deploy::Keypair.generate("#{inf_base_dir}/env/kp")
153
151
  @workspace.flatten("#{inf_base_dir}/tf", 'tf')
154
152
  @workspace.add("#{inf_base_dir}/env/kp")
155
153
  @workspace.add('lib/tf/modules')
154
+
155
+ config.configure_state(bucket_name, sub_bucket, @workspace.tmp_dir)
156
156
  end
157
157
 
158
158
  def templates_dir
@@ -36,7 +36,6 @@ module Pfm
36
36
  Idlc::Deploy::Config.add_deployment_var('build', ENV['SERVER_BUILD'])
37
37
  Idlc::Deploy::Config.add_deployment_var('app_release', 'null')
38
38
 
39
- Terraform::Binary.get("-update #{@workspace.tmp_dir}")
40
39
  Terraform::Binary.destroy("#{@workspace.tmp_dir}")
41
40
  rescue
42
41
  raise DeploymentFailure, 'Finished with errors'
@@ -53,7 +53,6 @@ module Pfm
53
53
 
54
54
  def plan
55
55
  begin
56
- Terraform::Binary.get("-update #{@workspace.tmp_dir}")
57
56
  Terraform::Binary.plan(@workspace.tmp_dir) unless @config[:landscape]
58
57
  Terraform::Binary.plan("#{@workspace.tmp_dir} | landscape") if @config[:landscape]
59
58
  rescue
@@ -1,3 +1,3 @@
1
1
  module Pfm
2
- VERSION = '1.0.0.rc4'.freeze
2
+ VERSION = '1.0.0.rc5'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: idlc-sdk-pfm
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.rc4
4
+ version: 1.0.0.rc5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Cazell