ops_tasks 0.6.1 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ops_tasks/deployment.rb +2 -1
- data/lib/ops_tasks/rake_helper.rb +1 -0
- data/lib/ops_tasks/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f632ff47928a01fd24a7b2c9f22511203eff670
|
4
|
+
data.tar.gz: 65997e16b284b9d60b51d4289651a8ab45a9d29a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: de773c1348a1b4cdc928cca712c713f5414f87a87ce201326eebd943e06660158c7117587f8153873c690eae5ec0230bcdf44a9eea4eb7dad96eb45ba02d40ea
|
7
|
+
data.tar.gz: b3d50bc917ba0e6f3f9f55f107e21c2139430fb5fac8c408f48f83305cc68e46d3966ff60646fdbb1961dc532d29aea85fc80c4c92878ca4b0b001791d43f5b5
|
data/lib/ops_tasks/deployment.rb
CHANGED
@@ -9,6 +9,7 @@ module OpsTasks
|
|
9
9
|
@layer_id = args[:layer_id]
|
10
10
|
@recipe = args[:recipe]
|
11
11
|
@stack_id = args[:stack_id]
|
12
|
+
@app_id = args[:app_id]
|
12
13
|
@slack_channel = args[:room]
|
13
14
|
@project = args[:project]
|
14
15
|
@run_in_background = args[:background]
|
@@ -24,7 +25,7 @@ module OpsTasks
|
|
24
25
|
print "#{@project}: Preparing deployment... "
|
25
26
|
id = @client.create_deployment(
|
26
27
|
:stack_id => @stack_id,
|
27
|
-
:
|
28
|
+
:app_id => @app_id,
|
28
29
|
:command => {
|
29
30
|
name: "execute_recipes",
|
30
31
|
args: {"recipes" => [@recipe]}
|
@@ -41,6 +41,7 @@ module OpsTasks
|
|
41
41
|
return OpsTasks::Deployment.new(
|
42
42
|
layer_id: ENV["#{server_type}_layer_id"],
|
43
43
|
stack_id: ENV["#{server_type}_stack_id"],
|
44
|
+
app_id: ENV["#{server_type}_app_id"],
|
44
45
|
recipe: ENV["#{server_type}_deploy_recipe"],
|
45
46
|
project: ENV["#{server_type}_project_name"],
|
46
47
|
room: ENV["#{server_type}_slack_channel"]
|
data/lib/ops_tasks/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ops_tasks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nick Prokesch
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-04-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk
|
@@ -140,7 +140,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
140
140
|
version: '0'
|
141
141
|
requirements: []
|
142
142
|
rubyforge_project:
|
143
|
-
rubygems_version: 2.
|
143
|
+
rubygems_version: 2.5.2
|
144
144
|
signing_key:
|
145
145
|
specification_version: 4
|
146
146
|
summary: AWS Opsworks Commands
|