vagrant-service-manager 1.1.0 → 1.2.0
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/.ci/ansible/roles/centos/tasks/main.yml +3 -2
- data/.ci/jenkins-execute-script.py +6 -4
- data/.gitignore +1 -0
- data/.rubocop.yml +13 -0
- data/.rubocop_todo.yml +55 -0
- data/CHANGELOG.md +22 -1
- data/CONTRIBUTING.adoc +6 -6
- data/Gemfile +12 -4
- data/README.adoc +104 -70
- data/Rakefile +235 -66
- data/features/box-command.feature +26 -1
- data/features/env-command.feature +20 -3
- data/features/help-command.feature +4 -1
- data/features/install-cli.feature +58 -0
- data/features/openshift.feature +2 -1
- data/features/service-operation.feature +76 -3
- data/features/support/env.rb +26 -10
- data/lib/vagrant-service-manager.rb +7 -2
- data/lib/vagrant-service-manager/action/setup_network.rb +0 -2
- data/lib/vagrant-service-manager/archive_handlers/tar_handler.rb +26 -0
- data/lib/vagrant-service-manager/archive_handlers/zip_handler.rb +25 -0
- data/lib/vagrant-service-manager/binary_handlers/adb_binary_handler.rb +55 -0
- data/lib/vagrant-service-manager/binary_handlers/adb_docker_binary_handler.rb +38 -0
- data/lib/vagrant-service-manager/binary_handlers/adb_openshift_binary_handler.rb +49 -0
- data/lib/vagrant-service-manager/binary_handlers/binary_handler.rb +119 -0
- data/lib/vagrant-service-manager/binary_handlers/cdk_binary_handler.rb +33 -0
- data/lib/vagrant-service-manager/binary_handlers/cdk_docker_binary_handler.rb +9 -0
- data/lib/vagrant-service-manager/binary_handlers/cdk_openshift_binary_handler.rb +9 -0
- data/lib/vagrant-service-manager/command.rb +90 -15
- data/lib/vagrant-service-manager/config.rb +8 -8
- data/lib/vagrant-service-manager/installer.rb +49 -0
- data/lib/vagrant-service-manager/plugin.rb +2 -2
- data/lib/vagrant-service-manager/plugin_logger.rb +2 -2
- data/lib/vagrant-service-manager/plugin_util.rb +29 -6
- data/lib/vagrant-service-manager/service.rb +4 -3
- data/lib/vagrant-service-manager/service_base.rb +11 -0
- data/lib/vagrant-service-manager/services/docker.rb +29 -29
- data/lib/vagrant-service-manager/services/kubernetes.rb +7 -7
- data/lib/vagrant-service-manager/services/open_shift.rb +42 -41
- data/lib/vagrant-service-manager/version.rb +1 -1
- data/locales/en.yml +42 -4
- data/plugins/guests/redhat/cap/machine_ip.rb +2 -1
- data/plugins/guests/redhat/plugin.rb +1 -1
- data/plugins/hosts/darwin/cap/os_arch.rb +11 -0
- data/plugins/hosts/darwin/plugin.rb +13 -0
- data/plugins/hosts/linux/cap/os_arch.rb +11 -0
- data/plugins/hosts/linux/plugin.rb +13 -0
- data/plugins/hosts/windows/cap/os_arch.rb +18 -0
- data/plugins/hosts/windows/plugin.rb +13 -0
- data/test/test_data/docker-1.10.0.tar.gz +0 -0
- data/test/test_data/docker-1.11.0.tgz +0 -0
- data/test/test_data/docker-1.9.1.zip +0 -0
- data/test/test_data/openshift-origin-client-tools-v1.2.0-2e62fab-linux-64bit.tar.gz +0 -0
- data/test/test_data/openshift-origin-client-tools-v1.2.0-2e62fab-linux-64bit.zip +0 -0
- data/test/test_data/openshift-origin-client-tools-v1.2.0-2e62fab-mac.zip +0 -0
- data/test/test_helper.rb +121 -0
- data/test/vagrant-service-manager/archive_handler_test.rb +49 -0
- data/test/vagrant-service-manager/binary_handlers/adb_docker_binary_handler_test.rb +111 -0
- data/test/vagrant-service-manager/binary_handlers/adb_openshift_binary_handler_test.rb +107 -0
- data/test/vagrant-service-manager/installer_test.rb +96 -0
- data/vagrant-service-manager.gemspec +4 -3
- metadata +43 -16
- data/TODO +0 -24
- data/Vagrantfile +0 -29
- data/lib/vagrant-service-manager/os.rb +0 -22
- data/vagrant-service-manager.spec +0 -215
@@ -0,0 +1,96 @@
|
|
1
|
+
require_relative '../test_helper'
|
2
|
+
|
3
|
+
module VagrantPlugins
|
4
|
+
module ServiceManager
|
5
|
+
describe Installer do
|
6
|
+
before do
|
7
|
+
@machine = fake_machine
|
8
|
+
@ui = FakeUI.new
|
9
|
+
@machine.env.stubs(:ui).returns(@ui)
|
10
|
+
|
11
|
+
# set test path
|
12
|
+
@plugin_test_path = "#{@machine.env.data_dir}/service-manager/test"
|
13
|
+
ServiceManager.bin_dir = "#{@plugin_test_path}/bin"
|
14
|
+
ServiceManager.temp_dir = "#{@plugin_test_path}/temp"
|
15
|
+
end
|
16
|
+
|
17
|
+
after do
|
18
|
+
FileUtils.rmtree(@plugin_test_path) if File.directory? @plugin_test_path
|
19
|
+
end
|
20
|
+
|
21
|
+
describe 'Docker' do
|
22
|
+
before do
|
23
|
+
@type = :docker
|
24
|
+
@options = { box_version: 'adb', '--cli-version' => '1.11.0' }
|
25
|
+
@installer = Installer.new(@type, @machine, @machine.env, @options)
|
26
|
+
end
|
27
|
+
|
28
|
+
it 'should set default values properly' do
|
29
|
+
@installer.instance_variable_get('@type').must_equal @type
|
30
|
+
@installer.instance_variable_get('@machine').must_equal @machine
|
31
|
+
@installer.instance_variable_get('@env').must_equal @machine.env
|
32
|
+
@installer.instance_variable_get('@box_version').must_equal 'adb'
|
33
|
+
end
|
34
|
+
|
35
|
+
it 'should build handler class dynamically' do
|
36
|
+
@installer.handler_class.must_equal ADBDockerBinaryHandler.to_s
|
37
|
+
end
|
38
|
+
|
39
|
+
it 'should skip installing if binary path exists' do
|
40
|
+
# create mock docker binary
|
41
|
+
bin_folder_path = "#{ServiceManager.bin_dir}/docker/#{@options['--cli-version']}"
|
42
|
+
FileUtils.mkdir_p(bin_folder_path)
|
43
|
+
FileUtils.touch("#{bin_folder_path}/docker")
|
44
|
+
|
45
|
+
@installer.instance_variable_get('@binary_handler').binary_exists.must_equal true
|
46
|
+
end
|
47
|
+
end
|
48
|
+
|
49
|
+
describe 'OpenShift' do
|
50
|
+
before do
|
51
|
+
@type = :openshift
|
52
|
+
@options = { box_version: 'adb', '--cli-version' => '1.2.0' }
|
53
|
+
@installer = Installer.new(@type, @machine, @machine.env, @options)
|
54
|
+
end
|
55
|
+
|
56
|
+
it 'should set default values properly' do
|
57
|
+
@installer.instance_variable_get('@type').must_equal @type
|
58
|
+
@installer.instance_variable_get('@machine').must_equal @machine
|
59
|
+
@installer.instance_variable_get('@env').must_equal @machine.env
|
60
|
+
@installer.instance_variable_get('@box_version').must_equal 'adb'
|
61
|
+
end
|
62
|
+
|
63
|
+
it 'should build handler class dynamically' do
|
64
|
+
@installer.handler_class.must_equal ADBOpenshiftBinaryHandler.to_s
|
65
|
+
end
|
66
|
+
|
67
|
+
it 'should skip installing if binary path exists' do
|
68
|
+
# create mock docker binary
|
69
|
+
bin_folder_path = "#{ServiceManager.bin_dir}/openshift/#{@options['--cli-version']}"
|
70
|
+
FileUtils.mkdir_p(bin_folder_path)
|
71
|
+
FileUtils.touch("#{bin_folder_path}/oc")
|
72
|
+
|
73
|
+
@installer.instance_variable_get('@binary_handler').binary_exists.must_equal true
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
describe 'Kubernetes' do
|
78
|
+
before do
|
79
|
+
@type = :kubernetes
|
80
|
+
@options = { box_version: 'adb' }
|
81
|
+
end
|
82
|
+
|
83
|
+
it 'should exit' do
|
84
|
+
begin
|
85
|
+
Installer.new(@type, @machine, @machine.env, @options)
|
86
|
+
refute(true, 'Installer should have exited')
|
87
|
+
rescue SystemExit => e
|
88
|
+
e.status.must_equal 126 # exited with failure status
|
89
|
+
end
|
90
|
+
@ui.received_info_messages.must_include 'Installation of Kubernetes client library via the install-cli ' \
|
91
|
+
'command is not supported yet.'
|
92
|
+
end
|
93
|
+
end
|
94
|
+
end
|
95
|
+
end
|
96
|
+
end
|
@@ -6,13 +6,14 @@ Gem::Specification.new do |spec|
|
|
6
6
|
spec.version = VagrantPlugins::ServiceManager::VERSION
|
7
7
|
spec.license = 'GPL-2.0'
|
8
8
|
spec.homepage = 'https://github.com/projectatomic/vagrant-service-manager'
|
9
|
-
spec.summary =
|
10
|
-
|
9
|
+
spec.summary = 'To provide the user a CLI to configure the ADB/CDK for different use cases and to provide '\
|
10
|
+
'glue between ADB/CDK and the user\'s developer environment.'
|
11
|
+
spec.description = 'Provides setup information, including environment variables and certificates, required to '\
|
12
|
+
'access services provided by ADB/CDK.'
|
11
13
|
|
12
14
|
spec.authors = ['Brian Exelbierd', 'Navid Shaikh']
|
13
15
|
spec.email = ['bex@pobox.com', 'nshaikh@redhat.com']
|
14
16
|
|
15
17
|
spec.files = `git ls-files -z`.split("\x0")
|
16
18
|
spec.require_paths = ['lib']
|
17
|
-
|
18
19
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-service-manager
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Exelbierd
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-
|
12
|
+
date: 2016-07-14 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Provides setup information, including environment variables and certificates,
|
15
15
|
required to access services provided by ADB/CDK.
|
@@ -20,13 +20,15 @@ executables: []
|
|
20
20
|
extensions: []
|
21
21
|
extra_rdoc_files: []
|
22
22
|
files:
|
23
|
-
-
|
24
|
-
-
|
25
|
-
-
|
26
|
-
-
|
27
|
-
-
|
28
|
-
-
|
29
|
-
-
|
23
|
+
- .ci/ansible/roles/centos/tasks/main.yml
|
24
|
+
- .ci/ansible/roles/centos/vars/main.yml
|
25
|
+
- .ci/ansible/site.yml
|
26
|
+
- .ci/jenkins-execute-script.py
|
27
|
+
- .config/cucumber.yml
|
28
|
+
- .gitattributes
|
29
|
+
- .gitignore
|
30
|
+
- .rubocop.yml
|
31
|
+
- .rubocop_todo.yml
|
30
32
|
- CHANGELOG.md
|
31
33
|
- CONTRIBUTING.adoc
|
32
34
|
- Gemfile
|
@@ -34,23 +36,32 @@ files:
|
|
34
36
|
- MAINTAINERS
|
35
37
|
- README.adoc
|
36
38
|
- Rakefile
|
37
|
-
- TODO
|
38
|
-
- Vagrantfile
|
39
39
|
- features/box-command.feature
|
40
40
|
- features/env-command.feature
|
41
41
|
- features/help-command.feature
|
42
|
+
- features/install-cli.feature
|
42
43
|
- features/openshift.feature
|
43
44
|
- features/service-operation.feature
|
44
45
|
- features/support/env.rb
|
45
46
|
- lib/vagrant-service-manager.rb
|
46
47
|
- lib/vagrant-service-manager/action/setup_network.rb
|
48
|
+
- lib/vagrant-service-manager/archive_handlers/tar_handler.rb
|
49
|
+
- lib/vagrant-service-manager/archive_handlers/zip_handler.rb
|
50
|
+
- lib/vagrant-service-manager/binary_handlers/adb_binary_handler.rb
|
51
|
+
- lib/vagrant-service-manager/binary_handlers/adb_docker_binary_handler.rb
|
52
|
+
- lib/vagrant-service-manager/binary_handlers/adb_openshift_binary_handler.rb
|
53
|
+
- lib/vagrant-service-manager/binary_handlers/binary_handler.rb
|
54
|
+
- lib/vagrant-service-manager/binary_handlers/cdk_binary_handler.rb
|
55
|
+
- lib/vagrant-service-manager/binary_handlers/cdk_docker_binary_handler.rb
|
56
|
+
- lib/vagrant-service-manager/binary_handlers/cdk_openshift_binary_handler.rb
|
47
57
|
- lib/vagrant-service-manager/command.rb
|
48
58
|
- lib/vagrant-service-manager/config.rb
|
49
|
-
- lib/vagrant-service-manager/
|
59
|
+
- lib/vagrant-service-manager/installer.rb
|
50
60
|
- lib/vagrant-service-manager/plugin.rb
|
51
61
|
- lib/vagrant-service-manager/plugin_logger.rb
|
52
62
|
- lib/vagrant-service-manager/plugin_util.rb
|
53
63
|
- lib/vagrant-service-manager/service.rb
|
64
|
+
- lib/vagrant-service-manager/service_base.rb
|
54
65
|
- lib/vagrant-service-manager/services/docker.rb
|
55
66
|
- lib/vagrant-service-manager/services/kubernetes.rb
|
56
67
|
- lib/vagrant-service-manager/services/open_shift.rb
|
@@ -61,8 +72,24 @@ files:
|
|
61
72
|
- plugins/guests/redhat/cap/os_variant.rb
|
62
73
|
- plugins/guests/redhat/cap/sha_id.rb
|
63
74
|
- plugins/guests/redhat/plugin.rb
|
75
|
+
- plugins/hosts/darwin/cap/os_arch.rb
|
76
|
+
- plugins/hosts/darwin/plugin.rb
|
77
|
+
- plugins/hosts/linux/cap/os_arch.rb
|
78
|
+
- plugins/hosts/linux/plugin.rb
|
79
|
+
- plugins/hosts/windows/cap/os_arch.rb
|
80
|
+
- plugins/hosts/windows/plugin.rb
|
81
|
+
- test/test_data/docker-1.10.0.tar.gz
|
82
|
+
- test/test_data/docker-1.11.0.tgz
|
83
|
+
- test/test_data/docker-1.9.1.zip
|
84
|
+
- test/test_data/openshift-origin-client-tools-v1.2.0-2e62fab-linux-64bit.tar.gz
|
85
|
+
- test/test_data/openshift-origin-client-tools-v1.2.0-2e62fab-linux-64bit.zip
|
86
|
+
- test/test_data/openshift-origin-client-tools-v1.2.0-2e62fab-mac.zip
|
87
|
+
- test/test_helper.rb
|
88
|
+
- test/vagrant-service-manager/archive_handler_test.rb
|
89
|
+
- test/vagrant-service-manager/binary_handlers/adb_docker_binary_handler_test.rb
|
90
|
+
- test/vagrant-service-manager/binary_handlers/adb_openshift_binary_handler_test.rb
|
91
|
+
- test/vagrant-service-manager/installer_test.rb
|
64
92
|
- vagrant-service-manager.gemspec
|
65
|
-
- vagrant-service-manager.spec
|
66
93
|
homepage: https://github.com/projectatomic/vagrant-service-manager
|
67
94
|
licenses:
|
68
95
|
- GPL-2.0
|
@@ -73,17 +100,17 @@ require_paths:
|
|
73
100
|
- lib
|
74
101
|
required_ruby_version: !ruby/object:Gem::Requirement
|
75
102
|
requirements:
|
76
|
-
- -
|
103
|
+
- - '>='
|
77
104
|
- !ruby/object:Gem::Version
|
78
105
|
version: '0'
|
79
106
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
80
107
|
requirements:
|
81
|
-
- -
|
108
|
+
- - '>='
|
82
109
|
- !ruby/object:Gem::Version
|
83
110
|
version: '0'
|
84
111
|
requirements: []
|
85
112
|
rubyforge_project:
|
86
|
-
rubygems_version: 2.4.
|
113
|
+
rubygems_version: 2.4.6
|
87
114
|
signing_key:
|
88
115
|
specification_version: 4
|
89
116
|
summary: To provide the user a CLI to configure the ADB/CDK for different use cases
|
data/TODO
DELETED
@@ -1,24 +0,0 @@
|
|
1
|
-
TODO for provisioner:
|
2
|
-
|
3
|
-
Vagrantfile should look like
|
4
|
-
|
5
|
-
|
6
|
-
```
|
7
|
-
# -*- mode: ruby -*-
|
8
|
-
# vi: set ft=ruby :
|
9
|
-
|
10
|
-
Vagrant.configure(2) do |config|
|
11
|
-
config.vm.box = "projectatomic/adb"
|
12
|
-
|
13
|
-
config.vm.network "private_network", type: "dhcp"
|
14
|
-
|
15
|
-
config.service-manager.enable = "docker"
|
16
|
-
config.service-manager.enable = "openshift"
|
17
|
-
|
18
|
-
end
|
19
|
-
```
|
20
|
-
|
21
|
-
|
22
|
-
Aim of above Vagrantfile:
|
23
|
-
- Enable the docker service in provisioning step : "systemctl restart docker"
|
24
|
-
- Enable the openshift service in provisioning step: "systemctl restart openshift"
|
data/Vagrantfile
DELETED
@@ -1,29 +0,0 @@
|
|
1
|
-
# -*- mode: ruby -*-
|
2
|
-
# vi: set ft=ruby :
|
3
|
-
|
4
|
-
unless Vagrant.has_plugin?("vagrant-service-manager")
|
5
|
-
$stderr.puts <<-MSG
|
6
|
-
vagrant-service-manager plugin is required for projectatomic/adb.
|
7
|
-
Kindly install the plugin: `$ vagrant plugin install vagrant-service-manager`
|
8
|
-
MSG
|
9
|
-
exit 126
|
10
|
-
end
|
11
|
-
|
12
|
-
Vagrant.configure(2) do |config|
|
13
|
-
|
14
|
-
config.vm.box = "projectatomic/adb"
|
15
|
-
|
16
|
-
#config.vm.network "private_network", ip: "192.168.33.10"
|
17
|
-
#config.vm.network "private_network", type: "dhcp"
|
18
|
-
|
19
|
-
# This is the default setup
|
20
|
-
# config.servicemanager.services = 'docker'
|
21
|
-
|
22
|
-
# Enable multiple services as comma separated list.
|
23
|
-
# config.servicemanager.services = 'docker, openshift'
|
24
|
-
|
25
|
-
# Specific versions can be specified using the following variables for OpenShift service:
|
26
|
-
# config.servicemanager.openshift_docker_registry = "docker.io"
|
27
|
-
# config.servicemanager.openshift_image_name = "openshift/origin"
|
28
|
-
# config.servicemanager.openshift_image_tag = "v1.1.1"
|
29
|
-
end
|
@@ -1,22 +0,0 @@
|
|
1
|
-
# OS Module
|
2
|
-
module OS
|
3
|
-
def self.windows?
|
4
|
-
(/mswin|mingw|bccwin|wince|emx/ =~ RUBY_PLATFORM) != nil
|
5
|
-
end
|
6
|
-
|
7
|
-
def self.windows_cygwin?
|
8
|
-
(/cygwin/ =~ ENV["VAGRANT_DETECTED_OS"]) != nil
|
9
|
-
end
|
10
|
-
|
11
|
-
def self.mac?
|
12
|
-
(/darwin/ =~ RUBY_PLATFORM) != nil
|
13
|
-
end
|
14
|
-
|
15
|
-
def self.unix?
|
16
|
-
!windows?
|
17
|
-
end
|
18
|
-
|
19
|
-
def self.linux?
|
20
|
-
unix? && !mac?
|
21
|
-
end
|
22
|
-
end
|
@@ -1,215 +0,0 @@
|
|
1
|
-
# Generated from vagrant-service-manager-0.0.4.gem by gem2rpm -*- rpm-spec -*-
|
2
|
-
%global vagrant_plugin_name vagrant-service-manager
|
3
|
-
|
4
|
-
Name: %{vagrant_plugin_name}
|
5
|
-
Version: 1.1.0
|
6
|
-
Release: 1%{?dist}
|
7
|
-
Summary: To provide the user a CLI to configure the ADB/CDK for different use cases and to provide glue between ADB/CDK and the user's developer environment.
|
8
|
-
Group: Development/Languages
|
9
|
-
License: GPLv2
|
10
|
-
URL: https://github.com/projectatomic/vagrant-service-manager
|
11
|
-
Source0: https://rubygems.org/gems/%{vagrant_plugin_name}-%{version}.gem
|
12
|
-
Requires(posttrans): vagrant
|
13
|
-
Requires(preun): vagrant
|
14
|
-
Requires: vagrant
|
15
|
-
BuildRequires: ruby(release)
|
16
|
-
BuildRequires: rubygems-devel >= 1.3.6
|
17
|
-
BuildRequires: ruby
|
18
|
-
BuildRequires: vagrant
|
19
|
-
BuildArch: noarch
|
20
|
-
Provides: vagrant(%{vagrant_plugin_name}) = %{version}
|
21
|
-
|
22
|
-
%description
|
23
|
-
To provide the user a CLI to configure the ADB/CDK for different use cases and to provide glue between ADB/CDK and the user's developer environment.
|
24
|
-
|
25
|
-
%package doc
|
26
|
-
Summary: Documentation for %{name}
|
27
|
-
Group: Documentation
|
28
|
-
Requires: %{name} = %{version}-%{release}
|
29
|
-
BuildArch: noarch
|
30
|
-
|
31
|
-
%description doc
|
32
|
-
Documentation for %{name}.
|
33
|
-
|
34
|
-
%prep
|
35
|
-
gem unpack %{SOURCE0}
|
36
|
-
|
37
|
-
%setup -q -D -T -n %{vagrant_plugin_name}-%{version}
|
38
|
-
|
39
|
-
gem spec %{SOURCE0} -l --ruby > %{vagrant_plugin_name}.gemspec
|
40
|
-
|
41
|
-
%build
|
42
|
-
# Create the gem as "gem install" only works on a gem file
|
43
|
-
gem build %{vagrant_plugin_name}.gemspec
|
44
|
-
|
45
|
-
# %%vagrant_plugin_install compiles any C extensions and installs the gem into ./%%gem_dir
|
46
|
-
# by default, so that we can move it into the buildroot in %%install
|
47
|
-
%vagrant_plugin_install
|
48
|
-
|
49
|
-
%install
|
50
|
-
mkdir -p %{buildroot}%{vagrant_plugin_dir}
|
51
|
-
cp -a .%{vagrant_plugin_dir}/* \
|
52
|
-
%{buildroot}%{vagrant_plugin_dir}/
|
53
|
-
|
54
|
-
# Run the test suite
|
55
|
-
%check
|
56
|
-
pushd .%{vagrant_plugin_instdir}
|
57
|
-
|
58
|
-
popd
|
59
|
-
|
60
|
-
%posttrans
|
61
|
-
%vagrant_plugin_register %{vagrant_plugin_name}
|
62
|
-
|
63
|
-
%preun
|
64
|
-
%vagrant_plugin_unregister %{vagrant_plugin_name}
|
65
|
-
|
66
|
-
%files
|
67
|
-
%dir %{vagrant_plugin_instdir}
|
68
|
-
%exclude %{vagrant_plugin_instdir}/.gitignore
|
69
|
-
%{vagrant_plugin_libdir}
|
70
|
-
%exclude %{vagrant_plugin_cache}
|
71
|
-
%{vagrant_plugin_spec}
|
72
|
-
%{vagrant_plugin_instdir}/plugins/guests/
|
73
|
-
%{vagrant_plugin_instdir}/locales/
|
74
|
-
%exclude %{vagrant_plugin_instdir}/.ci
|
75
|
-
%exclude %{vagrant_plugin_instdir}/.config
|
76
|
-
|
77
|
-
%files doc
|
78
|
-
%doc %{vagrant_plugin_docdir}
|
79
|
-
%{vagrant_plugin_instdir}/Gemfile
|
80
|
-
%doc %{vagrant_plugin_instdir}/README.adoc
|
81
|
-
%{vagrant_plugin_instdir}/Rakefile
|
82
|
-
%{vagrant_plugin_instdir}/Vagrantfile
|
83
|
-
%{vagrant_plugin_instdir}/CONTRIBUTING.adoc
|
84
|
-
%{vagrant_plugin_instdir}/LICENSE
|
85
|
-
%{vagrant_plugin_instdir}/MAINTAINERS
|
86
|
-
%{vagrant_plugin_instdir}/vagrant-service-manager.gemspec
|
87
|
-
%{vagrant_plugin_instdir}/vagrant-service-manager.spec
|
88
|
-
%{vagrant_plugin_instdir}/CHANGELOG.md
|
89
|
-
%{vagrant_plugin_instdir}/TODO
|
90
|
-
%{vagrant_plugin_instdir}/.gitattributes
|
91
|
-
%{vagrant_plugin_instdir}/features
|
92
|
-
|
93
|
-
%changelog
|
94
|
-
* Wed Jun 08 2016 Navid Shaikh - 1.1.0-1
|
95
|
-
- Bumps verison to 1.1.0
|
96
|
-
- Updated README to make Installation Instructions clearer @bexelbie
|
97
|
-
- Fix #195: Adding Cucumber and Aruba based acceptance tests @hferentschik
|
98
|
-
- CHANGELOG fix and README update for OS support for tests @budhrg
|
99
|
-
- Fix #220: Bypass hook if no supported guest/box found @budhrg
|
100
|
-
- Issue #212 Updating the CONTRIBUTING page with latest guidelines @hferentschik
|
101
|
-
- Fix #188: Name of k8s service not consistent @budhrg
|
102
|
-
- Fix #225: service-manager env throws NameError @budhrg
|
103
|
-
- Fix #168: Extend --debug flag to show plugin activity @budhrg
|
104
|
-
- Fixed help messages for box and status commands @budhrg
|
105
|
-
- Don't set private network for unsupported box @budhrg
|
106
|
-
- Convert CONTRIBUTING and README docs to AsciiDoc @bexelbie
|
107
|
-
- Fix #235: Unable to access docker daemon from host @navidshaikh
|
108
|
-
- Fix #172: Implement "start/enable" service command @budhrg
|
109
|
-
- Issue #172 Modifying Rake CDK download task to allow downloading latest nightly build @hferentschik
|
110
|
-
- Pre-release v1.1.0.beta.1 @navidshaikh
|
111
|
-
- Fix #237: README and CONTRIBUTING should make use of Asciidoc's :toc: feature @hferentschik
|
112
|
-
- Fix #230: Improve acceptance test run time @hferentschik
|
113
|
-
- Fix #214: Update acceptance tests to support Mac OS without installing Libvirt @hferentschik
|
114
|
-
- Fix #247: Moved status test into service-operation @hferentschik
|
115
|
-
- Issue #211 Adding configuration for CI build @hferentschik
|
116
|
-
- Fix #210: Adds docker registry URL in openshift env info @navidshaikh
|
117
|
-
- Fix #250: status throws error with invalid service name @budhrg
|
118
|
-
- vagrant-service-manager release=1.1.0 version=1 @navidshaikh
|
119
|
-
|
120
|
-
* Mon May 09 2016 Navid Shaikh - 1.0.2-1
|
121
|
-
- Add --script-readable to env and env docker @bexelbie
|
122
|
-
- Fix #178: Add status command and separate status from env @bexelbie
|
123
|
-
- Fix#173: Shows if kubernetes services is running in the box @navidshaikh
|
124
|
-
- Fix #169: Adds command for displaying box routable IP address @navidshaikh
|
125
|
-
- Fix message for box command on default help @budhrg
|
126
|
-
- Fix #184: Make env headers comments for vagrant service-manager env @bexelbie
|
127
|
-
- Fix #135: Refactor command.rb to make commands easier to add/maintain @budhrg
|
128
|
-
- Adds @budhrg as co-maintainer for the plugin @navidshaikh
|
129
|
-
- Fix #191: 'vagrant service-manager restart' not handled correctly @budhrg
|
130
|
-
- Fixes #187, Updated commands in the Available Commands section @preeticp
|
131
|
-
- Fix #200: Simplify the eval hint for `vagrant service-manager env` command @budhrg
|
132
|
-
- Add environment variables for Openshift env output @bexelbie
|
133
|
-
- Fix #181: vagrant-service-manager version 1.0.2 release @navidshaikh
|
134
|
-
|
135
|
-
* Tue Apr 12 2016 Navid Shaikh - 1.0.1-1
|
136
|
-
- Updated SPEC (v1.0.0) for url, date and format @budhrg
|
137
|
-
- Added Table of Contents for README @bexelbie
|
138
|
-
- Fix #160: "vagrant service-manager restart openshift" not working as expected @budhrg
|
139
|
-
- Fix #166: For CDK box, provisioners are not executed by default on Vagrant up @budhrg
|
140
|
-
- Fix #170: vagrant-service-manager version 1.0.1 release @navidshaikh
|
141
|
-
|
142
|
-
* Thu Apr 7 2016 Navid Shaikh - 1.0.0-1
|
143
|
-
- Bumps the plugin version to 1.0.0
|
144
|
-
- Fix #132: vagrant-service-manager 1.0.0 release @navidshaikh
|
145
|
-
- Fix #133: Adds restart command for services @navidshaikh
|
146
|
-
- Fix #152: Makes plugin backward compatible with docker 1.8.2 for docker version API @navidshaikh
|
147
|
-
- Fix #150: Adds .gitattributes to fix the CHANGELOG.md merge conflicts @bexelbie
|
148
|
-
- Fix #142: Removes # before human readable output of openshift env info @navidshaikh
|
149
|
-
- Fix #75 and #141: Improves `vagrant service-manager env` output @navidshaikh
|
150
|
-
- Fix #146: Updates docker 1.9.1 API call for `docker version` @navidshaikh
|
151
|
-
- Updating CONTRIBUTING with note about entry loc @bexelbie
|
152
|
-
- Update IP detection routine and fix for libvirt @bexelbie
|
153
|
-
- Fix #50: Add --help @budhrg
|
154
|
-
- Fix #89: Improve help output for service-manager -h @budhrg
|
155
|
-
- Vagrant way of showing information using 'locale' @budhrg
|
156
|
-
- cygwin eval hint now removes colors and env uses export @bexelbie
|
157
|
-
- Fix #131: Fixes starting OpenShift service by default for CDK box @navidshaikh
|
158
|
-
|
159
|
-
* Tue Mar 29 2016 Navid Shaikh - 0.0.5-1
|
160
|
-
- Fix #127: vagrant-service-manager 0.0.5 release @navidshaikh
|
161
|
-
- Fix #122: Certs copied at the time of generation @budhrg
|
162
|
-
- Fix #121: Removes DOCKER_MACHINE_NAME from `env docker` command output @navidshaikh
|
163
|
-
- Fix #65: Adds --script-readable option for `env openshift` command @navidshaikh
|
164
|
-
- Fix #80: Check for correct TLS certs pair @budhrg
|
165
|
-
- Fix #113: Adds DOCKER_API_VERSION in env docker output @navidshaikh
|
166
|
-
- Adds SPEC file version 0.0.4 of the plugin @navidshaikh
|
167
|
-
|
168
|
-
* Tue Mar 15 2016 Navid Shaikh - 0.0.4-1
|
169
|
-
- Fix #101: vagrant-service-manager version 0.0.4 release @navidshaikh
|
170
|
-
- Remove manually scp for TLS keys and use machine.communicate.download @bexelbie
|
171
|
-
- Fix #87 #83: Supports starting OpenShift service as part of config @budhrg @bexelbie @navidshaikh
|
172
|
-
- Fix #95: Update hook code to call other middleware first @bexelbie
|
173
|
-
- Fix #94: Do not exit if box is not supported @navidshaikh
|
174
|
-
- Fixed missing word for plugin installation in README @budhrg
|
175
|
-
- Fix links, typos, formatting in CONTRIBUTING.md @budhrg
|
176
|
-
- Fix #16 and #72: Enable private networking for VirtualBox if not set @budhrg
|
177
|
-
|
178
|
-
* Tue Mar 01 2016 Navid Shaikh - 0.0.3-1
|
179
|
-
- Fix #74: vagrant-service-manager plugin version 0.0.3 release @navidshaikh
|
180
|
-
- Fix #12 and #21: Restart docker service on 'vagrant up' @budhrg
|
181
|
-
- Update CONTRIBUTING.md and README.md @bexelbie
|
182
|
-
- Fix #45: Adds exit status for commands and invalid commands @navidshaikh
|
183
|
-
- Enhanced the developer instructions for developing the plugin in README @budhrg
|
184
|
-
- Updated box versioning info @budhrg
|
185
|
-
- Fix #45: Adds exit status for commands and invalid commands @navidshaikh
|
186
|
-
- Renames the option machine-readable to script-readable @navidshaikh
|
187
|
-
- Fix #63: Adds --machine-readable option to box version command @navidshaikh
|
188
|
-
- Fix #66: Fixing gem build warning @lalatendumohanty
|
189
|
-
- Adds the filename as class constant @navidshaikh
|
190
|
-
- Fix #8: Adds subcommand for printing box version
|
191
|
-
- Fix #59: Prints the error message on stderr @navidshaikh
|
192
|
-
- Updates openshift connection information output @navidshaikh
|
193
|
-
- Extends help command with openshift example @navidshaikh
|
194
|
-
- Adds method to find if a service is running @navidshaikh
|
195
|
-
- Fix #23: Adds subcommand for displaying openshift information @navidshaikh
|
196
|
-
- Updates output docker info in README @navidshaikh
|
197
|
-
|
198
|
-
* Wed Feb 17 2016 Navid Shaikh - 0.0.2-1
|
199
|
-
- Bumps version to v0.0.2
|
200
|
-
- Fixed prompting for bringing machine up for help command
|
201
|
-
- Adds Lalatendu Mohanty as maintainer
|
202
|
-
- Fixed check for finding vagrant box state
|
203
|
-
- Adds version.rb to fetch the version of plugin
|
204
|
-
- Adds steps to build the plugin using bundler
|
205
|
-
- Updates README with quick start steps
|
206
|
-
- Fixed issue for private key not being sourced for libvirt provider
|
207
|
-
- Add notice when copying certificates
|
208
|
-
- `vagrant service-manager env` returns all info
|
209
|
-
- Adds running machine detection in plugin for better error reporting
|
210
|
-
- Updates README with objective
|
211
|
-
- Updates README with gemfile and copr builds
|
212
|
-
- Added SPEC file to the git repository of plugin
|
213
|
-
|
214
|
-
* Tue Feb 09 2016 Navid Shaikh - 0.0.1-1
|
215
|
-
- Initial build
|