luban 0.9.0 → 0.9.1
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9701a06e113310215db8b94c6442f2cf7ee24aa3
|
4
|
+
data.tar.gz: 12c5e3b3e7398ec05865acccc5eb573e5f0f5e83
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e7f2c996862d99601820789029bdfa25d960ca6a71528e23dd65fc8f5cfa9d572a1fd45b2b8edc14773088f377569f389c0aad8168e6e9324f9606c1a9f66afd
|
7
|
+
data.tar.gz: 4a845d487303b877c5a10af520d0886300fffaac6f5b12acd249b11f15a78ea578c8697e6c56e8154b53357781d1fa2dc4cbdb08aae2648ecb67a00fb810954f
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,15 @@
|
|
1
1
|
# Change log
|
2
2
|
|
3
|
+
## Version 0.9.1 (Oct 13, 2016)
|
4
|
+
|
5
|
+
New features:
|
6
|
+
* Setup password-less SSH connection to central archives server if it is provided
|
7
|
+
* From application servers to central archives server
|
8
|
+
* From deployment server to central archives server
|
9
|
+
|
10
|
+
Bug fixes:
|
11
|
+
* Ensure server set for a given role is updated when an existing server is assigned a new role
|
12
|
+
|
3
13
|
## Version 0.9.0 (Oct 12, 2016)
|
4
14
|
|
5
15
|
New features:
|
@@ -129,7 +129,10 @@ module Luban
|
|
129
129
|
|
130
130
|
def promptless_authen(args:, opts:)
|
131
131
|
opts = opts.merge(app: self, public_keys: Array(public_key!(args: args, opts: opts)))
|
132
|
-
opts
|
132
|
+
public_keys = promptless_authen!(args: args, opts: opts).collect { |r| r[:public_key] }
|
133
|
+
opts = opts.merge(roles: [scm_role, archive_role])
|
134
|
+
promptless_authen!(args: args, opts: opts)
|
135
|
+
opts = opts.merge(roles: [archive_role], public_keys: public_keys)
|
133
136
|
promptless_authen!(args: args, opts: opts)
|
134
137
|
end
|
135
138
|
dispatch_task :public_key!, to: :authenticator, as: :public_key, locally: true
|
@@ -119,6 +119,7 @@ module Luban
|
|
119
119
|
|
120
120
|
parameter :application
|
121
121
|
parameter :scm_role
|
122
|
+
parameter :archive_role
|
122
123
|
|
123
124
|
def env_name
|
124
125
|
@env_name ||= "#{stage}.#{project}/#{application}"
|
@@ -136,6 +137,7 @@ module Luban
|
|
136
137
|
|
137
138
|
def set_default_application_parameters
|
138
139
|
set_default :scm_role, :scm
|
140
|
+
set_default :archive_role, :archive
|
139
141
|
setup_default_application_config_finder
|
140
142
|
end
|
141
143
|
|