flame_deploy_toys 0.5.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 +10 -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 +6 -6
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,16 @@
|
|
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
|
+
|
5
15
|
## 0.5.0 (2022-03-03)
|
6
16
|
|
7
17
|
* Drop Ruby 2.5 support.
|
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: 2022-
|
11
|
+
date: 2022-09-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: toys-core
|
@@ -128,14 +128,14 @@ dependencies:
|
|
128
128
|
requirements:
|
129
129
|
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: 1.
|
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: 1.
|
138
|
+
version: 1.36.0
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: rubocop-performance
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
@@ -184,8 +184,8 @@ licenses:
|
|
184
184
|
- MIT
|
185
185
|
metadata:
|
186
186
|
bug_tracker_uri: https://github.com/Wayfer/flame_deploy_toys/issues
|
187
|
-
changelog_uri: https://github.com/Wayfer/flame_deploy_toys/blob/v0.
|
188
|
-
documentation_uri: http://www.rubydoc.info/gems/flame_deploy_toys/0.
|
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
189
|
homepage_uri: https://github.com/Wayfer/flame_deploy_toys
|
190
190
|
rubygems_mfa_required: 'true'
|
191
191
|
source_code_uri: https://github.com/Wayfer/flame_deploy_toys
|