brpm_content_framework 0.2.24 → 0.2.25
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/bin/brpm_install +0 -0
- data/bin/brpm_uninstall +0 -0
- data/bin/event_handler +0 -0
- data/bin/webhook_receiver +0 -0
- data/config.yml +1 -1
- data/infrastructure/docker/Dockerfile +9 -0
- data/infrastructure/docker/docker_execute_automation +17 -0
- data/infrastructure/module_template/Dockerfile +12 -0
- data/module.gemspec +1 -0
- metadata +19 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
N2EyNWNlNGUyNWIxZjJhNGY1YmI4YzA5NDFiODU2ODMwODUzOGYwZQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZTNlODk4ZGZjZGQ5MmI3MjhkMTVmMzU5ZmUzMjUwYThhMmI1Y2NhOQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZDEzNGE0ODUzYTU1NjFmMjMwMzY3NGI1ZTBkNjYzNzUwNGU5NDhjNDQ5ODUz
|
10
|
+
ZDQ3MWZmN2I3NWVmYWE5YjNjZDNiNGIzNDUzZmUzMDY3ZTZjNTYyZjAwZTNj
|
11
|
+
MWM2YzU4MWQyNmRiYmU3ZGZhYTkyZGE3MjM4NjQyYmQxOGFiZmM=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MjBjYWY5ZjIxYzdhODUzZjA5NTgyYTEyMTk3NmYzODlmMzA0M2QyMWZhMWUz
|
14
|
+
M2IxMTA2NWNiMDVlN2FjNDgxZTEwNTI4NWJjNmFkNTk2YzgxMjA3NzExOTFm
|
15
|
+
ZmVjNmJlZWM5NTA5NGMwZDZjYzQ0NzYzZjBlMTFiM2UzODgwNDM=
|
data/bin/brpm_install
CHANGED
File without changes
|
data/bin/brpm_uninstall
CHANGED
File without changes
|
data/bin/event_handler
CHANGED
File without changes
|
data/bin/webhook_receiver
CHANGED
File without changes
|
data/config.yml
CHANGED
@@ -0,0 +1,9 @@
|
|
1
|
+
FROM atlashealth/ruby:1.9.3
|
2
|
+
MAINTAINER Niek Bartholomeus <niek.bartholomeus@gmail.com>
|
3
|
+
|
4
|
+
ENV BRPM_CONTENT_FRAMEWORK_VERSION 0.2.24
|
5
|
+
|
6
|
+
RUN gem install brpm_content_framework --ignore-dependencies -v $BRPM_CONTENT_FRAMEWORK_VERSION
|
7
|
+
RUN cd /usr/lib/ruby/gems/1.9.1/gems/brpm_content_framework-$BRPM_CONTENT_FRAMEWORK_VERSION && bundle install
|
8
|
+
|
9
|
+
ADD . /
|
@@ -0,0 +1,17 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
module_name = ENV["MODULE"]
|
3
|
+
automation_script_name = ARGV[0]
|
4
|
+
params_file = "/workdir/#{ARGV[1]}"
|
5
|
+
automation_type = ARGV[2]
|
6
|
+
|
7
|
+
module_spec = Gem::Specification.find_by_name(module_name)
|
8
|
+
module_path = module_spec.gem_dir
|
9
|
+
|
10
|
+
gemfile_path = "#{module_path}/Gemfile"
|
11
|
+
if File.exists?(gemfile_path)
|
12
|
+
ENV["BUNDLE_GEMFILE"] = gemfile_path
|
13
|
+
require_bundler = "require 'bundler/setup';"
|
14
|
+
end
|
15
|
+
|
16
|
+
require 'brpm_script_executor'
|
17
|
+
BrpmScriptExecutor.execute_automation_script(module_name, automation_script_name, params_file, automation_type)
|
@@ -0,0 +1,12 @@
|
|
1
|
+
FROM BMC-RLM/brpm_content_framework
|
2
|
+
MAINTAINER Niek Bartholomeus
|
3
|
+
|
4
|
+
ENV MODULE brpm_module_brpm
|
5
|
+
ENV VERSION 0.1.34
|
6
|
+
|
7
|
+
RUN gem install $MODULE -v $VERSION
|
8
|
+
#RUN if gemfile exists: cd <gemfile dir> && bundle install
|
9
|
+
|
10
|
+
VOLUME [ "/workdir" ]
|
11
|
+
|
12
|
+
ADD . /
|
data/module.gemspec
CHANGED
metadata
CHANGED
@@ -1,15 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: brpm_content_framework
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.25
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Niek Bartholomeus
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-09-
|
11
|
+
date: 2015-09-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: net-ssh
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 2.9.2
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 2.9.2
|
13
27
|
- !ruby/object:Gem::Dependency
|
14
28
|
name: bundler
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -170,7 +184,10 @@ files:
|
|
170
184
|
- infrastructure/config/customer_include.rb
|
171
185
|
- infrastructure/config/server.yml
|
172
186
|
- infrastructure/create_output_file.rb
|
187
|
+
- infrastructure/docker/Dockerfile
|
188
|
+
- infrastructure/docker/docker_execute_automation
|
173
189
|
- infrastructure/log.html
|
190
|
+
- infrastructure/module_template/Dockerfile
|
174
191
|
- infrastructure/module_template/Gemfile
|
175
192
|
- infrastructure/module_template/Rakefile
|
176
193
|
- infrastructure/module_template/Rakefile_for_private_gem_repo
|