runcible 1.9.0 → 1.9.1
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.
- checksums.yaml +4 -4
- data/README.md +36 -0
- data/lib/runcible/base.rb +1 -1
- data/lib/runcible/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: 7fe3d0d2ec56a2ef44e8c0c3ee49aebc8a8fab8c
|
|
4
|
+
data.tar.gz: 50618e42c15b660f8e7a20729889042507c92d73
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a02edc69d343a44f22c007bb63389461e10d14bfdeb5f74eef4ebf0a08d35bd0d737c54a9db7833710a9ff9862b3d06c37f0fb04fe4fa1f1e2de7f513382d132
|
|
7
|
+
data.tar.gz: 90b34119ba7193bd5ea6d465c004a346f9cf6896b5afab1e8254d1f17ae78beb32248c0e0e645666714567a86a4ee11571561d260015070c3c60d0ee63f2b4d9
|
data/README.md
CHANGED
|
@@ -114,6 +114,39 @@ Alternatively, using distributor and importer objects:
|
|
|
114
114
|
|
|
115
115
|
## Testing
|
|
116
116
|
|
|
117
|
+
### Dependencies
|
|
118
|
+
|
|
119
|
+
In order to run and develop the ostree code in runcible locally, you will need
|
|
120
|
+
to install the pulp ostree packages (namely pulp-python-plugins and
|
|
121
|
+
pulp-ostree-plugins).
|
|
122
|
+
|
|
123
|
+
If you don't have ostree intalled already, you'll need to setup the ostree repo
|
|
124
|
+
as ostree is a dependency for pulp-ostree-plugins. For centos, you'll create
|
|
125
|
+
/etc/yum.repos.d/ostree.repo with this:
|
|
126
|
+
|
|
127
|
+
```
|
|
128
|
+
[atomic7-testing]
|
|
129
|
+
name=atomic7-testing
|
|
130
|
+
baseurl=http://cbs.centos.org/repos/atomic7-testing/x86_64/os/
|
|
131
|
+
gpgcheck=0
|
|
132
|
+
enabled=1
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
Now you should be able to install the two pulp plugin packages:
|
|
136
|
+
|
|
137
|
+
```
|
|
138
|
+
sudo yum install pulp-python-plugins pulp-ostree-plugins
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
Finally, update your pulp database and restart pulp:
|
|
142
|
+
|
|
143
|
+
```
|
|
144
|
+
sudo -u apache pulp-manage-db
|
|
145
|
+
for x in httpd pulp_resource_manager pulp_celerybeat pulp_workers; do sudo service $x restart; done
|
|
146
|
+
```
|
|
147
|
+
|
|
148
|
+
### Running Tests
|
|
149
|
+
|
|
117
150
|
To run all tests using recorded data, run:
|
|
118
151
|
|
|
119
152
|
rake test mode=none
|
|
@@ -128,6 +161,9 @@ To run a single test using recorded data, run:
|
|
|
128
161
|
or (by filename)
|
|
129
162
|
rake test mode=none test=./test/extensions/respository_test.rb
|
|
130
163
|
|
|
164
|
+
Note that when you record data, it's a good idea to delete any corresponding
|
|
165
|
+
vcr cassette files as recording data will sometimes only append to these files.
|
|
166
|
+
|
|
131
167
|
To run tests against your live Pulp without recording a new cassette set record flag to false (does not apply to mode=none):
|
|
132
168
|
|
|
133
169
|
record=false
|
data/lib/runcible/base.rb
CHANGED
|
@@ -56,7 +56,7 @@ module Runcible
|
|
|
56
56
|
client_options[:password] = config[:http_auth][:password]
|
|
57
57
|
end
|
|
58
58
|
|
|
59
|
-
client_options[:
|
|
59
|
+
client_options[:ssl_ca_file] = config[:ca_cert_file] unless config[:ca_cert_file].nil?
|
|
60
60
|
client = RestClient::Resource.new(clone_config[:url], client_options)
|
|
61
61
|
|
|
62
62
|
args = [method]
|
data/lib/runcible/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: runcible
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.9.
|
|
4
|
+
version: 1.9.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Eric D Helms, Justin Sherrill
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-11-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: json
|
|
@@ -197,7 +197,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
197
197
|
version: '0'
|
|
198
198
|
requirements: []
|
|
199
199
|
rubyforge_project:
|
|
200
|
-
rubygems_version: 2.
|
|
200
|
+
rubygems_version: 2.4.8
|
|
201
201
|
signing_key:
|
|
202
202
|
specification_version: 4
|
|
203
203
|
summary: ''
|