vagrant-cos-guest 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.github/workflows/gem-push.yml +47 -0
- data/.gitignore +2 -0
- data/Gemfile +9 -0
- data/Gemfile.lock +107 -0
- data/lib/cos/guest.rb +11 -0
- data/lib/cos/plugin.rb +14 -0
- data/lib/vagrant-cos-guest.rb +2 -0
- data/vagrant-cos-guest.gemspec +14 -0
- metadata +51 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 5c6a9afbc62327c18ad62e776a70c186d117c52fb6b872087e52e3860ee24f14
|
4
|
+
data.tar.gz: 76c77a5b4bfa790b3e05612122caae0aa9dd8b2a9cf92116982a017d4f5b69df
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: f85cd8851b506844ee8dc9241e6c152be961e67de498f838d2f6b8c80623d556a4d1529c1205330458b57658d94e9a6b7a504d94a5621f118a2bb0d76b5938bb
|
7
|
+
data.tar.gz: d48960ee804d4b4bb6c299d3a83177fcf44440b3c9c5d6ab7cda83015df4b121cf7105eb6f93607782bc785f326bf662eff5f39adb11051848d714e3a9552446
|
@@ -0,0 +1,47 @@
|
|
1
|
+
name: Ruby Gem
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches: [ master ]
|
6
|
+
pull_request:
|
7
|
+
branches: [ master ]
|
8
|
+
|
9
|
+
jobs:
|
10
|
+
build:
|
11
|
+
name: Build + Publish
|
12
|
+
runs-on: ubuntu-latest
|
13
|
+
permissions:
|
14
|
+
contents: read
|
15
|
+
packages: write
|
16
|
+
|
17
|
+
steps:
|
18
|
+
- uses: actions/checkout@v2
|
19
|
+
- name: Set up Ruby 2.6
|
20
|
+
uses: actions/setup-ruby@v1
|
21
|
+
with:
|
22
|
+
ruby-version: 2.6.x
|
23
|
+
|
24
|
+
- name: Publish to GPR
|
25
|
+
if: always()
|
26
|
+
run: |
|
27
|
+
mkdir -p $HOME/.gem
|
28
|
+
touch $HOME/.gem/credentials
|
29
|
+
chmod 0600 $HOME/.gem/credentials
|
30
|
+
printf -- "---\n:github: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
|
31
|
+
gem build *.gemspec
|
32
|
+
gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} *.gem
|
33
|
+
env:
|
34
|
+
GEM_HOST_API_KEY: "Bearer ${{secrets.GITHUB_TOKEN}}"
|
35
|
+
OWNER: ${{ github.repository_owner }}
|
36
|
+
|
37
|
+
- name: Publish to RubyGems
|
38
|
+
if: always()
|
39
|
+
run: |
|
40
|
+
mkdir -p $HOME/.gem
|
41
|
+
touch $HOME/.gem/credentials
|
42
|
+
chmod 0600 $HOME/.gem/credentials
|
43
|
+
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
|
44
|
+
gem build *.gemspec
|
45
|
+
gem push *.gem
|
46
|
+
env:
|
47
|
+
GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"
|
data/.gitignore
ADDED
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,107 @@
|
|
1
|
+
GIT
|
2
|
+
remote: https://github.com/hashicorp/vagrant.git
|
3
|
+
revision: dd99138a90c45a4e3ffc038d42dcf2c7fd13c094
|
4
|
+
specs:
|
5
|
+
vagrant (2.2.17.dev)
|
6
|
+
bcrypt_pbkdf (~> 1.1)
|
7
|
+
childprocess (~> 4.0.0)
|
8
|
+
ed25519 (~> 1.2.4)
|
9
|
+
erubi
|
10
|
+
hashicorp-checkpoint (~> 0.1.5)
|
11
|
+
i18n (~> 1.8)
|
12
|
+
listen (~> 3.4)
|
13
|
+
log4r (~> 1.1.9, < 1.1.11)
|
14
|
+
mime-types (~> 3.3)
|
15
|
+
net-scp (~> 1.2.0)
|
16
|
+
net-sftp (~> 3.0)
|
17
|
+
net-ssh (>= 6.1.0, < 6.2)
|
18
|
+
rb-kqueue (~> 0.2.0)
|
19
|
+
rubyzip (~> 2.0)
|
20
|
+
vagrant_cloud (~> 3.0.4)
|
21
|
+
wdm (~> 0.1.0)
|
22
|
+
winrm (>= 2.3.4, < 3.0)
|
23
|
+
winrm-elevated (>= 1.2.1, < 2.0)
|
24
|
+
winrm-fs (>= 1.3.4, < 2.0)
|
25
|
+
|
26
|
+
PATH
|
27
|
+
remote: .
|
28
|
+
specs:
|
29
|
+
vagrant-cos-guest (0.1.0)
|
30
|
+
|
31
|
+
GEM
|
32
|
+
remote: https://rubygems.org/
|
33
|
+
specs:
|
34
|
+
bcrypt_pbkdf (1.1.0)
|
35
|
+
builder (3.2.4)
|
36
|
+
childprocess (4.0.0)
|
37
|
+
concurrent-ruby (1.1.9)
|
38
|
+
ed25519 (1.2.4)
|
39
|
+
erubi (1.10.0)
|
40
|
+
excon (0.82.0)
|
41
|
+
ffi (1.15.1)
|
42
|
+
gssapi (1.3.1)
|
43
|
+
ffi (>= 1.0.1)
|
44
|
+
gyoku (1.3.1)
|
45
|
+
builder (>= 2.1.2)
|
46
|
+
hashicorp-checkpoint (0.1.5)
|
47
|
+
httpclient (2.8.3)
|
48
|
+
i18n (1.8.10)
|
49
|
+
concurrent-ruby (~> 1.0)
|
50
|
+
listen (3.5.1)
|
51
|
+
rb-fsevent (~> 0.10, >= 0.10.3)
|
52
|
+
rb-inotify (~> 0.9, >= 0.9.10)
|
53
|
+
little-plugger (1.1.4)
|
54
|
+
log4r (1.1.10)
|
55
|
+
logging (2.3.0)
|
56
|
+
little-plugger (~> 1.1)
|
57
|
+
multi_json (~> 1.14)
|
58
|
+
mime-types (3.3.1)
|
59
|
+
mime-types-data (~> 3.2015)
|
60
|
+
mime-types-data (3.2021.0225)
|
61
|
+
multi_json (1.15.0)
|
62
|
+
net-scp (1.2.1)
|
63
|
+
net-ssh (>= 2.6.5)
|
64
|
+
net-sftp (3.0.0)
|
65
|
+
net-ssh (>= 5.0.0, < 7.0.0)
|
66
|
+
net-ssh (6.1.0)
|
67
|
+
nori (2.6.0)
|
68
|
+
rb-fsevent (0.11.0)
|
69
|
+
rb-inotify (0.10.1)
|
70
|
+
ffi (~> 1.0)
|
71
|
+
rb-kqueue (0.2.6)
|
72
|
+
ffi (>= 0.5.0)
|
73
|
+
rubyntlm (0.6.3)
|
74
|
+
rubyzip (2.3.0)
|
75
|
+
vagrant_cloud (3.0.4)
|
76
|
+
excon (~> 0.73)
|
77
|
+
log4r (~> 1.1.10)
|
78
|
+
wdm (0.1.1)
|
79
|
+
winrm (2.3.6)
|
80
|
+
builder (>= 2.1.2)
|
81
|
+
erubi (~> 1.8)
|
82
|
+
gssapi (~> 1.2)
|
83
|
+
gyoku (~> 1.0)
|
84
|
+
httpclient (~> 2.2, >= 2.2.0.2)
|
85
|
+
logging (>= 1.6.1, < 3.0)
|
86
|
+
nori (~> 2.0)
|
87
|
+
rubyntlm (~> 0.6.0, >= 0.6.3)
|
88
|
+
winrm-elevated (1.2.3)
|
89
|
+
erubi (~> 1.8)
|
90
|
+
winrm (~> 2.0)
|
91
|
+
winrm-fs (~> 1.0)
|
92
|
+
winrm-fs (1.3.5)
|
93
|
+
erubi (~> 1.8)
|
94
|
+
logging (>= 1.6.1, < 3.0)
|
95
|
+
rubyzip (~> 2.0)
|
96
|
+
winrm (~> 2.0)
|
97
|
+
|
98
|
+
PLATFORMS
|
99
|
+
ruby
|
100
|
+
x86_64-linux
|
101
|
+
|
102
|
+
DEPENDENCIES
|
103
|
+
vagrant!
|
104
|
+
vagrant-cos-guest!
|
105
|
+
|
106
|
+
BUNDLED WITH
|
107
|
+
2.2.19
|
data/lib/cos/guest.rb
ADDED
data/lib/cos/plugin.rb
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
require 'vagrant'
|
2
|
+
module VagrantPlugins
|
3
|
+
module GuestCos
|
4
|
+
class Plugin < Vagrant.plugin("2")
|
5
|
+
name "Cos-suse guest"
|
6
|
+
description "cOS guest based on opensuse"
|
7
|
+
|
8
|
+
guest(:cos, :suse) do
|
9
|
+
require_relative 'guest'
|
10
|
+
Guest
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
Gem::Specification.new do |s|
|
2
|
+
s.name = 'vagrant-cos-guest'
|
3
|
+
s.version = '0.1.0'
|
4
|
+
s.licenses = ['Apache-2.0']
|
5
|
+
s.summary = "Support cOS guest images based of opensuse"
|
6
|
+
s.description = ""
|
7
|
+
s.authors = ["Itxaka Serrano"]
|
8
|
+
s.email = 'igarcia@suse.com'
|
9
|
+
s.files = `git ls-files`.split($/)
|
10
|
+
s.executables = s.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
11
|
+
s.require_paths = ["lib"]
|
12
|
+
s.homepage = 'https://github.com/itxaka/vagrant-cos-guest'
|
13
|
+
s.metadata = { "source_code_uri" => "https://github.com/itxaka/vagrant-cos-guest" }
|
14
|
+
end
|
metadata
ADDED
@@ -0,0 +1,51 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: vagrant-cos-guest
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Itxaka Serrano
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2021-06-11 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description: ''
|
14
|
+
email: igarcia@suse.com
|
15
|
+
executables: []
|
16
|
+
extensions: []
|
17
|
+
extra_rdoc_files: []
|
18
|
+
files:
|
19
|
+
- ".github/workflows/gem-push.yml"
|
20
|
+
- ".gitignore"
|
21
|
+
- Gemfile
|
22
|
+
- Gemfile.lock
|
23
|
+
- lib/cos/guest.rb
|
24
|
+
- lib/cos/plugin.rb
|
25
|
+
- lib/vagrant-cos-guest.rb
|
26
|
+
- vagrant-cos-guest.gemspec
|
27
|
+
homepage: https://github.com/itxaka/vagrant-cos-guest
|
28
|
+
licenses:
|
29
|
+
- Apache-2.0
|
30
|
+
metadata:
|
31
|
+
source_code_uri: https://github.com/itxaka/vagrant-cos-guest
|
32
|
+
post_install_message:
|
33
|
+
rdoc_options: []
|
34
|
+
require_paths:
|
35
|
+
- lib
|
36
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
42
|
+
requirements:
|
43
|
+
- - ">="
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
46
|
+
requirements: []
|
47
|
+
rubygems_version: 3.0.3.1
|
48
|
+
signing_key:
|
49
|
+
specification_version: 4
|
50
|
+
summary: Support cOS guest images based of opensuse
|
51
|
+
test_files: []
|