vcloud-net_launcher 1.0.0 → 1.0.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.
- data/CHANGELOG.md +5 -1
- data/LICENSE.txt +1 -1
- data/README.md +9 -6
- data/lib/vcloud/net_launcher/version.rb +1 -1
- data/vcloud-net_launcher.gemspec +1 -1
- metadata +20 -22
- data/spec/integration/README.md +0 -33
data/CHANGELOG.md
CHANGED
@@ -1,8 +1,12 @@
|
|
1
|
+
## 1.0.1 (2015-07-22)
|
2
|
+
|
3
|
+
- Bump vCloud Core to 1.1.0 to allow releasing `vcloud-tools`.
|
4
|
+
|
1
5
|
## 1.0.0 (2015-01-22)
|
2
6
|
|
3
7
|
- Release 1.0.0 since the public API is now stable.
|
4
8
|
- Use vCloud Core 1.0.0 since it is now stable.
|
5
|
-
- Use vCloud tools tester 1.0.0 since it is
|
9
|
+
- Use vCloud tools tester 1.0.0 since it is now stable.
|
6
10
|
|
7
11
|
## 0.8.0 (2014-12-03)
|
8
12
|
|
data/LICENSE.txt
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
The MIT License (MIT)
|
2
2
|
|
3
|
-
Copyright (c) 2014
|
3
|
+
Copyright (c) 2014 Crown Copyright (Government Digital Service)
|
4
4
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
6
6
|
this software and associated documentation files (the "Software"), to deal in
|
data/README.md
CHANGED
@@ -66,17 +66,20 @@ If you want to be sure you are pinning to 5.1, or use 5.5, you can set the API v
|
|
66
66
|
|
67
67
|
`export EXCON_DEBUG=true` - this will print out the API requests and responses.
|
68
68
|
|
69
|
-
`export DEBUG=true` - this will show you the stack trace when there is an exception instead of just the message.
|
70
|
-
|
71
69
|
## Testing
|
72
70
|
|
73
71
|
Run the default suite of tests (e.g. lint, unit, features):
|
74
72
|
|
75
73
|
bundle exec rake
|
76
74
|
|
77
|
-
|
75
|
+
There are also integration tests. These are slower and require a real environment.
|
76
|
+
See the [vCloud Tools website](http://gds-operations.github.io/vcloud-tools/testing/) for details of how to set up and run the integration tests.
|
77
|
+
|
78
|
+
The parameters required to run the vCloud Net Launcher integration tests are:
|
78
79
|
|
79
|
-
|
80
|
+
````
|
81
|
+
default: # This is the fog credential that refers to your testing environment, e.g. `test_credential`
|
82
|
+
vdc_1_name: # The name of a VDC
|
83
|
+
edge_gateway: # The name of the edge gateway
|
84
|
+
````
|
80
85
|
|
81
|
-
You need access to a suitable vCloud Director organization to run the
|
82
|
-
integration tests. See the [integration tests README](/spec/integration/README.md) for further details.
|
data/vcloud-net_launcher.gemspec
CHANGED
@@ -22,7 +22,7 @@ Gem::Specification.new do |s|
|
|
22
22
|
|
23
23
|
s.required_ruby_version = '>= 1.9.3'
|
24
24
|
|
25
|
-
s.add_runtime_dependency 'vcloud-core', '~> 1.
|
25
|
+
s.add_runtime_dependency 'vcloud-core', '~> 1.1.0'
|
26
26
|
s.add_development_dependency 'gem_publisher', '1.2.0'
|
27
27
|
s.add_development_dependency 'pry'
|
28
28
|
s.add_development_dependency 'rake'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vcloud-net_launcher
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,22 +9,22 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-
|
12
|
+
date: 2015-07-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: vcloud-core
|
16
|
-
requirement: &
|
16
|
+
requirement: &11566980 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 1.
|
21
|
+
version: 1.1.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *11566980
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: gem_publisher
|
27
|
-
requirement: &
|
27
|
+
requirement: &11566520 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - =
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: 1.2.0
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *11566520
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: pry
|
38
|
-
requirement: &
|
38
|
+
requirement: &11566100 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: '0'
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *11566100
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: rake
|
49
|
-
requirement: &
|
49
|
+
requirement: &11565580 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ! '>='
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: '0'
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *11565580
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: rspec
|
60
|
-
requirement: &
|
60
|
+
requirement: &11581440 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ~>
|
@@ -65,10 +65,10 @@ dependencies:
|
|
65
65
|
version: 2.14.1
|
66
66
|
type: :development
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *11581440
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rubocop
|
71
|
-
requirement: &
|
71
|
+
requirement: &11580940 !ruby/object:Gem::Requirement
|
72
72
|
none: false
|
73
73
|
requirements:
|
74
74
|
- - ~>
|
@@ -76,10 +76,10 @@ dependencies:
|
|
76
76
|
version: 0.23.0
|
77
77
|
type: :development
|
78
78
|
prerelease: false
|
79
|
-
version_requirements: *
|
79
|
+
version_requirements: *11580940
|
80
80
|
- !ruby/object:Gem::Dependency
|
81
81
|
name: simplecov
|
82
|
-
requirement: &
|
82
|
+
requirement: &11580240 !ruby/object:Gem::Requirement
|
83
83
|
none: false
|
84
84
|
requirements:
|
85
85
|
- - ~>
|
@@ -87,10 +87,10 @@ dependencies:
|
|
87
87
|
version: 0.7.1
|
88
88
|
type: :development
|
89
89
|
prerelease: false
|
90
|
-
version_requirements: *
|
90
|
+
version_requirements: *11580240
|
91
91
|
- !ruby/object:Gem::Dependency
|
92
92
|
name: vcloud-tools-tester
|
93
|
-
requirement: &
|
93
|
+
requirement: &11579320 !ruby/object:Gem::Requirement
|
94
94
|
none: false
|
95
95
|
requirements:
|
96
96
|
- - ~>
|
@@ -98,7 +98,7 @@ dependencies:
|
|
98
98
|
version: 1.0.0
|
99
99
|
type: :development
|
100
100
|
prerelease: false
|
101
|
-
version_requirements: *
|
101
|
+
version_requirements: *11579320
|
102
102
|
description: Tool to launch and configure vCloud networks. Uses vcloud-core.
|
103
103
|
email:
|
104
104
|
- anna.shipman@digital.cabinet-office.gov.uk
|
@@ -126,7 +126,6 @@ files:
|
|
126
126
|
- lib/vcloud/net_launcher/version.rb
|
127
127
|
- scripts/basic.erb
|
128
128
|
- spec/erb_helper.rb
|
129
|
-
- spec/integration/README.md
|
130
129
|
- spec/integration/net_launcher/data/minimum_data_setup.yaml.erb
|
131
130
|
- spec/integration/net_launcher/net_launch_spec.rb
|
132
131
|
- spec/integration/net_launcher/org_vdc_network_spec.rb
|
@@ -157,7 +156,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
157
156
|
version: '0'
|
158
157
|
segments:
|
159
158
|
- 0
|
160
|
-
hash:
|
159
|
+
hash: -2216178892110969020
|
161
160
|
requirements: []
|
162
161
|
rubyforge_project:
|
163
162
|
rubygems_version: 1.8.11
|
@@ -166,7 +165,6 @@ specification_version: 3
|
|
166
165
|
summary: Tool to launch and configure vCloud networks
|
167
166
|
test_files:
|
168
167
|
- spec/erb_helper.rb
|
169
|
-
- spec/integration/README.md
|
170
168
|
- spec/integration/net_launcher/data/minimum_data_setup.yaml.erb
|
171
169
|
- spec/integration/net_launcher/net_launch_spec.rb
|
172
170
|
- spec/integration/net_launcher/org_vdc_network_spec.rb
|
data/spec/integration/README.md
DELETED
@@ -1,33 +0,0 @@
|
|
1
|
-
# Running vCloud Net Launcher Integration Tests
|
2
|
-
|
3
|
-
## Prerequisites
|
4
|
-
|
5
|
-
- Access to a suitable vCloud Director organisation.
|
6
|
-
|
7
|
-
**NB** It is not safe to run them against an environment that is in use
|
8
|
-
(e.g. production, preview) as many of the tests clear down all config at
|
9
|
-
the beginning and/or end to ensure the environment is as the tests expect.
|
10
|
-
|
11
|
-
- A config file with the settings configured.
|
12
|
-
|
13
|
-
There is a [template file](spec/integration/vcloud_tools_testing_config.yaml.template) to
|
14
|
-
help with this. Copy the template file to `spec/integration/vcloud_tools_testing_config.yaml`
|
15
|
-
and update with parameters suitable for your environment.
|
16
|
-
|
17
|
-
- You need to include the set-up for your testing environment in your
|
18
|
-
[fog file](https://github.com/gds-operations/vcloud-core#credentials).
|
19
|
-
|
20
|
-
- The tests use the [vCloud Tools Tester](http://rubygems.org/gems/vcloud-tools-tester) gem.
|
21
|
-
You do not need to install this, `bundler` will do this for you.
|
22
|
-
|
23
|
-
## Parameters
|
24
|
-
|
25
|
-
````
|
26
|
-
default: # This is the fog credential that refers to your testing environment, e.g. `test_credential`
|
27
|
-
vdc_1_name: # The name of a VDC
|
28
|
-
edge_gateway: # The name of the edge gateway
|
29
|
-
````
|
30
|
-
|
31
|
-
## To run the tests
|
32
|
-
|
33
|
-
`FOG_CREDENTIAL=test_credential bundle exec integration`
|