deploy_rubygem 0.0.0.1.ENOTAG → 0.0.3
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
- checksums.yaml.gz.sig +0 -0
- data/.circleci/config.yml +48 -0
- data/.kitchen/logs/kitchen.log +29 -0
- data/Gemfile +3 -0
- data/bin/deploy_rubygem +8 -1
- data/deploy_rubygem.gemspec +67 -0
- data.tar.gz.sig +0 -0
- metadata +7 -17
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 79ff5a68cdd0146dbf1f1acf6dc0a6f38bd27531dd7ca2244ceb566b0d4f9829
|
|
4
|
+
data.tar.gz: b3f84d301bdf4a9d6774c77c959a710c4fd43f48c4211b9cee54327ca44db598
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d4495d062054dc16e601d318c48f8176923eb6e10c5f60a13934acfd2efa51bfd5a467ada0a35bf4de2f30458f8c7ec402d19c2611ff951c7307ccb9f09a113d
|
|
7
|
+
data.tar.gz: 9b1a6fc50c885d1e36785beb29bac2a83deb3ef43d83aad868a49561033e84478a8c953cae66ea8e42b9c3eb47048929dc0381b7fb139be7384be242c1049b87
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
version: 2.1
|
|
2
|
+
|
|
3
|
+
jobs:
|
|
4
|
+
install_deploy_rubygem:
|
|
5
|
+
docker:
|
|
6
|
+
- image: cimg/ruby:3.1.2
|
|
7
|
+
auth:
|
|
8
|
+
username: $DOCKERHUB_USER
|
|
9
|
+
password: $DOCKERHUB_PASSWORD # context / project UI env-var reference
|
|
10
|
+
|
|
11
|
+
environment: {}
|
|
12
|
+
working_directory: /tmp/jimbodragon
|
|
13
|
+
steps:
|
|
14
|
+
- checkout
|
|
15
|
+
- run: |
|
|
16
|
+
set -xu
|
|
17
|
+
echo 'github.com ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOMqqnkVzrm0SdG6UOoqKLsabgH5C9okWi0dh2l9GKJl' >> ~/.ssh/known_hosts
|
|
18
|
+
echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' >> ~/.ssh/known_hosts
|
|
19
|
+
echo 'github.com ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCj7ndNxQowgcQnjshcLrqPEiiphnt+VTTvDP6mHBL9j1aNUkY4Ue1gvwnGLVlOhGeYrnZaMgRK6+PKCUXaDbC7qtbW8gIkhL7aGCsOr/C56SJMy/BCZfxd1nWzAOxSDPgVsmerOBYfNqltV9/hWCqBywINIR+5dIg6JTJ72pcEpEjcYgXkE2YEFXV1JHnsKgbLWNlhScqb2UmyRkQyytRLtL+38TGxkxCflmO+5Z8CSSNY7GidjMIZ7Q4zMjA2n1nGrlTDkzwDCsw+wqFPGQA179cnfGWOWRVruj16z6XyvxvjJwbz0wQZ75XK5tKSb7FNyeIEs4TT4jk+S4dhPeAUC5y+bDYirYgM4GC7uEnztnZyaVWQ7B381AK4Qdrwt51ZqExKbQpTUNn+EjqoTwvqNj4kqx5QUCI0ThS/YkOxJCXmPUWZbhjpCg56i+2aB6CmK2JGhn57K5mj0MNdBXA4/WnwH6XoPWJzK5Nyu2zB3nAZp+S5hpQs+p1vN1/wsjk=' >> ~/.ssh/known_hosts
|
|
20
|
+
cat ~/.ssh/known_hosts
|
|
21
|
+
ssh git@github.com || echo
|
|
22
|
+
gem install deploy_rubygem
|
|
23
|
+
using_deploy_rubygem:
|
|
24
|
+
docker:
|
|
25
|
+
- image: cimg/ruby:3.1.2
|
|
26
|
+
auth:
|
|
27
|
+
username: $DOCKERHUB_USER
|
|
28
|
+
password: $DOCKERHUB_PASSWORD # context / project UI env-var reference
|
|
29
|
+
|
|
30
|
+
environment: {}
|
|
31
|
+
working_directory: /tmp/jimbodragon
|
|
32
|
+
steps:
|
|
33
|
+
- checkout
|
|
34
|
+
- run: |
|
|
35
|
+
deploy_rubygem
|
|
36
|
+
#...
|
|
37
|
+
workflows:
|
|
38
|
+
version: 2
|
|
39
|
+
deploy_rubygem:
|
|
40
|
+
jobs:
|
|
41
|
+
- install_deploy_rubygem:
|
|
42
|
+
filters:
|
|
43
|
+
branches:
|
|
44
|
+
only: master
|
|
45
|
+
- using_deploy_rubygem:
|
|
46
|
+
filters:
|
|
47
|
+
branches:
|
|
48
|
+
only: master
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
I, [2024-05-20T00:12:38.649245 #1026043] INFO -- Kitchen: -----> Starting Test Kitchen (v3.3.2)
|
|
2
|
+
E, [2024-05-20T00:12:38.649511 #1026043] ERROR -- Kitchen: ------Exception-------
|
|
3
|
+
E, [2024-05-20T00:12:38.649541 #1026043] ERROR -- Kitchen: Class: Kitchen::UserError
|
|
4
|
+
E, [2024-05-20T00:12:38.649561 #1026043] ERROR -- Kitchen: Message: Kitchen YAML file /home/jimboadmin/deploy_rubygem/kitchen.yml does not exist.
|
|
5
|
+
E, [2024-05-20T00:12:38.649580 #1026043] ERROR -- Kitchen: ----------------------
|
|
6
|
+
E, [2024-05-20T00:12:38.649598 #1026043] ERROR -- Kitchen: ------Backtrace-------
|
|
7
|
+
E, [2024-05-20T00:12:38.649615 #1026043] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/loader/yaml.rb:65:in `read'
|
|
8
|
+
E, [2024-05-20T00:12:38.649634 #1026043] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/config.rb:153:in `data'
|
|
9
|
+
E, [2024-05-20T00:12:38.649653 #1026043] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/config.rb:131:in `suites'
|
|
10
|
+
E, [2024-05-20T00:12:38.649671 #1026043] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/config.rb:183:in `filter_instances'
|
|
11
|
+
E, [2024-05-20T00:12:38.649690 #1026043] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/config.rb:142:in `build_instances'
|
|
12
|
+
E, [2024-05-20T00:12:38.649708 #1026043] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/config.rb:116:in `instances'
|
|
13
|
+
E, [2024-05-20T00:12:38.649726 #1026043] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/command.rb:109:in `filtered_instances'
|
|
14
|
+
E, [2024-05-20T00:12:38.649744 #1026043] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/command.rb:139:in `parse_subcommand'
|
|
15
|
+
E, [2024-05-20T00:12:38.649763 #1026043] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/command/action.rb:34:in `block in call'
|
|
16
|
+
E, [2024-05-20T00:12:38.649782 #1026043] ERROR -- Kitchen: /home/jimboadmin/.chef/gem/ruby/3.0.0/gems/benchmark-0.2.1/lib/benchmark.rb:296:in `measure'
|
|
17
|
+
E, [2024-05-20T00:12:38.649800 #1026043] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/command/action.rb:33:in `call'
|
|
18
|
+
E, [2024-05-20T00:12:38.649818 #1026043] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/cli.rb:52:in `perform'
|
|
19
|
+
E, [2024-05-20T00:12:38.649837 #1026043] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/cli.rb:198:in `block (2 levels) in <class:CLI>'
|
|
20
|
+
E, [2024-05-20T00:12:38.649855 #1026043] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/thor-1.2.1/lib/thor/command.rb:27:in `run'
|
|
21
|
+
E, [2024-05-20T00:12:38.649874 #1026043] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/thor-1.2.1/lib/thor/invocation.rb:127:in `invoke_command'
|
|
22
|
+
E, [2024-05-20T00:12:38.649892 #1026043] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/thor-1.2.1/lib/thor.rb:392:in `dispatch'
|
|
23
|
+
E, [2024-05-20T00:12:38.649910 #1026043] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/thor-1.2.1/lib/thor/base.rb:485:in `start'
|
|
24
|
+
E, [2024-05-20T00:12:38.649928 #1026043] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/bin/kitchen:11:in `block in <top (required)>'
|
|
25
|
+
E, [2024-05-20T00:12:38.649946 #1026043] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/errors.rb:183:in `with_friendly_errors'
|
|
26
|
+
E, [2024-05-20T00:12:38.649964 #1026043] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/bin/kitchen:11:in `<top (required)>'
|
|
27
|
+
E, [2024-05-20T00:12:38.649983 #1026043] ERROR -- Kitchen: /opt/chef-workstation/bin/kitchen:389:in `load'
|
|
28
|
+
E, [2024-05-20T00:12:38.650009 #1026043] ERROR -- Kitchen: /opt/chef-workstation/bin/kitchen:389:in `<main>'
|
|
29
|
+
E, [2024-05-20T00:12:38.650029 #1026043] ERROR -- Kitchen: ----End Backtrace-----
|
data/Gemfile
ADDED
data/bin/deploy_rubygem
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
#!/opt/chef-workstation/embedded/bin/ruby
|
|
2
2
|
|
|
3
|
+
system('git add bin/deploy_rubygem')
|
|
4
|
+
system('git add deploy_rubygem.gemspec')
|
|
5
|
+
|
|
6
|
+
system('git commit -m "Deploying deploy_rugygem"')
|
|
7
|
+
|
|
8
|
+
system('git version-bump patch') # <major|minor|patch|show>
|
|
9
|
+
|
|
3
10
|
system('gem build')
|
|
4
11
|
|
|
5
|
-
system('gem push deploy_rubygem-
|
|
12
|
+
system('gem push deploy_rubygem-$(git version-bump show).gem')
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
require 'git-version-bump'
|
|
4
|
+
|
|
5
|
+
::Gem::Specification.new do |s|
|
|
6
|
+
s.name = 'deploy_rubygem'
|
|
7
|
+
s.license = 'MIT'
|
|
8
|
+
s.authors = ['Jimmy Provencher']
|
|
9
|
+
s.email = ['jimbo_dragon@hotmail.com']
|
|
10
|
+
s.homepage = 'https://github.com/JimboDragonGit/deploy_rubygem'
|
|
11
|
+
s.summary = 'A auto chef bootstrapper and wrapper cookbook to deploy code and context'
|
|
12
|
+
s.description = 'Using Chef cookbook style and force any script using it to switch to chef even if it is not install. It will install it tho ;)'
|
|
13
|
+
|
|
14
|
+
s.version = GVB.version
|
|
15
|
+
s.date = GVB.date
|
|
16
|
+
|
|
17
|
+
# all_files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
|
|
18
|
+
# s.files = all_files.grep(%r!^(exe|libraries|rubocop)/|^.rubocop.yml$!)
|
|
19
|
+
# code_folder = 'libraries/'
|
|
20
|
+
# s.files = %w(README.md LICENSE bin/selfbootstrap libraries/selfbootstrap.rb ) + Dir.glob('libraries/**/*') # + Dir.glob('{bin,lib,certs,test}/**/*')
|
|
21
|
+
# s.require_paths = [code_folder]
|
|
22
|
+
# s.executables = %w(selfbootstrap)
|
|
23
|
+
# s.bindir = 'exe'
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
s.extra_rdoc_files = ["README.md"]
|
|
27
|
+
s.files = `git ls-files`.split("\n")
|
|
28
|
+
s.executables = [
|
|
29
|
+
'deploy_rubygem'
|
|
30
|
+
]
|
|
31
|
+
|
|
32
|
+
# s.cert_chain = [File.expand_path('../jimbodragon/certs/public/jimbodragon.pem')]
|
|
33
|
+
# s.signing_key = File.expand_path('../jimbodragon/certs/private/jimbodragon-gem-private_key.pem') if $PROGRAM_NAME =~ /gem\z/
|
|
34
|
+
|
|
35
|
+
s.metadata = {
|
|
36
|
+
# 'source_code_uri' => '/home/git/selfbootstrap.git/',
|
|
37
|
+
'bug_tracker_uri' => 'https://github.com/JimboDragonGit/deploy_rubygem/issues',
|
|
38
|
+
'changelog_uri' => 'https://github.com/JimboDragonGit/deploy_rubygem/releases',
|
|
39
|
+
'homepage_uri' => s.homepage,
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
s.rdoc_options = ['--charset=UTF-8']
|
|
43
|
+
s.extra_rdoc_files = %w(README.md LICENSE)
|
|
44
|
+
|
|
45
|
+
# s.required_ruby_version = '>= 2.5.0'
|
|
46
|
+
# s.required_rubygems_version = '>= 2.7.0'
|
|
47
|
+
|
|
48
|
+
s.add_development_dependency('chef')
|
|
49
|
+
s.add_development_dependency('test-kitchen')
|
|
50
|
+
|
|
51
|
+
# s.add_runtime_dependency('colorator', '~> 1.0')
|
|
52
|
+
# s.add_runtime_dependency('em-websocket', '~> 0.5')
|
|
53
|
+
# s.add_runtime_dependency('i18n', '~> 1.0')
|
|
54
|
+
# s.add_runtime_dependency('jekyll-sass-converter', '>= 2.0', '< 4.0')
|
|
55
|
+
# s.add_runtime_dependency('jekyll-watch', '~> 2.0')
|
|
56
|
+
# s.add_runtime_dependency('kramdown', '~> 2.3', '>= 2.3.1')
|
|
57
|
+
# s.add_runtime_dependency('kramdown-parser-gfm', '~> 1.0')
|
|
58
|
+
# s.add_runtime_dependency('liquid', '~> 4.0')
|
|
59
|
+
# s.add_runtime_dependency('mercenary', '>= 0.3.6', '< 0.5')
|
|
60
|
+
# s.add_runtime_dependency('pathutil', '~> 0.9')
|
|
61
|
+
# s.add_runtime_dependency('rouge', '>= 3.0', '< 5.0')
|
|
62
|
+
# s.add_runtime_dependency('safe_yaml', '~> 1.0')
|
|
63
|
+
# s.add_runtime_dependency('terminal-table', '>= 1.8', '< 4.0')
|
|
64
|
+
# s.add_runtime_dependency('webrick', '~> 1.7')
|
|
65
|
+
end
|
|
66
|
+
|
|
67
|
+
|
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: deploy_rubygem
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jimmy Provencher
|
|
@@ -63,20 +63,6 @@ dependencies:
|
|
|
63
63
|
- - ">="
|
|
64
64
|
- !ruby/object:Gem::Version
|
|
65
65
|
version: '0'
|
|
66
|
-
- !ruby/object:Gem::Dependency
|
|
67
|
-
name: deploy-context
|
|
68
|
-
requirement: !ruby/object:Gem::Requirement
|
|
69
|
-
requirements:
|
|
70
|
-
- - ">="
|
|
71
|
-
- !ruby/object:Gem::Version
|
|
72
|
-
version: '2'
|
|
73
|
-
type: :runtime
|
|
74
|
-
prerelease: false
|
|
75
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
76
|
-
requirements:
|
|
77
|
-
- - ">="
|
|
78
|
-
- !ruby/object:Gem::Version
|
|
79
|
-
version: '2'
|
|
80
66
|
description: Using Chef cookbook style and force any script using it to switch to
|
|
81
67
|
chef even if it is not install. It will install it tho ;)
|
|
82
68
|
email:
|
|
@@ -88,10 +74,14 @@ extra_rdoc_files:
|
|
|
88
74
|
- README.md
|
|
89
75
|
- LICENSE
|
|
90
76
|
files:
|
|
77
|
+
- ".circleci/config.yml"
|
|
91
78
|
- ".gitignore"
|
|
79
|
+
- ".kitchen/logs/kitchen.log"
|
|
80
|
+
- Gemfile
|
|
92
81
|
- LICENSE
|
|
93
82
|
- README.md
|
|
94
83
|
- bin/deploy_rubygem
|
|
84
|
+
- deploy_rubygem.gemspec
|
|
95
85
|
homepage: https://github.com/JimboDragonGit/deploy_rubygem
|
|
96
86
|
licenses:
|
|
97
87
|
- MIT
|
|
@@ -111,9 +101,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
111
101
|
version: '0'
|
|
112
102
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
113
103
|
requirements:
|
|
114
|
-
- - "
|
|
104
|
+
- - ">="
|
|
115
105
|
- !ruby/object:Gem::Version
|
|
116
|
-
version:
|
|
106
|
+
version: '0'
|
|
117
107
|
requirements: []
|
|
118
108
|
rubygems_version: 3.2.32
|
|
119
109
|
signing_key:
|
metadata.gz.sig
CHANGED
|
Binary file
|