indocker 0.1.18 → 0.3.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 +4 -4
- data/.ruby-version +1 -1
- data/Gemfile.lock +16 -16
- data/lib/indocker/artifacts/git.rb +3 -5
- data/lib/indocker/launchers/configuration_deployer.rb +5 -1
- data/lib/indocker/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8e526bf660134a83bdfca0bde3f3c55eabdd65048aaa9b5010f49e63c00bac36
|
|
4
|
+
data.tar.gz: 7ee83fa4d8784114390bc9abab7d29f5e9dbe24bde4573274f1dd6f95d627bf9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5b3f95e27d372a330e370dd8bae0740e7ec3e04f354128c13189b8a4494fc6fdb06bebf5222f6ac95f79e30d08e3c37f69a54e1ee0000287f111366762ab68ac
|
|
7
|
+
data.tar.gz: c556959cdf2eca0ce5a2ce95dec99a0498c052eb64af113b50d14705562a3aa860e3d87755e56f473e3a60c70191f87f8c6a5870af9b126e921e8d871b754c03
|
data/.ruby-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
3.1.2
|
data/Gemfile.lock
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
indocker (0.
|
|
4
|
+
indocker (0.3.0)
|
|
5
5
|
net-ssh
|
|
6
6
|
|
|
7
7
|
GEM
|
|
8
8
|
remote: https://rubygems.org/
|
|
9
9
|
specs:
|
|
10
10
|
coderay (1.1.3)
|
|
11
|
-
diff-lcs (1.
|
|
12
|
-
docile (1.
|
|
11
|
+
diff-lcs (1.5.0)
|
|
12
|
+
docile (1.4.0)
|
|
13
13
|
method_source (1.0.0)
|
|
14
14
|
net-ssh (7.0.1)
|
|
15
|
-
pry (0.
|
|
15
|
+
pry (0.14.1)
|
|
16
16
|
coderay (~> 1.1)
|
|
17
17
|
method_source (~> 1.0)
|
|
18
18
|
rake (12.3.3)
|
|
19
|
-
rspec (3.
|
|
20
|
-
rspec-core (~> 3.
|
|
21
|
-
rspec-expectations (~> 3.
|
|
22
|
-
rspec-mocks (~> 3.
|
|
23
|
-
rspec-core (3.
|
|
24
|
-
rspec-support (~> 3.
|
|
25
|
-
rspec-expectations (3.
|
|
19
|
+
rspec (3.12.0)
|
|
20
|
+
rspec-core (~> 3.12.0)
|
|
21
|
+
rspec-expectations (~> 3.12.0)
|
|
22
|
+
rspec-mocks (~> 3.12.0)
|
|
23
|
+
rspec-core (3.12.0)
|
|
24
|
+
rspec-support (~> 3.12.0)
|
|
25
|
+
rspec-expectations (3.12.0)
|
|
26
26
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
27
|
-
rspec-support (~> 3.
|
|
28
|
-
rspec-mocks (3.
|
|
27
|
+
rspec-support (~> 3.12.0)
|
|
28
|
+
rspec-mocks (3.12.0)
|
|
29
29
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
30
|
-
rspec-support (~> 3.
|
|
31
|
-
rspec-support (3.
|
|
30
|
+
rspec-support (~> 3.12.0)
|
|
31
|
+
rspec-support (3.12.0)
|
|
32
32
|
simplecov (0.18.5)
|
|
33
33
|
docile (~> 1.1)
|
|
34
34
|
simplecov-html (~> 0.11)
|
|
35
|
-
simplecov-html (0.12.
|
|
35
|
+
simplecov-html (0.12.3)
|
|
36
36
|
|
|
37
37
|
PLATFORMS
|
|
38
38
|
ruby
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
class Indocker::Artifacts::Git < Indocker::Artifacts::Base
|
|
2
|
-
attr_reader :name, :remote_name, :remote_url, :branch, :files
|
|
2
|
+
attr_reader :name, :remote_name, :remote_url, :branch, :files
|
|
3
3
|
|
|
4
|
-
def initialize(name:, remote_name:, remote_url:, branch:, files: [], source_path: nil, target_path: nil
|
|
4
|
+
def initialize(name:, remote_name:, remote_url:, branch:, files: [], source_path: nil, target_path: nil)
|
|
5
5
|
@name = name
|
|
6
6
|
@remote_name = remote_name
|
|
7
7
|
@remote_url = remote_url
|
|
8
8
|
@branch = branch
|
|
9
|
-
@ssh_key = ssh_key
|
|
10
9
|
|
|
11
10
|
@files = build_all_files(
|
|
12
11
|
files: files,
|
|
@@ -20,7 +19,6 @@ class Indocker::Artifacts::Git < Indocker::Artifacts::Base
|
|
|
20
19
|
remote_name: remote_name,
|
|
21
20
|
remote_url: remote_url,
|
|
22
21
|
branch: branch,
|
|
23
|
-
ssh_key: ssh_key,
|
|
24
22
|
clone_path: "/tmp/#{Indocker.configuration.name}/artifacts/git/#{project_name(remote_url)}/#{branch}"
|
|
25
23
|
)
|
|
26
24
|
end
|
|
@@ -36,4 +34,4 @@ class Indocker::Artifacts::Git < Indocker::Artifacts::Base
|
|
|
36
34
|
def build_source_path(path)
|
|
37
35
|
File.join(self.repository.clone_path, path)
|
|
38
36
|
end
|
|
39
|
-
end
|
|
37
|
+
end
|
|
@@ -104,7 +104,11 @@ class Indocker::Launchers::ConfigurationDeployer
|
|
|
104
104
|
|
|
105
105
|
Thread
|
|
106
106
|
.list
|
|
107
|
-
.each { |t|
|
|
107
|
+
.each { |t|
|
|
108
|
+
if t != Thread.current
|
|
109
|
+
t.join if !t.stop?
|
|
110
|
+
end
|
|
111
|
+
}
|
|
108
112
|
ensure
|
|
109
113
|
build_server_pool.close_sessions if build_server_pool
|
|
110
114
|
deployer.close_sessions if deployer
|
data/lib/indocker/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: indocker
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ruslan Gatiyatov
|
|
8
8
|
- Iskander Khaziev
|
|
9
|
-
autorequire:
|
|
9
|
+
autorequire:
|
|
10
10
|
bindir: exe
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2022-10-30 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: net-ssh
|
|
@@ -206,7 +206,7 @@ homepage: https://github.com/ArtStation/indocker
|
|
|
206
206
|
licenses:
|
|
207
207
|
- MIT
|
|
208
208
|
metadata: {}
|
|
209
|
-
post_install_message:
|
|
209
|
+
post_install_message:
|
|
210
210
|
rdoc_options: []
|
|
211
211
|
require_paths:
|
|
212
212
|
- lib
|
|
@@ -221,8 +221,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
221
221
|
- !ruby/object:Gem::Version
|
|
222
222
|
version: '0'
|
|
223
223
|
requirements: []
|
|
224
|
-
rubygems_version: 3.
|
|
225
|
-
signing_key:
|
|
224
|
+
rubygems_version: 3.3.7
|
|
225
|
+
signing_key:
|
|
226
226
|
specification_version: 4
|
|
227
227
|
summary: Docker Containers Deployment
|
|
228
228
|
test_files: []
|