virtuadeploy 0.1.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 +7 -0
- data/bin/utils/Dockerfile +11 -0
- data/bin/virtuadeploy +5 -0
- data/lib/virtuadeploy.rb +4 -0
- data/lib/virtuadeploy/command.rb +12 -0
- data/lib/virtuadeploy/docker.rb +5 -0
- data/lib/virtuadeploy/docker/command.rb +15 -0
- data/lib/virtuadeploy/version.rb +3 -0
- metadata +64 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: b3e6645a2d63e08abe77d1a456c52b66298002b9b9a50d6498a57ebe0f18d2ab
|
4
|
+
data.tar.gz: 8beb6b53d4b2a2e4e60fe734deaf52d3b564b3a5f87facd535542e35ec62b700
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 1a5bb455f4cc041f9b64794e13041e3007f4796ad8a64a2baa01c2ef367c608dee677b6a4851132418feb8d1fe56f3f7de64a2172fd74832d94d0f74f6546a1c
|
7
|
+
data.tar.gz: 2b382fcde590f902b4b8b82263ce5db593f5cb452aca9c31c1b2d10bb3e35a963fc7ce065af9cc4d53247ffb9d0eee69e0476de5fc3d6c8ccd04db7eb0231eef
|
data/bin/virtuadeploy
ADDED
data/lib/virtuadeploy.rb
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
module Virtuadeploy
|
2
|
+
class Command < Thor
|
3
|
+
def open_utils(filename, options)
|
4
|
+
filename = File.join(__dir__, '..', '..', 'bin', 'utils', filename)
|
5
|
+
content = File.read(filename)
|
6
|
+
options.each do |key, value|
|
7
|
+
content.gsub!("{{#{key}}}", value)
|
8
|
+
end
|
9
|
+
content
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
module Virtuadeploy
|
2
|
+
module Docker
|
3
|
+
class Command < Virtuadeploy::Command
|
4
|
+
|
5
|
+
desc 'docker:show', 'Show the name of the service'
|
6
|
+
method_option :port, default: '8080'
|
7
|
+
method_option :ruby, default: '2.6.5'
|
8
|
+
method_option :bundler, default: '2.1.4'
|
9
|
+
def show(service)
|
10
|
+
options[:service] = service
|
11
|
+
puts open_utils()
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
metadata
ADDED
@@ -0,0 +1,64 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: virtuadeploy
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Vincent Courtois
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2020-04-08 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: thor
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 1.0.1
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 1.0.1
|
27
|
+
description: This gem offers a CLI to easily manage deployments and storage of releases
|
28
|
+
email: courtois.vincent@outlook.com
|
29
|
+
executables:
|
30
|
+
- virtuadeploy
|
31
|
+
extensions: []
|
32
|
+
extra_rdoc_files: []
|
33
|
+
files:
|
34
|
+
- bin/utils/Dockerfile
|
35
|
+
- bin/virtuadeploy
|
36
|
+
- lib/virtuadeploy.rb
|
37
|
+
- lib/virtuadeploy/command.rb
|
38
|
+
- lib/virtuadeploy/docker.rb
|
39
|
+
- lib/virtuadeploy/docker/command.rb
|
40
|
+
- lib/virtuadeploy/version.rb
|
41
|
+
homepage: https://rubygems.org/gems/virtuadeploy
|
42
|
+
licenses:
|
43
|
+
- MIT
|
44
|
+
metadata: {}
|
45
|
+
post_install_message:
|
46
|
+
rdoc_options: []
|
47
|
+
require_paths:
|
48
|
+
- lib
|
49
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
55
|
+
requirements:
|
56
|
+
- - ">="
|
57
|
+
- !ruby/object:Gem::Version
|
58
|
+
version: '0'
|
59
|
+
requirements: []
|
60
|
+
rubygems_version: 3.1.2
|
61
|
+
signing_key:
|
62
|
+
specification_version: 4
|
63
|
+
summary: CI/CD tools used to deploy and create release notes for the services
|
64
|
+
test_files: []
|