r10k 3.0.1 → 3.0.2
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: 6281d4bfac7643c0d48ac1b282c7d6f8e957c8a9
|
|
4
|
+
data.tar.gz: a72916e0b6cad77bd8e4936c3aa2ead9c2841656
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6d39ac8d7dac530a97728cfcf264d5f2e17f5649331b9638b3b11ec599f2f5701b0b7a6567f6994af082880e55d265fda84138439bc4539abe2a59045f89cdfe
|
|
7
|
+
data.tar.gz: e91d47a1ebe85a73731b8b9068931f17b9358ce523d6519c81eaa16cc4ff27b014127e78a2a558c5892e7cc1cce21f51984110ca53fd73d81641d8f653388b4b
|
data/lib/r10k/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: r10k
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Adrien Thebo
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-09-
|
|
11
|
+
date: 2018-09-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: colored
|
|
@@ -238,8 +238,6 @@ files:
|
|
|
238
238
|
- integration/tests/basic_functionality/rugged_git_provider_without_ssh.rb
|
|
239
239
|
- integration/tests/command_line/deploy_env_without_mod_update.rb
|
|
240
240
|
- integration/tests/command_line/negative/neg_deploy_env_with_module_update.rb
|
|
241
|
-
- integration/tests/command_line/negative/neg_invalid_cli_dep_flag.rb
|
|
242
|
-
- integration/tests/command_line/negative/neg_invalid_cli_env_flag.rb
|
|
243
241
|
- integration/tests/command_line/negative/neg_invalid_cmd_line_arg.rb
|
|
244
242
|
- integration/tests/git_source/HTTP_proxy_and_git_source.rb
|
|
245
243
|
- integration/tests/git_source/git_source_git.rb
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
require 'git_utils'
|
|
2
|
-
require 'r10k_utils'
|
|
3
|
-
require 'master_manipulator'
|
|
4
|
-
test_name 'CODEMGMT-90 - C63461 - Specify Invalid Command-line Deployment Flag'
|
|
5
|
-
|
|
6
|
-
#Init
|
|
7
|
-
git_environments_path = '/root/environments'
|
|
8
|
-
last_commit = git_last_commit(master, git_environments_path)
|
|
9
|
-
r10k_fqp = get_r10k_fqp(master)
|
|
10
|
-
|
|
11
|
-
#Verification
|
|
12
|
-
error_message_regex = /deploy: illegal option/
|
|
13
|
-
|
|
14
|
-
#Teardown
|
|
15
|
-
teardown do
|
|
16
|
-
clean_up_r10k(master, last_commit, git_environments_path)
|
|
17
|
-
end
|
|
18
|
-
|
|
19
|
-
#Tests
|
|
20
|
-
step 'Attempt to Deploy via r10k'
|
|
21
|
-
on(master, "#{r10k_fqp} deploy -w environment -v", :acceptable_exit_codes => 1) do |result|
|
|
22
|
-
assert_match(error_message_regex, result.stderr, 'Expected message not found!')
|
|
23
|
-
end
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
require 'git_utils'
|
|
2
|
-
require 'r10k_utils'
|
|
3
|
-
require 'master_manipulator'
|
|
4
|
-
test_name 'CODEMGMT-90 - C63462 - Specify Invalid Command-line Environment Flag'
|
|
5
|
-
|
|
6
|
-
#Init
|
|
7
|
-
git_environments_path = '/root/environments'
|
|
8
|
-
last_commit = git_last_commit(master, git_environments_path)
|
|
9
|
-
r10k_fqp = get_r10k_fqp(master)
|
|
10
|
-
|
|
11
|
-
#Verification
|
|
12
|
-
error_message_regex = /environment: illegal option/
|
|
13
|
-
|
|
14
|
-
#Teardown
|
|
15
|
-
teardown do
|
|
16
|
-
clean_up_r10k(master, last_commit, git_environments_path)
|
|
17
|
-
end
|
|
18
|
-
|
|
19
|
-
#Tests
|
|
20
|
-
step 'Attempt to Deploy via r10k'
|
|
21
|
-
on(master, "#{r10k_fqp} deploy environment -x", :acceptable_exit_codes => 1) do |result|
|
|
22
|
-
assert_match(error_message_regex, result.stderr, 'Expected message not found!')
|
|
23
|
-
end
|