flame_deploy_toys 0.4.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/README.md +3 -3
- data/lib/flame_deploy_toys/template.rb +4 -4
- data/lib/flame_deploy_toys/version.rb +1 -1
- metadata +23 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5309341b8fb0da8c3cf38e6b68173b6dcf6bc93da835b35e7ec06e84186ae5e9
|
4
|
+
data.tar.gz: aaae1a9d370eef87e24b3c4012a3614866d97a79bf4bf9599580af41479c29f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: de78c190f044951cddc0c2d51f6020f7fff1b8ee4fd365481c846c840a708132f83fd23f929574ec006c1621e4bc251ec8bf757b5d86213bf335efff10e89adb
|
7
|
+
data.tar.gz: 82ace4d66f7d4e133198356d6d2c5f189e2232bcf21b6cf6af47e3af1c83a6050cd16c54ffd2a6cfcd0845ad398e7c60101aaefc9815d0c563df772ecbdc2f6a
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,22 @@
|
|
2
2
|
|
3
3
|
## Unreleased
|
4
4
|
|
5
|
+
## 0.6.0 (2022-09-21)
|
6
|
+
|
7
|
+
* Remove default value for updating branch.
|
8
|
+
It can be `master`, `main`, `trunc`, etc.
|
9
|
+
Use current on server.
|
10
|
+
* Enable interactive shell for updating.
|
11
|
+
1. Load `.bashrc`.
|
12
|
+
2. It seems intuitive for possibilities like editing changed config files.
|
13
|
+
* Update development dependencies.
|
14
|
+
|
15
|
+
## 0.5.0 (2022-03-03)
|
16
|
+
|
17
|
+
* Drop Ruby 2.5 support.
|
18
|
+
* Add Ruby 3.1 for CI.
|
19
|
+
* Update dependencies.
|
20
|
+
|
5
21
|
## 0.4.0 (2021-10-29)
|
6
22
|
|
7
23
|
* Update dependencies.
|
data/README.md
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
# Flame Deploy Toys
|
2
2
|
|
3
3
|
[![Cirrus CI - Base Branch Build Status](https://img.shields.io/cirrus/github/AlexWayfer/flame_deploy_toys?style=flat-square)](https://cirrus-ci.com/github/AlexWayfer/flame_deploy_toys)
|
4
|
-
[![Codecov branch](https://img.shields.io/codecov/c/github/AlexWayfer/flame_deploy_toys/
|
4
|
+
[![Codecov branch](https://img.shields.io/codecov/c/github/AlexWayfer/flame_deploy_toys/main.svg?style=flat-square)](https://codecov.io/gh/AlexWayfer/flame_deploy_toys)
|
5
5
|
[![Code Climate](https://img.shields.io/codeclimate/maintainability/AlexWayfer/flame_deploy_toys.svg?style=flat-square)](https://codeclimate.com/github/AlexWayfer/flame_deploy_toys)
|
6
6
|
[![Depfu](https://img.shields.io/depfu/AlexWayfer/benchmark_toys?style=flat-square)](https://depfu.com/repos/github/AlexWayfer/flame_deploy_toys)
|
7
|
-
[![Inline docs](https://inch-ci.org/github/AlexWayfer/flame_deploy_toys.svg?branch=
|
8
|
-
[![license](https://img.shields.io/github/license/AlexWayfer/flame_deploy_toys.svg?style=flat-square)](https://github.com/AlexWayfer/flame_deploy_toys/blob/
|
7
|
+
[![Inline docs](https://inch-ci.org/github/AlexWayfer/flame_deploy_toys.svg?branch=main)](https://inch-ci.org/github/AlexWayfer/flame_deploy_toys)
|
8
|
+
[![license](https://img.shields.io/github/license/AlexWayfer/flame_deploy_toys.svg?style=flat-square)](https://github.com/AlexWayfer/flame_deploy_toys/blob/main/LICENSE.txt)
|
9
9
|
[![Gem](https://img.shields.io/gem/v/flame_deploy_toys.svg?style=flat-square)](https://rubygems.org/gems/flame_deploy_toys)
|
10
10
|
|
11
11
|
Toys template for deploying [Flame](https://github.com/AlexWayfer/flame)
|
@@ -21,13 +21,13 @@ module FlameDeployToys
|
|
21
21
|
Command for deploy code from git to servers
|
22
22
|
|
23
23
|
Example:
|
24
|
-
Update from git
|
24
|
+
Update from default git branch
|
25
25
|
toys deploy
|
26
|
-
Update from git
|
26
|
+
Update from specific git branch
|
27
27
|
toys deploy development
|
28
28
|
DESC
|
29
29
|
|
30
|
-
optional_arg :branch, default:
|
30
|
+
optional_arg :branch, default: nil
|
31
31
|
|
32
32
|
include :exec, exit_on_nonzero_status: true, log_level: Logger::UNKNOWN
|
33
33
|
|
@@ -40,7 +40,7 @@ module FlameDeployToys
|
|
40
40
|
|
41
41
|
servers.each do |server|
|
42
42
|
update_command = "cd #{server[:path]} && exe/update.sh #{branch}"
|
43
|
-
sh "ssh -t #{server[:ssh]} 'bash --login -c \"#{update_command}\"'"
|
43
|
+
sh "ssh -t #{server[:ssh]} 'bash --login -i -c \"#{update_command}\"'"
|
44
44
|
end
|
45
45
|
end
|
46
46
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flame_deploy_toys
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Popov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-09-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: toys-core
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.13.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
26
|
+
version: 0.13.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: pry-byebug
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -58,28 +58,28 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.
|
61
|
+
version: 0.12.1
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 0.
|
68
|
+
version: 0.12.1
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: toys
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 0.
|
75
|
+
version: 0.13.0
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 0.
|
82
|
+
version: 0.13.0
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: codecov
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -128,14 +128,14 @@ dependencies:
|
|
128
128
|
requirements:
|
129
129
|
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version:
|
131
|
+
version: 1.36.0
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version:
|
138
|
+
version: 1.36.0
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: rubocop-performance
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
@@ -179,13 +179,17 @@ files:
|
|
179
179
|
- lib/flame_deploy_toys.rb
|
180
180
|
- lib/flame_deploy_toys/template.rb
|
181
181
|
- lib/flame_deploy_toys/version.rb
|
182
|
-
homepage: https://github.com/
|
182
|
+
homepage: https://github.com/Wayfer/flame_deploy_toys
|
183
183
|
licenses:
|
184
184
|
- MIT
|
185
185
|
metadata:
|
186
|
-
|
187
|
-
|
188
|
-
|
186
|
+
bug_tracker_uri: https://github.com/Wayfer/flame_deploy_toys/issues
|
187
|
+
changelog_uri: https://github.com/Wayfer/flame_deploy_toys/blob/v0.6.0/CHANGELOG.md
|
188
|
+
documentation_uri: http://www.rubydoc.info/gems/flame_deploy_toys/0.6.0
|
189
|
+
homepage_uri: https://github.com/Wayfer/flame_deploy_toys
|
190
|
+
rubygems_mfa_required: 'true'
|
191
|
+
source_code_uri: https://github.com/Wayfer/flame_deploy_toys
|
192
|
+
wiki_uri: https://github.com/Wayfer/flame_deploy_toys/wiki
|
189
193
|
post_install_message:
|
190
194
|
rdoc_options: []
|
191
195
|
require_paths:
|
@@ -194,14 +198,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
194
198
|
requirements:
|
195
199
|
- - ">="
|
196
200
|
- !ruby/object:Gem::Version
|
197
|
-
version: '2.
|
201
|
+
version: '2.6'
|
202
|
+
- - "<"
|
203
|
+
- !ruby/object:Gem::Version
|
204
|
+
version: '4'
|
198
205
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
199
206
|
requirements:
|
200
207
|
- - ">="
|
201
208
|
- !ruby/object:Gem::Version
|
202
209
|
version: '0'
|
203
210
|
requirements: []
|
204
|
-
rubygems_version: 3.
|
211
|
+
rubygems_version: 3.3.7
|
205
212
|
signing_key:
|
206
213
|
specification_version: 4
|
207
214
|
summary: Toys template for deploying Flame application.
|