itamae-mitsurin 0.22 → 0.23
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/lib/itamae-mitsurin/handler/json.rb +2 -0
- data/lib/itamae-mitsurin/mitsurin/cli.rb +2 -2
- data/lib/itamae-mitsurin/mitsurin/creators/templates/project/logs/config/itamae_task.config +8 -0
- data/lib/itamae-mitsurin/mitsurin/creators/templates/project/logs/config/itamae_with_git_task.config +8 -0
- data/lib/itamae-mitsurin/mitsurin/creators/templates/project/logs/config/local_task.config +8 -0
- data/lib/itamae-mitsurin/mitsurin/itamae_task.rb +1 -0
- data/lib/itamae-mitsurin/mitsurin/itamae_with_git_task.rb +1 -0
- data/lib/itamae-mitsurin/mitsurin/local_task.rb +1 -0
- data/lib/itamae-mitsurin/mitsurin/task_base.rb +4 -0
- data/lib/itamae-mitsurin/version.txt +1 -1
- metadata +5 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b3849e8f03df3239958f48d33694be845ae244c1
|
|
4
|
+
data.tar.gz: 853598ce929d2bcef125efbaa954983b0d08ae60
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 926a3e4d8d0555d9d27d61ba5afde41b78ef85498c49c40dc6f97c34719e0306f39c41b5f48f1b62beaf633c1c1e069ab971526ded0dc27d76144fd059bfa438
|
|
7
|
+
data.tar.gz: 6c44f688502a6183a9a9072230921f2590d504c5afc971ee8056c9e48b05f08412660de913b4d372ab83ab89c93210438c19491b24c103b1f510b8652c7a1a27
|
|
@@ -11,7 +11,7 @@ module ItamaeMitsurin
|
|
|
11
11
|
|
|
12
12
|
desc "version", "Print version"
|
|
13
13
|
def version
|
|
14
|
-
puts "
|
|
14
|
+
puts "manaita(itamae-mitsurin) v#{ItamaeMitsurin::VERSION}"
|
|
15
15
|
end
|
|
16
16
|
|
|
17
17
|
desc "init", "Create a new project"
|
|
@@ -46,7 +46,7 @@ module ItamaeMitsurin
|
|
|
46
46
|
private
|
|
47
47
|
def validate_create_target!(command, target)
|
|
48
48
|
unless CREATE_TARGETS.include?(target)
|
|
49
|
-
msg = %Q!ERROR: "
|
|
49
|
+
msg = %Q!ERROR: "manaita #{command}" was called with "#{target}" !
|
|
50
50
|
msg << "but expected to be in #{CREATE_TARGETS.inspect}"
|
|
51
51
|
fail InvocationError, msg
|
|
52
52
|
end
|
|
@@ -105,6 +105,7 @@ module ItamaeMitsurin
|
|
|
105
105
|
command << " --ask-password" unless ssh_password.nil?
|
|
106
106
|
command << " --dry-run" if ENV['dry-run'] == "true"
|
|
107
107
|
command << " -l debug" if ENV['debug'] == "true"
|
|
108
|
+
command << " -c logs/itamae_task.config"
|
|
108
109
|
|
|
109
110
|
# recipe load to_command
|
|
110
111
|
command_recipe = []
|
|
@@ -122,6 +122,7 @@ module ItamaeMitsurin
|
|
|
122
122
|
command << " --ask-password" unless ssh_password.nil?
|
|
123
123
|
command << " --dry-run" if ENV['dry-run'] == "true"
|
|
124
124
|
command << " -l debug" if ENV['debug'] == "true"
|
|
125
|
+
command << " -c logs/itamae_with_git_task.config"
|
|
125
126
|
|
|
126
127
|
# recipe load to_command
|
|
127
128
|
command_recipe = []
|
|
@@ -100,6 +100,7 @@ module ItamaeMitsurin
|
|
|
100
100
|
command << " --shell=bash"
|
|
101
101
|
command << " --dry-run" if ENV['dry-run'] == "true"
|
|
102
102
|
command << " -l debug" if ENV['debug'] == "true"
|
|
103
|
+
command << " -c logs/local_task.config"
|
|
103
104
|
|
|
104
105
|
# recipe load to_command
|
|
105
106
|
command_recipe = []
|
|
@@ -1 +1 @@
|
|
|
1
|
-
0.
|
|
1
|
+
0.23
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: itamae-mitsurin
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: '0.
|
|
4
|
+
version: '0.23'
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Akihiro Kamiyama
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-04-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: thor
|
|
@@ -311,6 +311,9 @@ files:
|
|
|
311
311
|
- lib/itamae-mitsurin/mitsurin/creators/templates/project/environments/nothing.json
|
|
312
312
|
- lib/itamae-mitsurin/mitsurin/creators/templates/project/environments/sample.json
|
|
313
313
|
- lib/itamae-mitsurin/mitsurin/creators/templates/project/keys/.keep
|
|
314
|
+
- lib/itamae-mitsurin/mitsurin/creators/templates/project/logs/config/itamae_task.config
|
|
315
|
+
- lib/itamae-mitsurin/mitsurin/creators/templates/project/logs/config/itamae_with_git_task.config
|
|
316
|
+
- lib/itamae-mitsurin/mitsurin/creators/templates/project/logs/config/local_task.config
|
|
314
317
|
- lib/itamae-mitsurin/mitsurin/creators/templates/project/nodes/.keep
|
|
315
318
|
- lib/itamae-mitsurin/mitsurin/creators/templates/project/nodes/sample01.json
|
|
316
319
|
- lib/itamae-mitsurin/mitsurin/creators/templates/project/roles/.keep
|