sshkit-backends-netssh_global 0.2.0 → 0.2.1.pre.circleci20.20180622180246
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/.circleci/config.yml +87 -6
- data/sshkit-backends-netssh_global.gemspec +2 -4
- metadata +5 -6
- data/lib/sshkit/backends/version.rb +0 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: be306f18da04c7a8e854c11475a3b0ca747c14089a2b78ddba0e51558f4a9b24
|
4
|
+
data.tar.gz: e58b737fb4e881a7c24b0ad183fa22fc7ec06fd8330e9e38dee4f6b6e1212858
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f43eaad6ef181a49044ed21c4263cb28795f0427a27d50eb0736679c16fddb91a69543e7358400c4caeef2805ec31380547cd08b7891a855436e9ff00766f738
|
7
|
+
data.tar.gz: 0e6a4c1e06706b511cf0d87ac3b105757d3b6b395ccd3f580d31e618178222dccce2c0c8702705bcbc37a980d10cf64fb607be451ac53b05df07934c42d51145
|
data/.circleci/config.yml
CHANGED
@@ -1,14 +1,61 @@
|
|
1
1
|
version: 2
|
2
2
|
|
3
|
+
rubygems-login: &rubygems-login
|
4
|
+
run:
|
5
|
+
name: Login to RubyGems
|
6
|
+
command: |
|
7
|
+
mkdir ~/.gem
|
8
|
+
echo ":rubygems_api_key: $RUBYGEMS_API_KEY" > ~/.gem/credentials
|
9
|
+
chmod 0600 ~/.gem/credentials
|
10
|
+
|
11
|
+
install-git: &install-git
|
12
|
+
run: apk add --no-cache --no-progress git
|
13
|
+
|
3
14
|
defaults: &defaults
|
4
15
|
steps:
|
5
|
-
-
|
16
|
+
- *install-git
|
6
17
|
- checkout
|
7
18
|
- run: bundle check --path=vendor/bundle || bundle install --path=vendor/bundle
|
8
19
|
- run: bundle exec rake test
|
9
20
|
working_directory: ~/sshkit-backends-netssh_global
|
10
21
|
|
22
|
+
default-deploys: &default-deploys
|
23
|
+
docker:
|
24
|
+
- image: ruby:alpine
|
25
|
+
working_directory: ~/sshkit-backends-netssh_global
|
26
|
+
|
11
27
|
jobs:
|
28
|
+
deploy-gem:
|
29
|
+
<<: *default-deploys
|
30
|
+
steps:
|
31
|
+
- *install-git
|
32
|
+
- checkout
|
33
|
+
- *rubygems-login
|
34
|
+
- run:
|
35
|
+
name: Build gem
|
36
|
+
command: gem build "$CIRCLE_PROJECT_REPONAME".gemspec
|
37
|
+
- run:
|
38
|
+
name: Publish gem to RubyGems
|
39
|
+
command: |
|
40
|
+
package=$(ls -t1 "$CIRCLE_PROJECT_REPONAME"*.gem | head -1)
|
41
|
+
gem push "$CIRCLE_PROJECT_REPONAME"-"$(echo $CIRCLE_TAG | sed -e 's/v//')".gem
|
42
|
+
deploy-pre-release-gem:
|
43
|
+
<<: *default-deploys
|
44
|
+
steps:
|
45
|
+
- *install-git
|
46
|
+
- checkout
|
47
|
+
- *rubygems-login
|
48
|
+
- run:
|
49
|
+
name: Install gem-versioner
|
50
|
+
command: gem install gem-versioner
|
51
|
+
- run:
|
52
|
+
name: Build gem
|
53
|
+
command: PRE_RELEASE="$CIRCLE_BRANCH" gem build "$CIRCLE_PROJECT_REPONAME".gemspec
|
54
|
+
- run:
|
55
|
+
name: Push pre-release gem to RubyGems
|
56
|
+
command: |
|
57
|
+
package=$(ls -t1 "$CIRCLE_PROJECT_REPONAME"*.gem | head -1)
|
58
|
+
gem push "$package"
|
12
59
|
test-ruby-2.2:
|
13
60
|
<<: *defaults
|
14
61
|
docker:
|
@@ -28,9 +75,43 @@ jobs:
|
|
28
75
|
|
29
76
|
workflows:
|
30
77
|
version: 2
|
31
|
-
test-
|
78
|
+
test-then-release-gem:
|
32
79
|
jobs:
|
33
|
-
- test-ruby-2.2
|
34
|
-
|
35
|
-
|
36
|
-
|
80
|
+
- test-ruby-2.2:
|
81
|
+
filters:
|
82
|
+
tags:
|
83
|
+
only: /^v\d+\.\d+\.\d\+/
|
84
|
+
- test-ruby-2.3:
|
85
|
+
filters:
|
86
|
+
tags:
|
87
|
+
only: /^v\d+\.\d+\.\d\+/
|
88
|
+
- test-ruby-2.4:
|
89
|
+
filters:
|
90
|
+
tags:
|
91
|
+
only: /^v\d+\.\d+\.\d\+/
|
92
|
+
- test-ruby-2.5:
|
93
|
+
filters:
|
94
|
+
tags:
|
95
|
+
only: /^v\d+\.\d+\.\d\+/
|
96
|
+
- deploy-gem:
|
97
|
+
context: org-global
|
98
|
+
filters:
|
99
|
+
branches:
|
100
|
+
ignore: /.*/
|
101
|
+
tags:
|
102
|
+
only: /^v\d+\.\d+\.\d\+/
|
103
|
+
requires:
|
104
|
+
- test-ruby-2.2
|
105
|
+
- test-ruby-2.3
|
106
|
+
- test-ruby-2.4
|
107
|
+
- test-ruby-2.5
|
108
|
+
- deploy-pre-release-gem:
|
109
|
+
context: org-global
|
110
|
+
filters:
|
111
|
+
branches:
|
112
|
+
ignore: master
|
113
|
+
requires:
|
114
|
+
- test-ruby-2.2
|
115
|
+
- test-ruby-2.3
|
116
|
+
- test-ruby-2.4
|
117
|
+
- test-ruby-2.5
|
@@ -1,6 +1,4 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
-
require File.expand_path('../lib/sshkit/backends/version', __FILE__)
|
3
|
-
|
4
2
|
Gem::Specification.new do |gem|
|
5
3
|
|
6
4
|
gem.authors = ["Theo Cushion", "Dennis Ideler"]
|
@@ -9,7 +7,7 @@ Gem::Specification.new do |gem|
|
|
9
7
|
gem.description = %q{A backend to be used in conjunction with Capistrano 3
|
10
8
|
and SSHKit to allow deployment on setups where users login as one identity and
|
11
9
|
then need to sudo to a different identity for each command.}
|
12
|
-
gem.homepage = "
|
10
|
+
gem.homepage = "https://github.com/FundingCircle/sshkit-backends-netssh_global"
|
13
11
|
gem.license = "BSD-3-Clause"
|
14
12
|
|
15
13
|
gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
@@ -17,7 +15,7 @@ then need to sudo to a different identity for each command.}
|
|
17
15
|
gem.test_files = `git ls-files -- test/*`.split("\n")
|
18
16
|
gem.name = "sshkit-backends-netssh_global"
|
19
17
|
gem.require_paths = ["lib"]
|
20
|
-
gem.version =
|
18
|
+
gem.version = '0.2.1'
|
21
19
|
|
22
20
|
gem.add_runtime_dependency('sshkit', '~> 1.11')
|
23
21
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sshkit-backends-netssh_global
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1.pre.circleci20.20180622180246
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Theo Cushion
|
@@ -106,7 +106,6 @@ files:
|
|
106
106
|
- Rakefile
|
107
107
|
- Vagrantfile
|
108
108
|
- lib/sshkit/backends/netssh_global.rb
|
109
|
-
- lib/sshkit/backends/version.rb
|
110
109
|
- lib/sshkit/command_sudo_ssh_forward.rb
|
111
110
|
- sshkit-backends-netssh_global.gemspec
|
112
111
|
- test/boxes.json
|
@@ -115,7 +114,7 @@ files:
|
|
115
114
|
- test/support/vagrant_wrapper.rb
|
116
115
|
- test/unit/backends/test_netssh_global.rb
|
117
116
|
- test/unit/test_command_sudo_ssh_forward.rb
|
118
|
-
homepage:
|
117
|
+
homepage: https://github.com/FundingCircle/sshkit-backends-netssh_global
|
119
118
|
licenses:
|
120
119
|
- BSD-3-Clause
|
121
120
|
metadata: {}
|
@@ -130,12 +129,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
130
129
|
version: '0'
|
131
130
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
132
131
|
requirements:
|
133
|
-
- - "
|
132
|
+
- - ">"
|
134
133
|
- !ruby/object:Gem::Version
|
135
|
-
version:
|
134
|
+
version: 1.3.1
|
136
135
|
requirements: []
|
137
136
|
rubyforge_project:
|
138
|
-
rubygems_version: 2.7.
|
137
|
+
rubygems_version: 2.7.7
|
139
138
|
signing_key:
|
140
139
|
specification_version: 4
|
141
140
|
summary: SSHKit backend for globally sudoing commands
|