cm 0.1.4 → 0.1.6

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.
@@ -23,6 +23,14 @@ en:
23
23
  config_file: |-
24
24
  Failed to parse the execution plan manifest %{file}
25
25
  cm:
26
+ resource:
27
+ docker:
28
+ info:
29
+ no_credentials: |-
30
+ No Docker registry credentials supplied. Required options: %{username_option}, %{password_option}, and %{email_option}
31
+ error:
32
+ container_failed: |-
33
+ Docker %{image} container for %{command} from creation failed
26
34
  action:
27
35
  plan:
28
36
  base:
@@ -32,7 +40,7 @@ en:
32
40
  plan_path: |-
33
41
  File path to the root directory of the plan project
34
42
  config_path: |-
35
- File path of the private configuration directory
43
+ File path of the private configurations
36
44
  key_path: |-
37
45
  File path of the SSH private key directory
38
46
  manifest: |-
@@ -42,8 +50,6 @@ en:
42
50
  Execution plan must be one of the following options: %{choices}
43
51
  plan_path: |-
44
52
  Plan top level directory (%{directory}) does not exist or is not readable
45
- config_path: |-
46
- Plan configuration directory (%{directory}) does not exist or is not readable
47
53
  key_path: |-
48
54
  Private SSH key top level directory (%{directory}) does not exist or is not readable
49
55
  manifest: |-
metadata CHANGED
@@ -1,80 +1,94 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adrian Webb
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-11 00:00:00.000000000 Z
11
+ date: 2015-12-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- type: :runtime
15
14
  name: nucleon
16
- prerelease: false
17
15
  requirement: !ruby/object:Gem::Requirement
18
16
  requirements:
19
17
  - - "~>"
20
18
  - !ruby/object:Gem::Version
21
19
  version: '0.2'
20
+ type: :runtime
21
+ prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0.2'
27
27
  - !ruby/object:Gem::Dependency
28
- type: :development
29
- name: bundler
28
+ name: docker-api
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.24'
34
+ type: :runtime
30
35
  prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.24'
41
+ - !ruby/object:Gem::Dependency
42
+ name: bundler
31
43
  requirement: !ruby/object:Gem::Requirement
32
44
  requirements:
33
45
  - - "~>"
34
46
  - !ruby/object:Gem::Version
35
47
  version: '1.10'
48
+ type: :development
49
+ prerelease: false
36
50
  version_requirements: !ruby/object:Gem::Requirement
37
51
  requirements:
38
52
  - - "~>"
39
53
  - !ruby/object:Gem::Version
40
54
  version: '1.10'
41
55
  - !ruby/object:Gem::Dependency
42
- type: :development
43
56
  name: jeweler
44
- prerelease: false
45
57
  requirement: !ruby/object:Gem::Requirement
46
58
  requirements:
47
59
  - - "~>"
48
60
  - !ruby/object:Gem::Version
49
61
  version: '2.0'
62
+ type: :development
63
+ prerelease: false
50
64
  version_requirements: !ruby/object:Gem::Requirement
51
65
  requirements:
52
66
  - - "~>"
53
67
  - !ruby/object:Gem::Version
54
68
  version: '2.0'
55
69
  - !ruby/object:Gem::Dependency
56
- type: :development
57
70
  name: rspec
58
- prerelease: false
59
71
  requirement: !ruby/object:Gem::Requirement
60
72
  requirements:
61
73
  - - "~>"
62
74
  - !ruby/object:Gem::Version
63
75
  version: '3.4'
76
+ type: :development
77
+ prerelease: false
64
78
  version_requirements: !ruby/object:Gem::Requirement
65
79
  requirements:
66
80
  - - "~>"
67
81
  - !ruby/object:Gem::Version
68
82
  version: '3.4'
69
83
  - !ruby/object:Gem::Dependency
70
- type: :development
71
84
  name: rdoc
72
- prerelease: false
73
85
  requirement: !ruby/object:Gem::Requirement
74
86
  requirements:
75
87
  - - "~>"
76
88
  - !ruby/object:Gem::Version
77
89
  version: '4.2'
90
+ type: :development
91
+ prerelease: false
78
92
  version_requirements: !ruby/object:Gem::Requirement
79
93
  requirements:
80
94
  - - "~>"
@@ -95,24 +109,26 @@ extra_rdoc_files:
95
109
  - README.md
96
110
  files:
97
111
  - ".gitignore"
112
+ - ".gitmodules"
98
113
  - Gemfile
99
114
  - Gemfile.lock
100
115
  - README.md
101
116
  - Rakefile
102
117
  - VERSION
103
118
  - bin/cm
119
+ - bootstrap/lib/bash/LICENSE.txt
104
120
  - cm.gemspec
