vagrant-vyos 1.1.3 → 1.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.github/release-please.yml +4 -0
- data/.github/workflows/release.yml +41 -0
- data/.github/workflows/test.yml +22 -0
- data/.gitignore +2 -1
- data/CHANGELOG.md +16 -0
- data/Gemfile +1 -4
- data/README.md +2 -3
- data/lib/vagrant-vyos/cap/insert_public_key.rb +1 -1
- data/lib/vagrant-vyos/version.rb +1 -1
- data/renovate.json +25 -0
- data/spec/guest_spec.rb +1 -0
- data/spec/helper.rb +7 -0
- data/vagrant-vyos.gemspec +3 -4
- metadata +30 -24
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 86f6b425cded6da9d45eb1847bd09ea742a6294f44c057cba941d9482ce11642
|
4
|
+
data.tar.gz: 2d397f4941dd5b0612c36cee75d628e1bfc61581052a5eafef641503ebf02451
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 20133bc88d95688885a25c53ce6913ff84d4a6b40324b2bf0d67e05d07514c4d420ce1c0a9861cd7e829cabf991fccaf7035e22d31f2378e02dbb0afa2bd64a0
|
7
|
+
data.tar.gz: c2680c126cd0f0933bc9564694fdc1041514a1e0889e1c0b4052f54fbd40f01a8b4645ece3c23c160101548543e72af51be57e2cd7466876849f9ebfeec1fb6f
|
@@ -0,0 +1,41 @@
|
|
1
|
+
name: release
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches:
|
6
|
+
- master
|
7
|
+
|
8
|
+
jobs:
|
9
|
+
release:
|
10
|
+
runs-on: ubuntu-latest
|
11
|
+
steps:
|
12
|
+
- uses: GoogleCloudPlatform/release-please-action@v2
|
13
|
+
id: release
|
14
|
+
with:
|
15
|
+
release-type: ruby
|
16
|
+
version-file: lib/vagrant-vyos/version.rb
|
17
|
+
|
18
|
+
- uses: actions/checkout@v2
|
19
|
+
if: ${{ steps.release.outputs.release_created }}
|
20
|
+
|
21
|
+
- name: Set up Ruby 2.6
|
22
|
+
uses: ruby/setup-ruby@v1
|
23
|
+
with:
|
24
|
+
ruby-version: 2.6
|
25
|
+
bundler-cache: true
|
26
|
+
if: ${{ steps.release.outputs.release_created }}
|
27
|
+
|
28
|
+
- name: Build
|
29
|
+
run: gem build *.gemspec
|
30
|
+
if: ${{ steps.release.outputs.release_created }}
|
31
|
+
|
32
|
+
- name: Publish
|
33
|
+
run: |
|
34
|
+
mkdir -p $HOME/.gem
|
35
|
+
touch $HOME/.gem/credentials
|
36
|
+
chmod 0600 $HOME/.gem/credentials
|
37
|
+
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
|
38
|
+
gem push *.gem
|
39
|
+
if: ${{ steps.release.outputs.release_created }}
|
40
|
+
env:
|
41
|
+
GEM_HOST_API_KEY: ${{secrets.RUBYGEMS_AUTH_TOKEN}}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
name: test
|
2
|
+
|
3
|
+
on: [push]
|
4
|
+
|
5
|
+
jobs:
|
6
|
+
build:
|
7
|
+
name: test
|
8
|
+
runs-on: ubuntu-latest
|
9
|
+
|
10
|
+
steps:
|
11
|
+
- uses: actions/checkout@v2
|
12
|
+
- name: Set up Ruby 2.6
|
13
|
+
uses: ruby/setup-ruby@v1
|
14
|
+
with:
|
15
|
+
ruby-version: 2.6
|
16
|
+
bundler-cache: true
|
17
|
+
- name: Test
|
18
|
+
run: |
|
19
|
+
gem install bundler
|
20
|
+
bundle config path vendor/bundle
|
21
|
+
bundle install --jobs 4 --retry 3
|
22
|
+
bundle exec rake spec
|
data/.gitignore
CHANGED
data/CHANGELOG.md
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
# Changelog
|
2
|
+
|
3
|
+
### [1.1.9](https://www.github.com/higebu/vagrant-vyos/compare/v1.1.8...v1.1.9) (2021-07-07)
|
4
|
+
|
5
|
+
|
6
|
+
### Bug Fixes
|
7
|
+
|
8
|
+
* remove Gemfile.lock ([7544922](https://www.github.com/higebu/vagrant-vyos/commit/75449224262d8c9405a7a23e2433691518c56021))
|
9
|
+
|
10
|
+
### [1.1.8](https://www.github.com/higebu/vagrant-vyos/compare/v1.1.7...v1.1.8) (2021-07-07)
|
11
|
+
|
12
|
+
|
13
|
+
### Bug Fixes
|
14
|
+
|
15
|
+
* gempush.yml ([2072747](https://www.github.com/higebu/vagrant-vyos/commit/2072747871785f61a11ff12c671b1f61fd7c08cd))
|
16
|
+
* update Gemfile.lock ([cb089e3](https://www.github.com/higebu/vagrant-vyos/commit/cb089e3b78eecdf0b44d0c97afca5cff6530d4c0))
|
data/Gemfile
CHANGED
@@ -3,8 +3,5 @@ source 'https://rubygems.org'
|
|
3
3
|
gemspec
|
4
4
|
|
5
5
|
group :development do
|
6
|
-
|
7
|
-
# gem dependency because we expect to be installed within the
|
8
|
-
# Vagrant environment itself using `vagrant plugin`.
|
9
|
-
gem "vagrant", :git => "git://github.com/mitchellh/vagrant.git"
|
6
|
+
gem "vagrant", git: "https://github.com/hashicorp/vagrant.git"
|
10
7
|
end
|
data/README.md
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
# vagrant-vyos
|
2
|
-
[![Build Status](https://travis-ci.org/higebu/vagrant-vyos.png)](https://travis-ci.org/higebu/vagrant-vyos)
|
3
2
|
[![Code Climate](https://codeclimate.com/github/higebu/vagrant-vyos/badges/gpa.svg)](https://codeclimate.com/github/higebu/vagrant-vyos)
|
3
|
+
[![codecov](https://codecov.io/gh/higebu/vagrant-vyos/branch/master/graph/badge.svg?token=pHIHFPo6Ub)](https://codecov.io/gh/higebu/vagrant-vyos)
|
4
4
|
[![Gem Version](https://badge.fury.io/rb/vagrant-vyos.svg)](https://badge.fury.io/rb/vagrant-vyos)
|
5
|
-
[![Dependency Status](https://gemnasium.com/badges/github.com/higebu/vagrant-vyos.svg)](https://gemnasium.com/github.com/higebu/vagrant-vyos)
|
6
5
|
[![Downloads](http://ruby-gem-downloads-badge.herokuapp.com/vagrant-vyos?type=total&style=flat)](https://rubygems.org/gems/vagrant-vyos)
|
7
6
|
|
8
7
|
Vagrant-vyos is a [Vagrant](http://www.vagrantup.com) plugin that adds [VyOS](http://vyos.net/wiki/Main_Page) support to Vagrant.
|
@@ -23,7 +22,7 @@ $ vagrant plugin install vagrant-vyos
|
|
23
22
|
## Usage
|
24
23
|
|
25
24
|
```
|
26
|
-
$ vagrant init
|
25
|
+
$ vagrant init vyos/current
|
27
26
|
$ vagrant up
|
28
27
|
```
|
29
28
|
|
@@ -5,7 +5,7 @@ module VagrantPlugins
|
|
5
5
|
def self.insert_public_key(machine, contents)
|
6
6
|
contents = contents.chomp
|
7
7
|
|
8
|
-
ssh_username = machine.config.ssh.username
|
8
|
+
ssh_username = machine.config.ssh.username || "vagrant"
|
9
9
|
key_type, key_value, key_name = contents.split()
|
10
10
|
|
11
11
|
commands = <<-EOS
|
data/lib/vagrant-vyos/version.rb
CHANGED
data/renovate.json
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
{
|
2
|
+
"extends": [
|
3
|
+
":separateMajorReleases",
|
4
|
+
":combinePatchMinorReleases",
|
5
|
+
":ignoreUnstable",
|
6
|
+
":prImmediately",
|
7
|
+
":semanticPrefixFixDepsChoreOthers",
|
8
|
+
":updateNotScheduled",
|
9
|
+
":automergeMinor",
|
10
|
+
":automergeDigest",
|
11
|
+
":ignoreModulesAndTests",
|
12
|
+
":maintainLockFilesDisabled",
|
13
|
+
":autodetectPinVersions",
|
14
|
+
":prHourlyLimitNone",
|
15
|
+
"group:monorepos",
|
16
|
+
"group:recommended",
|
17
|
+
":timezone(Asia/Tokyo)",
|
18
|
+
"schedule:nonOfficeHours",
|
19
|
+
":label(renovate)"
|
20
|
+
],
|
21
|
+
"prConcurrentLimit": 1,
|
22
|
+
"baseBranches": [
|
23
|
+
"master"
|
24
|
+
]
|
25
|
+
}
|
data/spec/guest_spec.rb
CHANGED
data/spec/helper.rb
ADDED
data/vagrant-vyos.gemspec
CHANGED
@@ -16,12 +16,11 @@ Gem::Specification.new do |spec|
|
|
16
16
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
17
17
|
spec.require_paths = ["lib"]
|
18
18
|
|
19
|
-
spec.required_ruby_version = "~> 2.2"
|
20
19
|
spec.required_rubygems_version = ">= 1.3.6"
|
21
20
|
spec.rubyforge_project = "vagrant-vyos"
|
22
21
|
|
23
|
-
spec.add_development_dependency "bundler", ">= 1.12.5"
|
24
22
|
spec.add_development_dependency "rake"
|
25
|
-
spec.add_development_dependency "rspec
|
26
|
-
spec.add_development_dependency "
|
23
|
+
spec.add_development_dependency "rspec", "~> 3.4"
|
24
|
+
spec.add_development_dependency "simplecov"
|
25
|
+
spec.add_development_dependency "codecov"
|
27
26
|
end
|
metadata
CHANGED
@@ -1,71 +1,71 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-vyos
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- KUSAKABE Yuya
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-07-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: rake
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: '0'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: rspec
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '3.4'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '3.4'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: simplecov
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: '0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
54
|
+
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: codecov
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: '0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - "
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: '0'
|
69
69
|
description: VyOS Guest Support for Vagrant
|
70
70
|
email:
|
71
71
|
- yuya.kusakabe@gmail.com
|
@@ -73,9 +73,13 @@ executables: []
|
|
73
73
|
extensions: []
|
74
74
|
extra_rdoc_files: []
|
75
75
|
files:
|
76
|
+
- ".github/release-please.yml"
|
77
|
+
- ".github/workflows/release.yml"
|
78
|
+
- ".github/workflows/test.yml"
|
76
79
|
- ".gitignore"
|
77
80
|
- ".rspec"
|
78
81
|
- ".travis.yml"
|
82
|
+
- CHANGELOG.md
|
79
83
|
- Gemfile
|
80
84
|
- LICENSE
|
81
85
|
- README.md
|
@@ -89,7 +93,9 @@ files:
|
|
89
93
|
- lib/vagrant-vyos/guest.rb
|
90
94
|
- lib/vagrant-vyos/plugin.rb
|
91
95
|
- lib/vagrant-vyos/version.rb
|
96
|
+
- renovate.json
|
92
97
|
- spec/guest_spec.rb
|
98
|
+
- spec/helper.rb
|
93
99
|
- vagrant-vyos.gemspec
|
94
100
|
homepage: https://github.com/higebu/vagrant-vyos
|
95
101
|
licenses:
|
@@ -101,19 +107,19 @@ require_paths:
|
|
101
107
|
- lib
|
102
108
|
required_ruby_version: !ruby/object:Gem::Requirement
|
103
109
|
requirements:
|
104
|
-
- - "
|
110
|
+
- - ">="
|
105
111
|
- !ruby/object:Gem::Version
|
106
|
-
version: '
|
112
|
+
version: '0'
|
107
113
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
108
114
|
requirements:
|
109
115
|
- - ">="
|
110
116
|
- !ruby/object:Gem::Version
|
111
117
|
version: 1.3.6
|
112
118
|
requirements: []
|
113
|
-
|
114
|
-
rubygems_version: 2.5.2
|
119
|
+
rubygems_version: 3.0.3.1
|
115
120
|
signing_key:
|
116
121
|
specification_version: 4
|
117
122
|
summary: A small gem that adds vyos guest support to vagrant.
|
118
123
|
test_files:
|
119
124
|
- spec/guest_spec.rb
|
125
|
+
- spec/helper.rb
|