r10k 4.0.0 → 4.0.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 +4 -4
- data/.github/workflows/docker.yml +1 -1
- data/CHANGELOG.mkd +4 -0
- data/README.mkd +1 -1
- data/integration/tests/basic_functionality/negative/negative_bad_proxy.rb +1 -1
- data/integration/tests/basic_functionality/proxy_specified_in_configuration.rb +1 -1
- data/integration/tests/basic_functionality/proxy_with_puppetfile.rb +1 -1
- data/integration/tests/basic_functionality/rugged_git_provider_with_ssh.rb +3 -3
- data/integration/tests/basic_functionality/rugged_git_provider_without_ssh.rb +3 -3
- data/integration/tests/git_source/git_source_git.rb +1 -1
- data/integration/tests/user_scenario/basic_workflow/negative/neg_disk_full.rb +1 -1
- data/integration/tests/user_scenario/basic_workflow/single_env_10000_files.rb +1 -1
- data/integration/tests/user_scenario/basic_workflow/single_env_large_files.rb +1 -1
- data/lib/r10k/git/shellgit/working_repository.rb +1 -1
- data/lib/r10k/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 05d094f24e1da891308bda6d4589351f1c2e1ba16b1efd8c97c5611414df0ee8
|
4
|
+
data.tar.gz: eaa7e2f7843cbb445a4619fdd30c923a289838a5884c07a19c4da4f2f5912293
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: afa0f4daefb75c0b8c954b27b94a53f634616d7339e18d55f96ad19b26b3e486feee0b8bf41ee2801b516451412b0d5ea8d7a81444adb03909b364b243cca121
|
7
|
+
data.tar.gz: b49551e056b22522ffc8c7778559059830aec6278cec7b37e7f4fc990be57f547a2922306e79a3b24f9bf5d8b887d8cb6c75bafcd357bb632a04ca6d8683ea14
|
@@ -29,7 +29,7 @@ jobs:
|
|
29
29
|
- run: gem install bundler
|
30
30
|
- uses: actions/checkout@v3
|
31
31
|
- name: Set up QEMU
|
32
|
-
uses: docker/setup-qemu-action@
|
32
|
+
uses: docker/setup-qemu-action@v3
|
33
33
|
- name: Set up Docker Buildx
|
34
34
|
uses: docker/setup-buildx-action@v2
|
35
35
|
- name: Build container
|
data/CHANGELOG.mkd
CHANGED
data/README.mkd
CHANGED
@@ -78,7 +78,7 @@ a git repository using Bundler for dependencies:
|
|
78
78
|
|
79
79
|
### Arch Linux
|
80
80
|
|
81
|
-
Arch Linux provides a [system package](https://archlinux.org/packages/
|
81
|
+
Arch Linux provides a [system package](https://archlinux.org/packages/extra/any/r10k/) for r10k.
|
82
82
|
This is built against the [system Ruby](https://archlinux.org/packages/extra/x86_64/ruby/) (which is Ruby 3.0.2 as of 2021-08-03).
|
83
83
|
This package is maintained by [Tim Meusel](https://github.com/bastelfreak).
|
84
84
|
|
@@ -6,7 +6,7 @@ test_name 'RK-110 - C87652 - Specify the proxy in the r10k.yaml'
|
|
6
6
|
confine(:to, :platform => ['el', 'sles'])
|
7
7
|
|
8
8
|
#Init
|
9
|
-
master_platform = fact_on(master, '
|
9
|
+
master_platform = fact_on(master, 'os.family')
|
10
10
|
env_path = on(master, puppet('config print environmentpath')).stdout.rstrip
|
11
11
|
r10k_fqp = get_r10k_fqp(master)
|
12
12
|
|
@@ -6,7 +6,7 @@ test_name 'RK-110 - C87651 - Specify a proxy in an environment variable'
|
|
6
6
|
confine(:to, :platform => ['el', 'sles'])
|
7
7
|
|
8
8
|
#Init
|
9
|
-
master_platform = fact_on(master, '
|
9
|
+
master_platform = fact_on(master, 'os.family')
|
10
10
|
r10k_fqp = get_r10k_fqp(master)
|
11
11
|
|
12
12
|
case master_platform
|
@@ -10,12 +10,12 @@ confine(:to, :platform => ['el', 'ubuntu', 'sles'])
|
|
10
10
|
|
11
11
|
if ENV['GIT_PROVIDER'] == 'shellgit'
|
12
12
|
skip_test('Skipping test because removing Git from the system affects other "shellgit" tests.')
|
13
|
-
elsif fact_on(master, '
|
13
|
+
elsif fact_on(master, 'os.family') == 'RedHat' and fact_on(master, "os.release.major").to_i < 6
|
14
14
|
skip_test('This version of EL is not supported by this test case!')
|
15
15
|
end
|
16
16
|
|
17
17
|
#Init
|
18
|
-
master_platform = fact_on(master, '
|
18
|
+
master_platform = fact_on(master, 'os.family')
|
19
19
|
master_certname = on(master, puppet('config', 'print', 'certname')).stdout.rstrip
|
20
20
|
env_path = on(master, puppet('config print environmentpath')).stdout.rstrip
|
21
21
|
r10k_fqp = get_r10k_fqp(master)
|
@@ -87,7 +87,7 @@ step 'Remove "git" Package from System'
|
|
87
87
|
if master_platform == 'RedHat'
|
88
88
|
on(master, 'yum remove -y git')
|
89
89
|
elsif master_platform == 'Debian'
|
90
|
-
if fact_on(master, "
|
90
|
+
if fact_on(master, "os.release.major") == '10.04'
|
91
91
|
on(master, 'apt-get remove -y git-core')
|
92
92
|
else
|
93
93
|
on(master, 'apt-get remove -y git')
|
@@ -8,12 +8,12 @@ confine(:to, :platform => ['el', 'ubuntu', 'sles'])
|
|
8
8
|
|
9
9
|
if ENV['GIT_PROVIDER'] == 'shellgit'
|
10
10
|
skip_test('Skipping test because removing Git from the system affects other "shellgit" tests.')
|
11
|
-
elsif fact_on(master, '
|
11
|
+
elsif fact_on(master, 'os.family') == 'RedHat' and fact_on(master, "os.release.major").to_i < 6
|
12
12
|
skip_test('This version of EL is not supported by this test case!')
|
13
13
|
end
|
14
14
|
|
15
15
|
#Init
|
16
|
-
master_platform = fact_on(master, '
|
16
|
+
master_platform = fact_on(master, 'os.family')
|
17
17
|
master_certname = on(master, puppet('config', 'print', 'certname')).stdout.rstrip
|
18
18
|
env_path = on(master, puppet('config print environmentpath')).stdout.rstrip
|
19
19
|
r10k_fqp = get_r10k_fqp(master)
|
@@ -86,7 +86,7 @@ step 'Remove "git" Package from System'
|
|
86
86
|
if master_platform == 'RedHat'
|
87
87
|
on(master, 'yum remove -y git')
|
88
88
|
elsif master_platform == 'Debian'
|
89
|
-
if fact_on(master, "
|
89
|
+
if fact_on(master, "os.release.major") == '10.04'
|
90
90
|
on(master, 'apt-get remove -y git-core')
|
91
91
|
else
|
92
92
|
on(master, 'apt-get remove -y git')
|
@@ -5,7 +5,7 @@ test_name 'CODEMGMT-92 - C59235 - Single Git Source Using "GIT" Transport Protoc
|
|
5
5
|
|
6
6
|
confine(:to, :platform => 'el')
|
7
7
|
|
8
|
-
if fact_on(master, "
|
8
|
+
if fact_on(master, "os.release.major").to_i < 6 || fact_on(master, "os.release.major").to_i > 8
|
9
9
|
skip_test('This version of EL is not supported by this test case!')
|
10
10
|
end
|
11
11
|
|
@@ -2,7 +2,7 @@ require 'git_utils'
|
|
2
2
|
require 'r10k_utils'
|
3
3
|
test_name 'CODEMGMT-86 - C59265 - Attempt to Deploy Environment to Disk with Insufficient Free Space'
|
4
4
|
|
5
|
-
if fact_on(master, '
|
5
|
+
if fact_on(master, 'os.family') == 'RedHat' and fact_on(master, "os.release.major").to_i < 6
|
6
6
|
skip_test('This version of EL is not supported by this test case!')
|
7
7
|
end
|
8
8
|
|
@@ -3,7 +3,7 @@ require 'r10k_utils'
|
|
3
3
|
require 'master_manipulator'
|
4
4
|
test_name 'CODEMGMT-62 - C59239 - Single Environment with 10,000 Files'
|
5
5
|
|
6
|
-
if fact_on(master, '
|
6
|
+
if fact_on(master, 'os.family') == 'RedHat' and fact_on(master, "os.release.major").to_i < 6
|
7
7
|
skip_test('This version of EL is not supported by this test case!')
|
8
8
|
end
|
9
9
|
|
@@ -3,7 +3,7 @@ require 'r10k_utils'
|
|
3
3
|
require 'master_manipulator'
|
4
4
|
test_name 'CODEMGMT-62 - C59242 - Single Environment with Large Binary Files'
|
5
5
|
|
6
|
-
if fact_on(master, '
|
6
|
+
if fact_on(master, 'os.family') == 'RedHat' and fact_on(master, "os.release.major").to_i < 6
|
7
7
|
skip_test('This version of EL is not supported by this test case!')
|
8
8
|
end
|
9
9
|
|
@@ -101,7 +101,7 @@ class R10K::Git::ShellGit::WorkingRepository < R10K::Git::ShellGit::BaseReposito
|
|
101
101
|
logger.debug(_("Found local modifications in %{file_path}" % {file_path: File.join(@path, file)}))
|
102
102
|
|
103
103
|
# Do this in a block so that the extra subprocess only gets invoked when needed.
|
104
|
-
logger.debug1 { git(['diff-index', '-p', 'HEAD', file], :path => @path.to_s, :raise_on_fail => false).stdout }
|
104
|
+
logger.debug1 { git(['diff-index', '-p', 'HEAD', '--', file], :path => @path.to_s, :raise_on_fail => false).stdout }
|
105
105
|
end
|
106
106
|
|
107
107
|
return dirty_files.size > 0
|
data/lib/r10k/version.rb
CHANGED
@@ -2,5 +2,5 @@ module R10K
|
|
2
2
|
# When updating to a new major (X) or minor (Y) version, include `#major` or
|
3
3
|
# `#minor` (respectively) in your commit message to trigger the appropriate
|
4
4
|
# release. Otherwise, a new patch (Z) version will be released.
|
5
|
-
VERSION = '4.0.
|
5
|
+
VERSION = '4.0.1'
|
6
6
|
end
|
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: 4.0.
|
4
|
+
version: 4.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adrien Thebo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-11-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: colored2
|