105
121
  - lib/CM/batch/celluloid.rb
106
122
  - lib/CM/configuration/directory.rb
107
123
  - lib/CM/configuration/file.rb
108
124
  - lib/CM/function/generate_password.rb
109
- - lib/CM/job/AWS.rb
110
- - lib/CM/job/BOSH.rb
111
- - lib/CM/job/MicroBOSH.rb
112
- - lib/CM/job/concourse.rb
113
- - lib/CM/job/keypair.rb
114
- - lib/CM/job/variables.rb
115
125
  - lib/CM/plan/default.rb
126
+ - lib/CM/resource/AWS.rb
127
+ - lib/CM/resource/BOSH.rb
128
+ - lib/CM/resource/MicroBOSH.rb
129
+ - lib/CM/resource/concourse.rb
130
+ - lib/CM/resource/keypair.rb
131
+ - lib/CM/resource/variables.rb
116
132
  - lib/CM/sequence/default.rb
117
133
  - lib/cm.rb
118
134
  - lib/core/errors.rb
@@ -120,19 +136,21 @@ files:
120
136
  - lib/core/mixin/action/config.rb
121
137
  - lib/core/mixin/action/registration.rb
122
138
  - lib/core/overrides.rb
139
+ - lib/core/plugin/auth_docker_resource.rb
123
140
  - lib/core/plugin/batch.rb
124
141
  - lib/core/plugin/cm_action.rb
125
142
  - lib/core/plugin/configuration.rb
126
143
  - lib/core/plugin/disk_configuration.rb
127
- - lib/core/plugin/docker_job.rb
144
+ - lib/core/plugin/docker_resource.rb
128
145
  - lib/core/plugin/function.rb
129
- - lib/core/plugin/job.rb
130
146
  - lib/core/plugin/parallel_base.rb
131
147
  - lib/core/plugin/plan.rb
132
148
  - lib/core/plugin/plan_action.rb
149
+ - lib/core/plugin/resource.rb
133
150
  - lib/core/plugin/sequence.rb
134
151
  - lib/nucleon/action/plan/deploy.rb
135
152
  - lib/nucleon/action/plan/destroy.rb
153
+ - lib/nucleon/action/resource/run.rb
136
154
  - locales/en.yml
137
155
  - spec/spec_helper.rb
138
156
  homepage: http://github.com/adrianwebb/cm
@@ -160,7 +178,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
160
178
  version: '0'
161
179
  requirements: []
162
180
  rubyforge_project:
163
- rubygems_version: 2.4.8
181
+ rubygems_version: 2.4.5
164
182
  signing_key:
165
183
  specification_version: 4
166
184
  summary: Pluggable cloud management framework that provides a simple foundation for
@@ -1,34 +0,0 @@
1
-
2
- module CM
3
- module Job
4
- class Variables < Nucleon.plugin_class(:CM, :job)
5
-
6
- #-----------------------------------------------------------------------------
7
- # Plugin interface
8
-
9
- def normalize(reload)
10
- super
11
- yield if block_given?
12
- end
13
-
14
- #-----------------------------------------------------------------------------
15
- # Checks
16
-
17
- #-----------------------------------------------------------------------------
18
- # Property accessors / modifiers
19
-
20
- #-----------------------------------------------------------------------------
21
- # Operations
22
-
23
- def execute
24
- super do
25
- success = true
26
- end
27
- end
28
-
29
- #-----------------------------------------------------------------------------
30
- # Utilities
31
-
32
- end
33
- end
34
- end
@@ -1,52 +0,0 @@
1
-
2
- nucleon_require(File.dirname(__FILE__), :job)
3
-
4
- #---
5
-
6
- module CM
7
- module Plugin
8
- class DockerJob < Nucleon.plugin_class(:CM, :job)
9
-
10
- #-----------------------------------------------------------------------------
11
- # Plugin interface
12
-
13
- def normalize(reload)
14
- super
15
- yield if block_given?
16
- end
17
-
18
- #-----------------------------------------------------------------------------
19
- # Checks
20
-
21
- def initialized?(options = {})
22
- true
23
- end
24
-
25
- #-----------------------------------------------------------------------------
26
- # Property accessors / modifiers
27
-
28
- def image
29
- settings[:image]
30
- end
31
-
32
- def image=image
33
- settings[:image] = image
34
- end
35
-
36
- #-----------------------------------------------------------------------------
37
- # Operations
38
-
39
- def execute
40
- super do
41
- success = true
42
- success = yield if block_given?
43
- success
44
- end
45
- end
46
-
47
- #-----------------------------------------------------------------------------
48
- # Utilities
49
-
50
- end
51
- end
52
- end