brpm_content_framework 0.1.58 → 0.1.59
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/README.md +8 -5
- data/config.yml +1 -1
- data/module.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NzIzOTUzOTY3ZWU0NGUyYmY1NmFkNDg4MzE0Y2VmZTk5NWJlZDFhNA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ODUyN2Q0NGM1NzdiYjVmYTY2YzVhMThmNDJiMDg1ZWE4YmNmZWJmYg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
M2Q3MmVkMWU0NTlkNzI2MTZkNTY3ZjZlYzQyZWI4M2VlNmFhNDliYTU2ZDU1
|
10
|
+
MjE5Nzg5ZmZkZDdlOTkxNWRhOTVlZmQ0N2IxMzMxYzlmYjcxODE2OTNmNDMy
|
11
|
+
ZjkzNzI5ODhiZDk3YmE0YmJjNjFkNzYxMjkyZjMyZTlkNWI2NDg=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MjY3ZWRmMTc3OTMzZGViODNlYzA2YjgxYWYzMjBlZGQ4NjQ5ZmUwNzEwNTkx
|
14
|
+
YjljODQ2NzNjOTZjMDQzODQzODE0NTVkMDA4ZDU2MzZiNzU5ZWZjZjk2YjZi
|
15
|
+
YWE5NTE2OWVkZDY5M2JlMzhmZDZiMjQ1NTk4YzM0ZDc4MmQ0MWI=
|
data/README.md
CHANGED
@@ -12,6 +12,7 @@ It is designed around a number of core concepts like modularity, re-usability, t
|
|
12
12
|
|
13
13
|
### Installation
|
14
14
|
|
15
|
+
#### environment variables
|
15
16
|
First of all, make sure that the necessary environment variables are set on the BRPM instance, e.g. for a default BRPM installation:
|
16
17
|
```shell
|
17
18
|
export BRPM_HOME=/opt/bmc/RLM
|
@@ -24,6 +25,7 @@ export PATH="$GEM_HOME/bin:$JRUBY_HOME/bin:$PATH"
|
|
24
25
|
|
25
26
|
If BRPM is installed on a custom location you can modify the first line accordingly. The PATH variable is modified to make sure the ruby scripts that come with the modules are in the PATH.
|
26
27
|
|
28
|
+
#### .brpm
|
27
29
|
Then create a file .brpm with the following contents in the root directory of the user account that runs BRPM:
|
28
30
|
```shell
|
29
31
|
brpm_url: http://your-brpm-server:8088/brpm
|
@@ -32,6 +34,7 @@ brpm_api_token: ...
|
|
32
34
|
|
33
35
|
Note that he brpm_api_token should be the token of a user that is defined in BRPM and that has administrative rights.
|
34
36
|
|
37
|
+
#### framework
|
35
38
|
Finally you can install the framework and the BRPM module (needed to configure the automation script wrappers of the modules) as following:
|
36
39
|
```shell
|
37
40
|
gem install brpm_content_framework
|
@@ -50,8 +53,7 @@ Note that brpm_module_brpm is a module that contains a REST API client for BRPM
|
|
50
53
|
|
51
54
|
Both gem files can be downloaded from the public gem repository rubygems.org. Just look up the name and on the gem's home page you will find a "Download" button that has a link to the latest version of the gem.
|
52
55
|
|
53
|
-
|
54
|
-
|
56
|
+
#### modules
|
55
57
|
OK now that the framework is installed the next thing to do is to install a couple of existing modules (or even build your own!). There is a list of available modules at the end of this page.
|
56
58
|
|
57
59
|
A module can be installed as following:
|
@@ -66,6 +68,7 @@ brpm_install /path/to/module-name-x.x.x.gem
|
|
66
68
|
|
67
69
|
The gem file of the module can be found on rubygems.org.
|
68
70
|
|
71
|
+
### Usage
|
69
72
|
Once the module is installed you can immediately start using its contained automation scripts by linking the requests' steps to them.
|
70
73
|
|
71
74
|
## Architecture
|
@@ -121,7 +124,7 @@ During the development life cycle, after you have committed the changes to your
|
|
121
124
|
rake release
|
122
125
|
```
|
123
126
|
|
124
|
-
By default the module will be published to the public rubygems.org repository. It is also possible however to publish your module to a [private repository](http://guides.rubygems.org/run-your-own-gem-server/) like [geminabox](https://github.com/geminabox/geminabox). See
|
127
|
+
By default the module will be published to the public rubygems.org repository. It is also possible however to publish your module to a [private repository](http://guides.rubygems.org/run-your-own-gem-server/) like [geminabox](https://github.com/geminabox/geminabox). See this [Rakefile](https://github.com/BMC-RLM/brpm_content_framework/blob/master/infrastructure/module_template/Rakefile_for_private_gem_repo) for an example of this alternative. In this case you should not forget to add your private sem server as a source on the gem environment of the BRPM instance:
|
125
128
|
```shell
|
126
129
|
gem sources -a http://your-private-gem-server:9292/
|
127
130
|
```
|
@@ -327,8 +330,8 @@ For an example of how to update the status of the associated JIRA tickets after
|
|
327
330
|
|
328
331
|
## Publicly available modules:
|
329
332
|
### [BRPM](https://github.com/BMC-RLM/brpm_module_brpm)
|
330
|
-
### [
|
333
|
+
### [Bladelogic](https://github.com/BMC-RLM/brpm_module_bladelogic)
|
331
334
|
### [JIRA](https://github.com/BMC-RLM/brpm_module_jira)
|
332
335
|
### [Jenkins](https://github.com/BMC-RLM/brpm_module_jenkins)
|
333
|
-
### [Demo](https://github.com/BMC-RLM/brpm_module_demo)
|
336
|
+
### [Demo customer](https://github.com/BMC-RLM/brpm_module_demo)
|
334
337
|
|
data/config.yml
CHANGED
data/module.gemspec
CHANGED
@@ -13,7 +13,7 @@ Gem::Specification.new do |spec|
|
|
13
13
|
spec.summary = config["summary"]
|
14
14
|
spec.description = config["description"]
|
15
15
|
|
16
|
-
spec.required_rubygems_version = "2.1.9"
|
16
|
+
spec.required_rubygems_version = ">= 2.1.9"
|
17
17
|
|
18
18
|
spec.add_runtime_dependency "rest-client"
|
19
19
|
spec.add_runtime_dependency "json"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: brpm_content_framework
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.59
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Niek Bartholomeus
|
@@ -207,7 +207,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
207
207
|
version: '0'
|
208
208
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
209
209
|
requirements:
|
210
|
-
- - '
|
210
|
+
- - ! '>='
|
211
211
|
- !ruby/object:Gem::Version
|
212
212
|
version: 2.1.9
|
213
213
|
requirements: []
|